[R] Running R-program as queue jobs

Jason Turner jasont at indigoindustrial.co.nz
Thu Nov 13 11:45:01 CET 2003


Philipp Pagel wrote:
> 	Hi!
> 
> On Thu, Nov 13, 2003 at 09:59:48AM +0000, Arne Gjuvsland wrote:
> 
>>I have a problem with running my R programs as queue jobs. When I try
>>to submit a batch file to the queue with qsub I get the following error
>>message:
>>____________________________________________________________
>>
>>/home/gjuvslan/kluster/R-1.7.1/bin/R.bin: error while loading shared
>>libraries: 
>>libpcre.so.0: cannot load shared object file: No such file or directory
>>____________________________________________________________
>>
>>When executed from the command prompt the batch file does its job.
> 
> 
> Did you run the script on the same machine in both cases? I got burnt a
> couple of times with different machines running different versions of
> the OS, non-identical versions of shared libraries etc...
> 

In addition to Philipp's good sugestion, I've been burnt on the same 
machine, but with the batch job running as a different user.  When 
environment variables are needed, or private libraries need to be 
loaded, things go bad very quickly.

Cheers

Jason

-- 
Indigo Industrial Controls Ltd.
http://www.indigoindustrial.co.nz
64-21-343-545
jasont at indigoindustrial.co.nz




More information about the R-help mailing list