-
Notifications
You must be signed in to change notification settings - Fork 10
Warning messages after running simulation in last version #37
Description
Hi Tom,
I had to reinstall rsocsim and just got the latest (1.8) version.
However, something has changed with the naming of the folder where the simulation_results are stored, after running.
Beforehand, it used to have the name of the supfile, and now that doesn't appear.
So, the folder is just named as "sim_results_" and the seed number, e.g. "sim_results_32806_"
I think that having the name of the sup file is important when running different simulations (e.g., for different countries or different settings, but the same seed)
This also leads to the following error message after running the simulation.
1] "Restore previous working dir: U:/SOCSIM/SOCSIM_Demokin"
NULL
Warning messages:
1: In file(logfilename, "r") :
cannot open file 'sim_results_Sweden_WPP.sup_32806_/logfile.log': No such file or directory
2: In value[3L] : Error while reading file
3: In value[3L] : sim_results_Sweden_WPP.sup_32806_/logfile.log
4: In value[3L] : Error during execution of simulation!
5: In file(logfilename, "r") : cannot open the connection
However, I checked the logfile, the .opop .omar and .pyr files and they are properly saved, but in sim_results_32806_/
So, this might give the impression that the simulation did not run, while it is a problem of the name of the folder where the simulation results are stored.
Otherwise, the read_opop and read_omar files will not work then because they require the supfile name.
If we put "", it will just get an additional _ in the name of the directory of the files. So, it also does not work.
Please, let me know if something is unclear.