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

[Condor-users] DAGMan pre/post scripts



Hi,

I'm having some problems with submitting a pre/post
script to a DAG -- I must be looking past something
really simple..

my pre/post scripts are trivial:

#!/usr/bin/csh

echo "PRE argv 1 = $argv[1]";
exit 0


but the logs always says:

2/16 18:14:06 ERROR: the following job(s) failed:
2/16 18:14:06 ---------------------- Job ----------------------
2/16 18:14:06       Node Name: RENDER1
2/16 18:14:06          NodeID: 0
2/16 18:14:06     Node Status: STATUS_ERROR
2/16 18:14:06           Error: PRE Script failed with status 1
2/16 18:14:06 Job Submit File: job1.sub
2/16 18:14:06      PRE Script: /usr/bin/csh pre.csh $JOB
2/16 18:14:06     POST Script: /usr/bin/csh post.csh $JOB $RETURN
2/16 18:14:06   Condor Job ID: [not yet submitted]
2/16 18:14:06       Q_PARENTS: <END>
2/16 18:14:06       Q_WAITING: <END>
2/16 18:14:06      Q_CHILDREN: <END>
2/16 18:14:06 ---------------------------------------   <END>

I tried making the pre.csh exectuable and using
Script PRE pre.csh as well, but that gave the same
result..

Anybody any ideas on what I'm overlooking ?

Thanks a lot,
- Filip