pysim fails to build a new configuration because of old data

Create issue
Issue #401 closed
Frank Löffler created an issue

I just tried 'sim build --thornlist=./thornlists/' and it failed:

Info: Simfactory command: /nics/d/home/knarf/utils/simfactory/bin/../lib/ "build" "--thornlist=./thornlists/" 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/", line 142, in ? main() File "/nics/d/home/knarf/utils/simfactory/bin/../lib/", line 130, in main restartlib.CleanupRestarts() File "/nics/d/home/knarf/utils/simfactory/lib/", line 165, in CleanupRestarts sim_create_time = restart.GetMarkTime("simulation") File "/nics/d/home/knarf/utils/simfactory/lib/", 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.


Comments (4)

  1. Ian Hinder
    • removed 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).

  2. Tanja Bode
    • 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).

  3. Log in to comment