Hi Marios,
I have had to do something similar by submitting a bash script as the
executable which makes the call to the real executable with the
environmental variable argument.
Troy
> -----Original Message-----
> From: condor-users-bounces@xxxxxxxxxxx [mailto:condor-users-
> bounces@xxxxxxxxxxx] On Behalf Of Marios Kleanthous
> Sent: Saturday, 2 August 2008 3:25 AM
> To: Condor-Users Mail List
> Subject: [Condor-users] System Variables as arguments
[Sec=Unclassified]
>
> Hello,
>
> Is it possible to give a system variable in the arguments during
> submission?
>
> For example in the submission file to have this:
>
> executable = testHOSTvar
>
> notification = error
> universe = vanilla
>
> Initialdir = results
> rguments = $HOST 2 3
> output = testHOSTvar.out
> error = testHOSTvar.err
> log = testHOSTvar.log
> Queue
>
> and when the job is executing the $HOST will be replaced with the
value of
> the $HOST variable. Condor seems to override variables and during the
job
> execution is just interprets the variable as text.
_________________________________________