- removed comment
simfactory rev 1729 fails on lonestar
Hello all,
simfactory rev 1729 "Replace large files by hard links during cleanup" fails for me during submit on lonestar with:
Traceback (most recent call last): File "/work/00945/rhaas/Zelmani/simfactory/bin/../lib/sim.py", line 147, in ? main() File "/work/00945/rhaas/Zelmani/simfactory/bin/../lib/sim.py", line 143, in main CommandDispatch() File "/work/00945/rhaas/Zelmani/simfactory/bin/../lib/sim.py", line 105, in CommandDispatch module.main() File "/work/00945/rhaas/Zelmani/simfactory/lib/sim-manage.py", line 397, in main CommandDispatch() File "/work/00945/rhaas/Zelmani/simfactory/lib/sim-manage.py", line 376, in CommandDispatch exec("command_%s()" % command) File "<string>", line 1, in ? File "/work/00945/rhaas/Zelmani/simfactory/lib/sim-manage.py", line 213, in command_run restart.submitRun(simulationName, restart_id) File "/work/00945/rhaas/Zelmani/simfactory/lib/simrestart.py", line 952, in submitRun restart.finish() File "/work/00945/rhaas/Zelmani/simfactory/lib/simrestart.py", line 1629, in finish if not filecmp.cmp(path, oldpath, False): NameError: global name 'filecmp' is not defined
when it tries to execute:
/work/00945/rhaas/Zelmani/simfactory/bin/sim run sim --machine=lonestar --restart-id=13 --from-restart-id=12
Keyword:
Comments (4)
-
reporter -
- removed comment
Does adding "import filecmp" to simrestart.py help?
If not, we need to disable the respective code block until we find out what is going wrong on Lonestar.
-
- removed comment
I believe that adding this import statement corrects this problem. I could only test it in a stand-alone example, not with simfactory yet. However, I nevertheless committed this change.
-
- changed status to resolved
- removed comment
I believe this has corrected the problem.
- Log in to comment
this is tagged "major" because it caused a presubmitted set of runs to re-start running from t=0 after the first failure.