Did you walk through the steps in 

http://www.globus.org/toolkit/docs/5.0/5.0.0/execution/gram5/user/#gram5-error-codes

The LRM specific module should be "fork.pm" for this case. 

It might be that you neglected to run make install (if you used an installer) 
or gpt-postinstall?

Joe

On Mar 5, 2010, at 7:31 AM, Bruno Oliveira wrote:

> Hello,
> 
> I am trying to submit a java job in gt5 using a rsl file.
> I have the following .rsl file:
> 
> &(environment = (PATH '/usr/bin:/bin') (CLASSPATH $(SCRATCH_DIRECTORY)))
> (scratch_dir = $(HOME))
> (directory = $(SCRATCH_DIRECTORY))
> (file_stage_in =
> (/home/vasco/example2.jar $(SCRATCH_DIRECTORY)/example2.jar))
> (stdout = /home/vasco/out.txt)
> (executable=/bin/sh)
> (arguments=-c 'java -jar example2.jar')
> 
> When I run the following command line:
> 
> globusrun -f java_rsl.rsl -s -r debian5.estgf.ipp.pt:2119/jobmanager-fork
> 
> I got this error:
> 
> GRAM Job failed because the job manager failed to locate an internal script 
> argument file (error code 21)
> 
> I read the documentation about this error but I can not solve this problem.
> Can anyone help me with this problem?
> 
> Best regards,
> Bruno Oliveira

Reply via email to