[drmaa-wg] making a custom file path for output
hrabri.rajic at intel.com
Mon Apr 4 14:02:21 CDT 2005
There is a simple solution, provided it works for you:
to rely on the shell to supply the home directory path instead of DRMAA.
>From: owner-drmaa-wg at ggf.org [mailto:owner-drmaa-wg at ggf.org] On Behalf
>Sent: Monday, April 04, 2005 1:19 PM
>To: DRMAA Working Group
>Subject: [drmaa-wg] making a custom file path for output
> I have a requirement for the app I'm writing ( using
>which I'm trying to implement.
>Normally the output files from jobs go to home directory and are of the
>I want to move the jobs to a subdir in /tmp, but retain the <jobid> in
>filename. I tried this:
> ( $job_error, $diagnosis ) = drmaa_set_attribute( $jt,
> ":" . $tmpdir . '/' .
> __PACKAGE__ . '.' .
> $DRMAA_PLACEHOLDER_INCR .
> ".out" );
>... but PLACEHOLDER is only for parametric jobs, I've been scanning the
>and have not found a placeholder for job id. Any ideas on how I could
>accomplish this task?
>A similar task would be to move the job output path without changing
>filename format at all. How could I do that?
More information about the drmaa-wg