On Wed, Sep 26, 2012 at 10:49 AM, Jörg Saßmannshausen <[email protected]> wrote: > $ ssh node4 env | grep PATH > PATH=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
env runs on node4, grep runs locally > $ ssh node4 echo $PATH > /home/sassy/bin:/usr/local/sge6.2u5/bin/lx24- > amd64:/opt/openmpi/gfortran/1.4.5/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sod/exe echo runs on node4 > $ ssh node4 which mpirun which runs on node4 and doesn't find mpirun > $ ssh node4 echo $PATH; which mpirun > /home/sassy/bin:/usr/local/sge6.2u5/bin/lx24- > amd64:/opt/openmpi/gfortran/1.4.5/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sod/exe > /opt/openmpi/gfortran/1.4.5/bin/mpirun echo runs on node4 (and obviously gives the same result as above), which runs on locally and gives the location of mpirun on the local machine So the environment is not set up to find mpirun in PATH on node4. If /opt is shared among all cluster nodes, an alternative for OpenMPI is to build it using 'configure --enable-orterun-prefix-by-default', such that setting up PATH is no longer necessary. Good luck! Bogdan _______________________________________________ Beowulf mailing list, [email protected] sponsored by Penguin Computing To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf
