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

Re: [Condor-users] ifThenElse in a submit file



Ben,

We are selecting the proper binaries by using something like:

executable = bin/hello_$$(OpSys)_$$(Arch).exe

(would like not to have to call them all .exe as well, but it works...)

What we are trying to do is control which files get transferred, wishing
something like this would work:

transfer_input_files = ifThenElse(OpSys == WINNT50,somefile.zip,"")

My generic question is: does ifThenElse work in submit files?

-Brian

-----Original Message-----
From: condor-users-bounces@xxxxxxxxxxx
[mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of Ben Burnett
Sent: Thursday, June 05, 2008 2:41 PM
To: 'Condor-Users Mail List'
Subject: Re: [Condor-users] ifThenElse in a submit file

Hi Brian:

Could you elaborate on what it is you are trying to do?  Are trying 
to select the appropriate binaries depending on the execute machine?

-B

> -----Original Message-----
> From: condor-users-bounces@xxxxxxxxxxx [mailto:condor-users-
> bounces@xxxxxxxxxxx] On Behalf Of Brian Macherone
> Sent: Thursday, June 05, 2008 12:37 PM
> To: Condor-Users Mail List
> Subject: [Condor-users] ifThenElse in a submit file
> 
> Has anybody used "ifThenElse" in a submit file and if so, could you
> provide a brief example? It would be handy for in our multi
> os/architecture environment.
> 
> Brian
> 
> _______________________________________________
> 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/

_______________________________________________
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/