Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-users] Arguments issue
- Date: Wed, 25 Jul 2007 16:47:22 +0100
- From: "Kewley, J \(John\)" <j.kewley@xxxxxxxx>
- Subject: Re: [Condor-users] Arguments issue
I just tried with the following submit file:
---
TEST = Quick
UNIVERSE = VANILLA
SHOULD_TRANSFER_FILES = YES
WHEN_TO_TRANSFER_OUTPUT = ON_EXIT
EXECUTABLE = simple.sh
LOG = $(TEST)/log
ERROR = $(TEST)/$(PROCESS).error
OUTPUT = $(TEST)/$(PROCESS).output
arguments = 1
QUEUE 1
Arguments = 2
QUEUE 1
ARGUMENTS = 3
QUEUE 1
---
and then did
condor_q
and got
---
ID OWNER SUBMITTED RUN_TIME ST PRI SIZE CMD
236.0 condor 7/25 16:38 0+00:00:09 R 0 9.8 simple.sh 1
236.1 condor 7/25 16:38 0+00:00:00 I 0 9.8 simple.sh 2
236.2 condor 7/25 16:38 0+00:00:00 I 0 9.8 simple.sh 3
---
[note that you can see the arguments clearly]
condor_q -l | grep -i arg
and got:
---
condor@condor:~/test$ condor_q -l | grep -i arg
TargetType = "Machine"
Args = "1"
TargetType = "Machine"
Args = "2"
TargetType = "Machine"
Args = "3"
---
[note that I can't see Arguments, but it looks like the value
I provided has been copied to Args instead.
That all seems to be pretty much as I expected.
Submit node was 6.8.1
Central node was 6.8.1
Execute node was 6.8.1
Are you sure you didn't mis-spell Arguments or something like that?
If you have the Args value set, I suspect that should be OK. I don't know
why I can't see Arguments in mine, and only Args.
cheers
JK
> -----Original Message-----
> From: condor-users-bounces@xxxxxxxxxxx
> [mailto:condor-users-bounces@xxxxxxxxxxx]On Behalf Of Novelli,
> Massimiliano
> Sent: Wednesday, July 25, 2007 4:27 PM
> To: condor-users@xxxxxxxxxxx
> Subject: [Condor-users] Arguments issue
>
>
> Hy everybody
>
> I have a test system with condor 6.8.5 and centos5, one
> master/submit node and 3 execute nodes.
>
> When I submit a job with arguments, condor accept it but
> doesn't pass the argument to the test script.
>
> This is the submit file:
>
> -----------------------------------
> Universe = vanilla
> Executable = condor_shell_test_1.sh
> getenv = True
>
> Output = test1.$(Cluster).$(Process).output
> Error = test1.$(Cluster).$(Process).error
> Log = test1.$(Cluster).$(Process).log
>
> should_transfer_files = YES
> when_to_transfer_output = ON_EXIT
>
> Queue
>
> Arguments = 100
> Queue
>
> arguments = 200
> Queue
>
> arguments = 10
> Queue
>
> arguments = 1000
> Queue
> ----------------------------------
>
> when you do "condor_q -long" on the first job, I get this:
> ...
> Arguments = ""
> ...
>
> as it should be.
> On the second job, I find this:
> ...
> Arguments = ""
> ...
> Args = "100"
> ...
> and here I'm lost!!!
>
> Could anybody shed some light for me?
> I do not know what I'm doing wrong.
>
> Thanks a lot
> Max
>
>
> _______________________________________________
> 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/
>