[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] System Variables as arguments [Sec=Unclassified]



Thanks Troy. I ended up doing something similar by calling the gethostname
function from the binary itself. It seems to be impossible to pass variables
in the arguments.


> From: Troy Robertson <Troy.Robertson@xxxxxxxxxx>
> Reply-To: Condor-Users Mail List <condor-users@xxxxxxxxxxx>
> Date: Mon, 4 Aug 2008 09:09:00 +1000
> To: Condor-Users Mail List <condor-users@xxxxxxxxxxx>
> Subject: Re: [Condor-users] System Variables as arguments [Sec=Unclassified]
> 
> 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.
>> 
>> Thank you,
>> Marios
>> 
>> 
>> _______________________________________________
>> Condor-users mailing list
>> To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx
> with a
>> subject: Unsubscribe
>> You can also unsubscribe by visiting
>> https://lists.cs.wisc.edu/mailman/listinfo/condor-users
>> 
>> The archives can be found at:
>> https://lists.cs.wisc.edu/archive/condor-users/
> ___________________________________________________________________________
> 
>     Australian Antarctic Division - Commonwealth of Australia
> IMPORTANT: This transmission is intended for the addressee only. If you are
> not the
> intended recipient, you are notified that use or dissemination of this
> communication is
> strictly prohibited by Commonwealth law. If you have received this
> transmission in error,
> please notify the sender immediately by e-mail or by telephoning +61 3 6232
> 3209 and
> DELETE the message.
>         Visit our web site at http://www.antarctica.gov.au/
> ___________________________________________________________________________
> _______________________________________________
> Condor-users mailing list
> To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> https://lists.cs.wisc.edu/mailman/listinfo/condor-users
> 
> The archives can be found at:
> https://lists.cs.wisc.edu/archive/condor-users/