- removed comment
pysim fails to build a new configuration because of old data
I just tried 'sim build --thornlist=./thornlists/Cactus.th' and it failed:
Info: Simfactory command: /nics/d/home/knarf/utils/simfactory/bin/../lib/sim.py "build" "--thornlist=./thornlists/Cactus.th" Info: Version 1318 The Simulation Factory: Manage Cactus simulations
Info: defs: /nics/d/home/knarf/utils/simfactory/etc/defs.ini Info: defs.local: /nics/d/home/knarf/utils/simfactory/etc/defs.local.ini Warning: properties.ini does not exist for simulation IOL1_CCT_whisky_tov_1_1 Traceback (most recent call last): File "/nics/d/home/knarf/utils/simfactory/bin/../lib/sim.py", line 142, in ? main() File "/nics/d/home/knarf/utils/simfactory/bin/../lib/sim.py", line 130, in main restartlib.CleanupRestarts() File "/nics/d/home/knarf/utils/simfactory/lib/restartlib.py", line 165, in CleanupRestarts sim_create_time = restart.GetMarkTime("simulation") File "/nics/d/home/knarf/utils/simfactory/lib/simrestart.py", line 65, in GetMarkTime for fptr in os.listdir(self.InternalDir): OSError: [Errno 2] No such file or directory: '/lustre/scratch/knarf/simulations/IOL1_CCT_whisky_tov_1_1/SIMFACTORY'
It should not fail to build because of old data - regardless of how that looks like.
Keyword:
Comments (4)
-
-
reporter - removed comment
Isn't this now the case and this ticket can be closed?
-
- changed status to resolved
- removed comment
I can't reproduce this with the current pysim. This was addressed by hinder in a patch a month ago (r1424).
-
- edited description
- changed status to closed
- Log in to comment
SimFactory should not be performing checks on simulations that are not referred to on the command line. We discussed this on the mailing list and I think it was agreed that (at least for the moment) the cleanup in "main" should be disabled (I'm assuming it is this cleanup that is triggering this problem).