From: Michael M. <mm...@as...> - 2003-07-24 23:22:31
|
Gregory Shakhnarovich wrote: > > > >2) When I try to run LAM/mpirun, it only manages to run executables which >are available on the nodes. So, since in our configuration my home >directory is not mounted on the nodes (they are of course mounted on the >head node). , I have to move the executable somewhere to make it >accessible to mpirun. > >I am experimenting with Nic's cpi.sh, from Clubmask User Guide; I think I >tried all combination of working directories and paths in mpirun, but >unless the program is visible to the nodes, I get: > >mpirun: cannot start ./cpi on n1: No such file or directory > >I do not have the same problem with a non-MPI executables, which can be >happily started through bpsh from the head node, even though the nodes >don't see them. > >Is there a solution to this, without mounting the home directories on the >nodes? > > Greg, You can instruct mpirun to copy the binary to the compute nodes. This is what I use in cpi.sh: mpirun c1-$NUMNODES -s h ./cpi Mike |