[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Condor-users] macro escape query
- Date: Mon, 3 Mar 2008 16:43:47 -0000
- From: "Smith, Ian" <I.C.Smith@xxxxxxxxxxxxxxx>
- Subject: [Condor-users] macro escape query
Just a quick question on everyones favourite subject, escaping/quoting ;-(
I'm trying to get an evironment variable into the RSL for a job using Condor-G
and if I try this with globusrun it works a treat:
&(executable=/usr/ngs/PCGAMESS)(arguments= -r -f -p -i $(HOME)/bench11.inp -o /home/ngs0456/bench_output -ex /apps/pcgamess/7.x/bin)(jobType=mpi)(count = 8)(stdout=StdOut.txt)(stderr=StdErr.txt)
This will no doubt break wrongly because of the mail system but the important bit is
$(HOME) which should expand as an environment variable on the remote system.
In my Condor-G job description file, I started with
arguments= -r -f -p -i $(HOME)/bench11.inp -o /home/ngs0456/bench_output -ex /apps/pc-gamess/7.x/bin
and have tried seemingly every combination of backslashes and quotes on the $(HOME) bit but I still can't
get the right effect.
many thanks in advance,
Dr. Ian C. Smith,
University of Liverpool
Computing Services Department.