[R-sig-hpc] mpi_comm_spawn error with Rmpi and snow on SGI Altix

Ei-ji Nakama nakama at ki.rim.or.jp
Mon Feb 9 11:55:59 CET 2009


Hi, Gad.

> I added -up to the script called by qsub:

qsub is OpenPBS?

> #!/bin/sh
> #$ -cwd
> #$ -pe mpi 2
> mpirun -up 2 -np 1 /home/gabraham/bin/R --vanilla < testsnow.R

does as follows maybe if it is OpenPBS.

#!/bin/bash
#PBS -N testsnow
#PBS -q <<Name of queue that you of your machine can use>>
#PBS -l ncpus=3
#PBS -o testsnow.out
#PBS -e testsnow.err
mpirun -up 2 -np 1 /home/gabraham/bin/R CMD BATCH --vanilla testsnow.R

try `man qsub'.

> but I still get the same error:
>> cat testsnow.sh.e394520
> Error calling job_getjid(): No such file or directory
> Error in mpi.comm.spawn(slave = mpitask, slavearg = args, nslaves = count,
>  :
>  Error during spawn request
> Calls: makeCluster ... switch -> makeMPIcluster -> mpi.comm.spawn -> .Call
> Execution halted
> MPI: MPI_COMM_WORLD rank 0 has terminated without calling MPI_Finalize()
> MPI: aborting job


-- 
EI-JI Nakama  <nakama (a) ki.rim.or.jp>
"\u4e2d\u9593\u6804\u6cbb"  <nakama (a) ki.rim.or.jp>



More information about the R-sig-hpc mailing list