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

Re: [Condor-users] Job file...execute a program with more than onearguments




Hi Michele,

Input = to files that are read as STDIN like cmd < xxx.txt.
If your application reads both files from other read unit, INPUT is not used.
Your Job Description file should be something like:

########################################################
#
#                          cmd -p xxx.txt -q yyy.txt                                        
#              
########################################################
Universe = vanilla
Executable = cmd
Arguments= -p xxx.txt -q yyy.txt
transfer_input_files = xxx.txt, yyy.txt, other files
should_transfer_files=YES
when_to_transfer_output = ON_EXIT
Log = file.log
Output = out.txt
Error = error.log
Queue


Klaus




michele pierri <pierm4ci@xxxxxxxx>
Sent by: condor-users-bounces@xxxxxxxxxxx

22/04/2010 17:42

Please respond to
Condor-Users Mail List <condor-users@xxxxxxxxxxx>

To
Condor-Users Mail List <condor-users@xxxxxxxxxxx>
cc
Subject
Re: [Condor-users] Job file...execute a program with more than        onearguments





So I will try:

########################################################
#
#                          cmd -p xxx.txt -q yyy.txt                                        
#              
########################################################
Universe = vanilla
Executable = cmd
Arguments= -p xxx.txt -q yyy.txt
Input = xxx.txt,yyy.txt
transfer_input_files = file1 , file2, file3
should_transfer_files=YES
when_to_transfer_output = ON_EXIT
Log = file.log
Output = out.txt
Error = error.log
Queue

And I will put the file in arguments in Input section. It's ok?

I am using Condor 7.4.2.

I have read http://www.cs.wisc.edu/condor/manual/v7.5/condor_submit.html
but I have not really understand the difference between the permissible formats for arguments.:

arguments = <argument_list>
.....There are two permissible formats for specifying arguments. The new syntax supports uniform quoting of spaces within arguments; the old syntax supports spaces in arguments only in special circumstances.

In the old syntax, arguments are delimited (separated) by space characters. Double-quotes must be escaped with a backslash (i.e. put a backslash in front of each double-quote).

...

Can you explain me?
Thanks a lot.

--- Gio 22/4/10, john.kewley@xxxxxxxxxx <john.kewley@xxxxxxxxxx> ha scritto:

Da: john.kewley@xxxxxxxxxx <john.kewley@xxxxxxxxxx>
Oggetto: Re: [Condor-users] Job file...execute a program with more than onearguments
A: condor-users@xxxxxxxxxxx
Data: Giovedì 22 Aprile 2010, 15:29

You might also like to enclose the whole lot in quotes and watch out for multi word args.

 

Some examples are on “submitting a job”

http://www.cs.wisc.edu/condor/manual/v7.5/2_5Submitting_Job.html

 

Infor on the two syntaxes are in the manual pages for condor_submit:

http://www.cs.wisc.edu/condor/manual/v7.5/condor_submit.html

show you how the syntax for this works.

 

For advice on when to use which see the (slightly contrived, cough) example in my Condor Week Gotchas talks:

http://epubs.cclrc.ac.uk/bitstream/2960/CondorGotchas3.ppt

 

cheers

 

JK

 

From: condor-users-bounces@xxxxxxxxxxx [mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of Ian Chesal
Sent:
Thursday, April 22, 2010 2:21 PM
To:
Condor-Users Mail List
Subject:
Re: [Condor-users] Job file...execute a program with more than onearguments

 

Just change

 

   Arguments= -r


To


   Arguments= -p xxx -q yyy

- Ian

 

Sent from my iPhone


On 2010-04-22, at 8:40 AM, michele pierri <
pierm4ci@xxxxxxxx> wrote:
Arguments= -r


-----Segue allegato-----

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



This message is intended solely for the use of its addressee and may contain privileged or confidential information. All information contained herein shall be treated as confidential and shall not be disclosed to any third party without Embraer’s prior written approval. If you are not the addressee you should not distribute, copy or file this message. In this case, please notify the sender and destroy its contents immediately.
Esta mensagem é para uso exclusivo de seu destinatário e pode conter informações privilegiadas e confidenciais. Todas as informações aqui contidas devem ser tratadas como confidenciais e não devem ser divulgadas a terceiros sem o prévio consentimento por escrito da Embraer. Se você não é o destinatário não deve distribuir, copiar ou arquivar a mensagem. Neste caso, por favor, notifique o remetente da mesma e destrua imediatamente a mensagem.