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

Re: [Condor-users] Help with ClassAd syntax: offset $(process) [SEC=UNCLASSIFIED]



UNCLASSIFIED

Thanks Seth. I was looking at page 654 of v7.4.2 of the Condor manual. Maybe it is not able to replace/concatenate the result of the _expression_ to a string.

 

I will use you solution of having a blank job. This will work fine.

 

Peter

 

IMPORTANT: This email remains the property of the Department of Defence and is subject to the jurisdiction of section 70 of the Crimes Act 1914. If you have received this email in error, you are requested to contact the sender and delete the email.


From: condor-users-bounces@xxxxxxxxxxx [mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of Seth A. Keel
Sent: Wednesday, 2 February 2011 4:25 PM
To: condor-users@xxxxxxxxxxx
Subject: Re: [Condor-users] Help with ClassAd syntax: offset $(process) [SEC=UNCLASSIFIED]

 

Peter,

Hello.  I'll preface this by saying that I'm a relatively new user to Condor.  That said, I don't see anything in the manual that suggests that the '+' will be interpreted as an addition operation.  I also looked through the source code where it parses submit file lines and I don't see anything in the code that suggests that or allows for addition operators in another way either.  There may be a way, but I'm not seeing it.

Can you run a trivial instance for the first job?  You would use Queue 11, where 0_input.in would hold a "blank".  Not the most elegant solution, but it would accomplish moving the relevant runs to begin with process 1.

Seth


On 2/1/2011 8:58 PM, Lenou, Peter (Contractor) wrote:

UNCLASSIFIED

Hi,

 

I am trying to offset $(process) and append it to my file name to be transferred, i.e TransferInputFiles = C:\CondorInputFiles\$$([$(process)+1])_input.in, but I keep getting an error on submit:

 

ERROR: Can’t open “C:\CondorInputFiles\$$([0+1])_input.in”  with flags 00 (No such file or directory)

 

How can I offset the process number, and append it to my file name so I can submit my files prefixed by a number starting from 1? I want to set up my ClassAd to use Queue 10 rather than have to repeat the file name for each file submitted to the queue.

 

If this is not possible, is there another way to achieve this?

 

Thanks in advance.

IMPORTANT: This email remains the property of the Department of Defence and is subject to the jurisdiction of section 70 of the Crimes Act 1914. If you have received this email in error, you are requested to contact the sender and delete the email.

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