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

Re: [Condor-users] Arguments issue



JK

thanks a lot for the quick reply.
I shortened the executable name and I change the submit file as follow:

-------------------------------
Universe = vanilla
Executable = test2.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

arguments =
Queue 1

arguments = 100
Queue 1

Arguments = 200
Queue 1

ARGUMENTS = 10
Queue 1

arguments = 1000
Queue 1
------------------------------

and now when I do condor_q, I get this:

 ID      OWNER            SUBMITTED     RUN_TIME ST PRI SIZE CMD
  10.0   novellim        7/25 06:01   0+00:02:26 R  0   9.8  test2.sh
  10.1   novellim        7/25 06:01   0+00:02:24 R  0   9.8  test2.sh 100
  10.2   novellim        7/25 06:01   0+00:02:22 R  0   9.8  test2.sh 200
  10.3   novellim        7/25 06:01   0+00:00:00 I  0   9.8  test2.sh 10
  10.4   novellim        7/25 06:01   0+00:00:00 I  0   9.8  test2.sh 1000

and with condor_q -long, I get this on the first job:
...
Args = ""
...
and this on the second one:
...
Args = "100"
...

So I guess that the issue was or the long name of the executable or the missing "arguments =" before the first queue.

Thank you so much
MAX

________________________________________
From: condor-users-bounces@xxxxxxxxxxx [condor-users-bounces@xxxxxxxxxxx] On Behalf Of Kewley, J (John) [j.kewley@xxxxxxxx]
Sent: Wednesday, July 25, 2007 11:47 AM
To: Condor-Users Mail List
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/
>

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