#731: simfactory does not expand @MACHINE@ in the SubmitScript if submitted with option --submitscriipt ------------------------+--------------------------------------------------- Reporter: alibeck | Owner: eschnett Type: defect | Status: new Priority: major | Milestone: Component: SimFactory | Version: Keywords: | ------------------------+--------------------------------------------------- In the submitscript template for supermuc there is a line as
[snip] @SIMFACTORY@ run @SIMULATION_NAME@ --machine=@MACHINE@ --restart- id=@RESTART_ID@ @FROM_RESTART_COMMAND@ [snip]
This line is then expanded during submit e.g. to
[snip] /home/hpc/pr32pi/lu32vak/Cactus- Simfact2-NewRepos/Cactus/simfactory/bin/sim run test_queue_40 --machine=supermuc --restart-id=0 [snip]
If I add
--submitscript <scriptfile>
to sim submit, this line looks as follows:
[snip] /home/hpc/pr32pi/lu32vak/Cactus- Simfact2-NewRepos/Cactus/simfactory/bin/sim run test_queue_40 --machine=@MACHINE@ --restart-id=0 [snip]
The submission command in my case was:
[snip] simfactory/bin/sim submit test_queue_40 --parfile=par/static_tov.par --configuration aliremote --procs=40 --submitscript configs/aliremote/SubmitScript --machine=supermuc --walltime 2:00:00 [snip]
So even with giving the regular SubmitScript file name to the option --submitscript will cause this error