Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-users] Where does POST script run from in DAG?
- Date: Fri, 5 Feb 2010 09:27:37 -0600 (CST)
- From: "R. Kent Wenger" <wenger@xxxxxxxxxxx>
- Subject: Re: [Condor-users] Where does POST script run from in DAG?
On Thu, 4 Feb 2010, Ian Stokes-Rees wrote:
What is the "local" directory for a POST script in a DAG? I currently
have in my DAG:
The POST script runs in the directory in which you ran condor_submit_dag,
unless the relevant node has a DIR set in the DAG file -- in that case,
the POST script runs in the directory specified by the DIR value.
JOB 3ebr-00003 3ebr-00003.ca
SCRIPT POST 3ebr-00003 ./extract_output 3ebr-00003.output.zip
where "extract_output" is a script in the same directory as the classad,
and the same directory where the condor_submit_dag command is executed
from, however my log file reports:
02/04 16:25:28 Running POST script of Node 3ebr-00003...
02/04 16:25:28 Create_Process(./extract_output): child failed with errno
8 (Exec format error) before exec()02/04 16:25:28 error:
daemonCore->Create_Process() failed; POST script of Job 3ebr-00003 failed
02/04 16:25:28 POST Script of Node 3ebr-00003 failed with status 1
This doesn't seem like a problem with the directory -- DAGMan found the
POST script executable, but it wouldn't run. What happens if you just
run "./extract_output 3ebr-00003.output.zip" directly on the command line?
The DAG is submitted with the command:
condor_submit_dag -config ../.dag/3ebr.dag.config -debug 2 -outfile_dir
../.dag ../.dag/3ebr.dag
"outfile_dir" seems to only affect the logging files -- the actual
stageout files end up in the same directory where the submit command is
executed from.
Yes, the -outfile_dir argument just tells DAGMan where to put the
dagman.out file. (See the man page:
http://www.cs.wisc.edu/condor/manual/v7.5/condor_submit_dag.html).
Kent Wenger
Condor Team