Remote submission does not pass on required options

Create issue
Issue #115 closed
Ian Hinder created an issue

On my laptop, I execute a sim submit command with a --remotemachine argument and a --config argument. The --config argument does not get added to the remote command.

MacBook:llama ian$ sim2 --remotemachine damiana submit --config sim2 parfiles/cptest.par 4 1:00:00 DEBUG: Simfactory command: simfactory2/sim "--remotemachine" "damiana" "submit" "--config" "sim2" "parfiles/cptest.par" "4" "1:00:00" DEBUG: Version r992 The Simulation Factory: manage and submit cactus jobs

defs: /Users/ian/Cactus/llama/simfactory2/etc/defs.ini defs.local: /Users/ian/Cactus/llama/simfactory2/etc/defs.local.ini

Managing for remote machine: damiana Executing: /bin/bash -c "{ :; } && { :; } && ssh -Y ianhin@login-damiana.aei.mpg.de \"/bin/bash -c '{ :; } && /home/ianhin/Cactus/llama/simfactory2/sim submit "parfiles/cptest.par" "4" "1:00:00" '\""

Warning: No xauth data; using fake authentication data for X11 forwarding. DEBUG: Simfactory command: /home/ianhin/Cactus/llama/simfactory2/sim "submit" "parfiles/cptest.par" "4" "1:00:00" DEBUG: Version r950 The Simulation Factory: manage and submit cactus jobs

defs: /home/ianhin/Cactus/llama/simfactory2/etc/defs.ini defs.local: /home/ianhin/Cactus/llama/simfactory2/etc/defs.local.ini

Cactus Directory: /home/ianhin/Cactus/llama Current Working directory does not match Cactus sourcetree, changing to /home/ianhin/Cactus/llama SimEnvironment.COMMAND: submit Executing command: submit Parfile: parfiles/cptest.par Simulation Name: cptest Procs: 4 Walltime: 1:00:00 Warning: simulation "cptest" does not exist or is not readable Parameter file: /home/ianhin/Cactus/llama/parfiles/cptest.par Configuration name not specified -- using default configuration "sim" Configuration name not specified -- using default configuration "sim" Warning: empty submit script for configuration sim Error: empty/missing run script for configuration sim Error 256 occured while executing command "/bin/bash -c "{ :; } && { :; } && ssh -Y ianhin@login-damiana.aei.mpg.de \"/bin/bash -c '{ :; } && /home/ianhin/Cactus/llama/simfactory2/sim submit "parfiles/cptest.par" "4" "1:00:00" '\"""

Keyword:

Comments (2)

  1. anonymous
    • changed status to resolved
    • removed comment

    Firstly, I created a --config alias for --configuration. There is a new parameter in an option ini block called 'alias' that will make an option behave like another option, including storing the result of the option in the destination of the other option. Eg, --config=blah will store as if it was --configuration=blah.

    Secondly, I fixed this bug.

    The following command worked:

    bin/sim --remote=eric submit rr_test --parfile=/work/mwt/cactus/Cactus/simfactory/etc/parfiles/qc0-mclachlan.par --config=refact_test --walltime=4:00:00 --procs=16

  2. Log in to comment