This is nearing the borders of the OSCAR support list as this is a pretty general Linux and PBS question at this point. But basically, you can go two routes:
1) Install from source: (not recommended)
Uninstall the PBS rpms and go the route you mentioned with the ./configure ; make ; make install. Know that you have to do this on the head node and all the nodes.
2) Install from patched RPMS: (recommended)
Install the SRPM and modify the openpbs.spec file to include the patch during it's build process. Increment the release in the specfile and you will be able to rpm --freshen your_new_rpms.rpm. Make sure to freshen rpms on all nodes of course and restart all daemons.
Hope that helps-
Jeremy
At 03:59 PM 7/14/2003 -0400, David Gutierrez wrote:
ok , i need to install mpiexec in all nodes , but i am using oscar-2.2-1 with openpbs-2.3.16-7 ) The mpiexec manual says i have to patch my pbs sources, so i cd /oscar/oscar-2.2-1/packages/pbs/SRPMS and rpm -Uvh openpbs-oscar-2.3.16
Then cd /usr/src/redhat/SOURCES/openPBS-2.3.16 patch -p1 -sNE < /usr/local/src/pbs-2.3.12-mpiexec.diff
So now :Do i only have to ./configure make make install and nothing else? Do i need to make any other change in the slaves nodes ?
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
------------------------------------------------------- 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
