mpirun and mpiexec
David Gutierrez
david at bioinfo.cu
Mon Jul 14 09:08:49 EDT 2003
Hi:
I installed mpiexec in my oscar cluster with the following options:
--with-pbs=/opt/pbs and -with-default-comm=mpich-p4.
I have the following script(my_script):
#!/bin/bash
#PBS -N caca4
#PBS -o outputfile
#PBS -e errorfile
#PBS -l nodes=2:ppn=2
#PBS -m abe
#PBS -M david at bioinfo.cu
#PBS -q workq
/opt/mpich-1.2.4/bin/mpicc -o
/home/oscartst/pbs/DIRECTORY/david at bioinfo.cu/cpi.c/cpi.c.cc
/home/oscartst/pbs/DIRECTORY/david at bioinfo.cu/cpi.c/cpi.c
/usr/local/bin/mpiexec
/home/oscartst/pbs/DIRECTORY/david at bioinfo.cu/cpi.c/cpi.c.cc
but i am getting the following error when i do: qsub my_script
/var/spool/pbs/mom_priv/jobs/160.oscarno.SC: /usr/local/bin/mpiexec: No
such file or directory
2-If i do mpiexec my_compiledjob.c igot the following error:
mpiexec: Error: PBS_JOBID not set in environment. Code must be run from a
PBS script, perhaps interactively using "qsub -I".
any idea?
david
More information about the mpiexec
mailing list