i did not i have to install it on all the nodes in the cluster. i will do it and email you later.
david > On Mon, 14 Jul 2003, David Gutierrez wrote: > >> 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 [EMAIL PROTECTED] >> #PBS -q workq >> /opt/mpich-1.2.4/bin/mpicc -o >> /home/oscartst/pbs/DIRECTORY/[EMAIL PROTECTED]/cpi.c/cpi.c.cc >> /home/oscartst/pbs/DIRECTORY/[EMAIL PROTECTED]/cpi.c/cpi.c >> /usr/local/bin/mpiexec >> /home/oscartst/pbs/DIRECTORY/[EMAIL PROTECTED]/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 > > It looks like you did not install mpiexec on all the nodes in the > cluster; perhaps you only installed it on the head node? If so, this > would explain why it's not found when you try to run it in a PBS job -- > the job itself will run on one of the nodes, and therefore it must be > able to find /usr/local/bin/mpiexec there. > > Also, you shouldn't need to provide the whole directory to mpicc; if you > use switcher properly, it should be in your path automatically. For > example: > > shell$ switcher mpi = mpich > > Then for all future shells, the MPICH stuff should be in your path. > > -- > {+} Jeff Squyres > {+} [EMAIL PROTECTED] > {+} http://www.lam-mpi.org/ > > > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps1 > _______________________________________________ > Oscar-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/oscar-users -- Ing.David Gutierrez Diaz ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Oscar-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/oscar-users