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

Re: [Condor-users] executing a job as a script



Hi,

most probable is that "getline" script is not on in the execution path (transferred data lands in an subdirectory from condor).

You might solve it (make it accessible) by either placing "path=(. $path)" at the beginning of "outgen.sh", or by calling "`dirname $0`/getline" to access the second script from the same path as the main one.

Cheers,
Christoph

Aengus McCullough wrote:
Sorry, a correction to my last email.
The job doesn't remain idle, it does run but it trips up as soon as the
'getline' script is called


-----Original Message-----
From: condor-users-bounces@xxxxxxxxxxx [mailto:condor-users-
bounces@xxxxxxxxxxx] On Behalf Of Aengus McCullough
Sent: 25 April 2008 12:47
To: condor-users@xxxxxxxxxxx
Subject: [Condor-users] executing a job as a script

I am trying to execute a shell script as a job through the vanilla
universe.
The shell script 'outgen.sh' makes a call to another shell script
'getline'.  The script runs fine outside of condor but when I submit it
the job remains idle.   My submit file is as follows:

Universe = vanilla
Executable = outgen.sh
Arguments = 1
Output = result.out
Error = child.err
log = /tmp/child.log
transfer_input_files = outgen.sh, getline
should_transfer_files = YES
when_to_transfer_output = ON_EXIT
Queue

Can anyone see a problem with this?
Cheers,
Aengus
_______________________________________________
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/