[gram-user] RSL "name" attribute

Eric Blau blau at mcs.anl.gov
Fri Dec 3 13:13:42 CST 2010


Victor,

I don't know offhand why that shouldn't work.  I will note that "name" isn't on the list of supported RSL attributes (though I don't know if this list is supposed to be exhaustive: 
http://www.globus.org/toolkit/docs/5.0/5.0.2/execution/gram5/pi/#gram5-rsl-attribute-summary

I'm cc:ing the gram-user list.

I assume you've tried running the same job without the name attribute specified.

Eric


----- Original Message -----
> Eric,
> 
> 
> 
> I was able to successfully submit and run a fork and pbs job using
> globusrun via GRAM5 today. Some good progress in the last two days. I
> was even able to submit a parallel application (which uses aprun which
> is the Cray parallel application launcher) on Kraken via globusrun
> with GRAM5 after making some tweaks to pbs.pm.
> 
> 
> 
> Now I am in process of testing several of the RSL specification items
> to see that they get translated into the PBS job script correctly. I
> have come across wanting to test giving the PBS job a “name” using the
> PBS directive
> 
> 
> 
> #PBS –N {name}
> 
> 
> 
> I see in pbs.pm the following:
> 
> 
> 
> if($description->name() ne '')
> 
> {
> 
> $rc = print JOB '#PBS -N ', $description->name(), "\n";
> 
> if (!$rc)
> 
> {
> 
> return $self->respond_with_failure_extension(
> 
> "print: $pbs_job_script_name: $!",
> 
> Globus::GRAM::Error::TEMP_SCRIPT_FILE_FAILED());
> 
> }
> 
> }
> 
> 
> 
> which makes me think that I should be able to specify in the RSL the
> following to get the name in the PBS script
> 
> 
> 
> (name=gram5test) or (name=”gram5test”)
> 
> 
> 
> I did the following globusrun command and got this error
> 
> 
> 
> victor at krakenpf1(XT5):$ globusrun -o -r
> grid.nics.utk.edu:2119/jobmanager-pbs
> '&(executable=/sw/altd/bin/aprun)(arguments="-n 12"
> "/lustre/scratch/victor/test1")(jobType=single)(count="12")(maxtime=1)(directory='/lustre/scratch/victor')(save_job_description="yes")(emailonabort=yes)(emailonexecution=yes)(emailontermination=yes)(email_address="victor at utk.edu")(project=UT-SUPPORT)(stdout='/lustre/scratch/victor/globusjob.out')(stderr='/lustre/scratch/victor/globusjob.err')(name="gram5test")'
> 
> GRAM Job submission failed because one of the RSL parameters is not
> supported (error code 1)
> 
> 
> 
> Looking at (email_address=”victor at utk.edu”) and the code in pbs.pm it
> looks like (name=”gram5test”) should work and get processed by pbs.pm.
> 
> 
> 
> Any clues as to why this is not being accepted?
> 
> 
> 
> -Victor


More information about the gram-user mailing list