Submit file used ###################################################################### stream_error = false stream_output = false environment = PEGASUS_HOME=/auto/rcf-40/vahi/SOFTWARE/pegasus/pegasus-4.4.0cvs; #+remote_cerequirements = "PASSENV==1 && WALLTIME==600 && PRIORITY==50 && MYENV==\"PEGASUSHOME=/auto/rcf-40/vahi/SOFTWARE/pegasus/pegasus-4.4.0cvs,KEY0=VALUE 0,KEY1=VALUE1\"" #+remote_cerequirements = "PASSENV==1 && WALLTIME==600 && PRIORITY==50 && MYENV==\"PEGASUSHOME=/auto/rcf-40/vahi/SOFTWARE/pegasus/pegasus-4.4.0cvs,KEY0=VALUE0,KEY1=VALUE1\"" #+remote_cerequirements = "PASSENV==1 && WALLTIME==600 && PRIORITY==50 && MYENV==PEGASUSHOME=/auto/rcf-40/vahi/SOFTWARE/pegasus/pegasus-4.4.0cvs,KEY0='VALUE 0',KEY1=VALUE1" #+remote_cerequirements = "PASSENV==1 && WALLTIME==600 && PRIORITY==50 && MYENV==PEGASUSHOME=/auto/rcf-40/vahi/SOFTWARE/pegasus/pegasus-4.4.0cvs,KEY0=\"VALUE 0\",KEY1=VALUE1" +remote_cerequirements = "PASSENV==1 && WALLTIME==600 && PRIORITY==50 && MYENV==\"PEGASUSHOME=/auto/rcf-40/vahi/SOFTWARE/pegasus/pegasus-4.4.0cvs,KEY0='VALUE 0',KEY1=VALUE1\"" copy_to_spool = false error = test.err executable = /bin/env grid_resource = pbs log = test.log notification = NEVER output = test.out transfer_executable = false universe = grid queue ———————————————————————————————————————————————————————————————————————————— No whitespace in value +remote_cerequirements = "PASSENV==1 && WALLTIME==600 && PRIORITY==50 && MYENV==\"PEGASUSHOME=/auto/rcf-40/vahi/SOFTWARE/pegasus/pegasus-4.4.0cvs,KEY0=VALUE0,KEY1=VALUE1\"" [vahi@hpc-jak condor-glite]$ grep PEGASUSHOME test.out "PEGASUSHOME=/auto/rcf-40/vahi/SOFTWARE/pegasus/pegasus-4.4.0cvs [vahi@hpc-jak condor-glite]$ grep KEY test.out KEY1=VALUE1" KEY0=VALUE0 The first env variable name has “ and last env value has “ in the end ———————————————————————————————————————————————————————————————————————————— If the env variable has a whitespace in value +remote_cerequirements = "PASSENV==1 && WALLTIME==600 && PRIORITY==50 && MYENV==\"PEGASUSHOME=/auto/rcf-40/vahi/SOFTWARE/pegasus/pegasus-4.4.0cvs,KEY0=VALUE 0,KEY1=VALUE1\"" [vahi@hpc-jak condor-glite]$ grep KEY test.out [vahi@hpc-jak condor-glite]$ grep PEGASUSHOME test.out everything gets broken. no environment variable is set ———————————————————————————————————————————————————————————————————————————— Values are single quoted +remote_cerequirements = "PASSENV==1 && WALLTIME==600 && PRIORITY==50 && MYENV==PEGASUSHOME=/auto/rcf-40/vahi/SOFTWARE/pegasus/pegasus-4.4.0cvs,KEY0='VALUE 0',KEY1=VALUE1" [vahi@hpc-jak condor-glite]$ grep KEY test.out [vahi@hpc-jak condor-glite]$ grep PEGASUSHOME test.out Nothing was set ———————————————————————————————————————————————————————————————————————————— Values are escaped double quotes +remote_cerequirements = "PASSENV==1 && WALLTIME==600 && PRIORITY==50 && MYENV==PEGASUSHOME=/auto/rcf-40/vahi/SOFTWARE/pegasus/pegasus-4.4.0cvs,KEY0=\"VALUE 0\",KEY1=VALUE1" [vahi@hpc-jak condor-glite]$ grep KEY test.out [vahi@hpc-jak condor-glite]$ grep PEGASUSHOME test.out [vahi@hpc-jak condor-glite]$ ———————————————————————————————————————————————————————————————————————————— MYENV is within quotes, and env variable values are in single quotes +remote_cerequirements = "PASSENV==1 && WALLTIME==600 && PRIORITY==50 && MYENV==\"PEGASUSHOME=/auto/rcf-40/vahi/SOFTWARE/pegasus/pegasus-4.4.0cvs,KEY0='VALUE 0',KEY1=VALUE1\"" [vahi@hpc-jak condor-glite]$ grep PEGASUSHOME test.out [vahi@hpc-jak condor-glite]$ grep KEY test.out