Hi,

We want to execute a script in a cluster job submission via globusrun-ws, 
but it should run exactly once, after stage-in, before processes are
started on the compute nodes.

The purpose is to do some pre-run housekeeping in the user's home
directory.

We thought we could do this by submitting a small script in the JDD
executable section, but it now appears that (for MPI jobs anyway) this is
executed on each compute node (as if it were the argument to mpirun in a
conventional cluster job submission).

So we are in a sense trying to put something between the Job Description
document and the computation processes.

This seems like a very natural thing to do:  in conventional batch systems
it is done in a batch script.   One can think of messy solutions where 
the script detects whether it has been run before.... but that can't be
the right way.

What is the right way to do this in a Globus job submission?

Thanks!

-  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 
Steve White                                             +49(331)7499-202
e-Science / AstroGrid-D                                   Zi. 35  Bg. 20
-  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 
Astrophysikalisches Institut Potsdam (AIP)
An der Sternwarte 16, D-14482 Potsdam

Vorstand: Prof. Dr. Matthias Steinmetz, Peter A. Stolz

Stiftung privaten Rechts, Stiftungsverzeichnis Brandenburg: III/7-71-026
-  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 

Reply via email to