Gabriel Mateescu <[EMAIL PROTECTED]> schrieb am 05/06/2008 03:37:43 PM:
> Hello, > > It is not hard to accomplish that. > Think of it this way: what you want to do is > kind of a "preamble", i.e., a set of commands to > precede the job execution. > > This can be accomplished using the Extensions > elements of the jobs description. > > For example, assume you want to load a certain > module, which will set things such as the path > to the MPI libraries. > > Then you job description will look like this > > <job> > <executable>/path/to/mpi/program</executable> > ... > <extensions> > <preamble> > module load mpi-intel > cd $HOME > </preamble> > </extensions> > ... > </job> > > > The changes required to the LRMS adapter are > not difficult to make. I will post the changes for > SGE and PBS. Is this an officially blessed Globus extension? If not, it will be difficult to bring every target site administrator to install the modified adapters? (Also, I think it would be more sensible not to include shell code [which shell?] directly in the job description, but rather specify a path to a Unix executable + arguments.) Regards, Jan Ploski -- Dipl.-Inform. (FH) Jan Ploski OFFIS Betriebliches Informationsmanagement Escherweg 2 - 26121 Oldenburg - Germany Fon: +49 441 9722 - 184 Fax: +49 441 9722 - 202 E-Mail: [EMAIL PROTECTED] - URL: http://www.offis.de
