[mvapich-discuss] mpirun_rsh not parsing arguments
Thiago Ize
thiago at sci.utah.edu
Thu Oct 21 13:57:50 EDT 2010
Hi,
mpirun_rsh doesn't seem to correctly parse my program's command line
arguments. For instance, here's a simplified version that breaks:
$ mpirun_rsh -np 2 -hostfile ../build/hosts bin/manta "()"
/bin/bash: -c: line 0: syntax error near unexpected token `('
/bin/bash: -c: line 0: `cd
/home/sci/thiago/work/manta-mpi/build-mvapich2; /usr/bin/env
LD_LIBRARY_PATH=/usr/mvapich/lib/shared:/home/sci/thiago/apps/linux64/mvapich2/lib:/home/sci/thiago/apps/linux64/mvapich2/lib/shared:/usr/local/cuda/lib64:/usr/local/cuda/lib:
MPISPAWN_MPIRUN_MPD=0 USE_LINEAR_SSH=1 MPISPAWN_MPIRUN_HOST=tesla5
MPIRUN_RSH_LAUNCH=1 MPISPAWN_CHECKIN_PORT=54714
MPISPAWN_MPIRUN_PORT=54714 MPISPAWN_NNODES=2 MPISPAWN_GLOBAL_NPROCS=2
MPISPAWN_MPIRUN_ID=28172 MPISPAWN_ARGC=4
MPDMAN_KVS_TEMPLATE=kvs_280_tesla5_28172 MPISPAWN_LOCAL_NPROCS=1
MPISPAWN_ARGV_0=bin/manta MPISPAWN_ARGV_1=-np MPISPAWN_ARGV_2=2
MPISPAWN_ARGV_3=() MPISPAWN_GENERIC_ENV_COUNT=1
MPISPAWN_GENERIC_NAME_0=MV2_XRC_FILE
MPISPAWN_GENERIC_VALUE_0=mv2_xrc_550_tesla5_28172 MPISPAWN_ID=0
MPISPAWN_WORKING_DIR=/home/sci/thiago/work/manta-mpi/build-mvapich2
MPISPAWN_MPIRUN_RANK_0=0 MPISPAWN_VIADEV_DEFAULT_PORT_0=-1
/home/sci/thiago/apps/linux64/mvapich2/bin/mpispawn 0'
Error in init phase...wait for cleanup! (0/2 mpispawn connections)
Regular parameters that don't have quotation marks and parenthesis, such
as -foo, work correctly. Any ideas what I should do?
Thanks,
Thiago Ize
More information about the mvapich-discuss
mailing list