Remote build broken

Create issue
Issue #249 closed
Erik Schnetter created an issue

I want to build a debug configuration remotely on Eric. This is the screen output I receive. It seems the argument of the --thornlist option is lost in some way.

Building debug configuration... [2011-01-28 19:59:56] Executing: ./simfactory/bin/sim --remote eric build --reconfig --debug --opti onlist=queenbee-mvapich2.cfg --submitscript=queenbee-mvapich2.sub --runscript=qu --thornlist=manifest/ DEBUG: Simfactory command: ./simfactory/bin/../lib/ "--remote" "eric" "bui ld" "--reconfig" "--debug" "--optionlist=queenbee-mvapich2.cfg" "--submitscript= queenbee-mvapich2.sub" "" "--thornlist=manifest /" DEBUG: Version exported The Simulation Factory: Manage Cactus simulations

Info: defs: /home/eschnett/EinsteinToolkit-hg-vanilla/simfactory/etc/defs.ini Info: defs.local: /home/eschnett/EinsteinToolkit-hg-vanilla/simfactory/etc/defs. local.ini Executing command for remote machine: eric usage: [args] command

Available Commands: print-mdb print parsable mdb sync sync cactus sourcetree to a remote machine remove-submitscript remove a submit script from a configuration submit submit a simulation archive archive a simulation or an individual restart list-configurations list simfactory cactus configurations print-mdb-entry list information about a single machine create create a simulation create-run create and run a simulation cleanup clean up a simulation create-submit create and submit a simulation build build cactus either locally or remotely list-archived-simulations list archived simulations checkout checkout thorns using GetComponents list-simulations list simfactory cactus simulations run launch a simulation stop stop an active simulation execute execute a command setup-silent silently create a set of reasonable defaults show-output show the output of a simulation list-machines list all the machines in the machine database setup interactively configure simfactory run-debug launch simulation using an interactive debugger purge purge a simulation get-archived-simulation retrieve an archived simulation by simulationid get-output-dir get the output directory for a given simulation/restart login launch an interactive shell on a remote machine whoami what is the name of the machine simfactory is running on interactive initiate an interactive session on a compute node error: --thornlist option requires a value Warning: Error 256 occured while executing command "/bin/bash -c '{ :; } && { { :; } && { :; } && ssh -Y -o UserKnownHostsFile=/home/eschnett/EinsteinToolkit-hg-vanilla/simfactory/etc/ssh_known_hosts '\''ssh -Y -o UserKnownHostsFile=/home/eschnett/EinsteinToolkit-hg-vanilla/simfactory/etc/ssh_known_hosts '\''\'\'''\''cd /work/eschnett && /work/eschnett/EinsteinToolkit-hg-vanilla/simfactory/bin/sim '\''\'\'''\''\'\''\'\'''\'''\''\'\'''\''build'\''\'\'''\''\'\''\'\'''\'''\''\'\'''\'' --runscript --optionlist --submitscript --reconfig --debug --thornlist'\''\'\'''\'''\''; }'"


Comments (2)

  1. anonymous
    • changed status to resolved
    • removed comment

    fixed as of revision r1174.

    It turned out to be a case where pychecker misled me. Pychecker complains if you do a conditional and actually check for True or False, eg if var == True. So I went through and eliminated those statements in simfactory, replacing them with if not condition, or just if condition... but in simopts, I had explicitly checked for boolean True in one case. I have refactored the code to no longer check for boolean True.

  2. Log in to comment