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

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/