St. Olaf Beowulf Blog

Tuesday, August 01, 2006

Multi MPI installation

Oh geeze what a headache, here's the important things to know:

each mpi installation is installed with the prefix /usr/local, meaning that the binarys for lam mpi are found in "/usr/local/lam-7.1.2/bin" and libraries in "/usr/local/lam-7.1.2/lib"

The default environment is altered in the system global script "/etc/bashrc" to set open mpi's binary's to be in the path and libraries in the LD_LIBRARY_PATH.

to enable lamboot to work, the PATH and LD_LIBRARY_PATH to include lam, so that it can first boot, but since our default is open-mpi this causes some problems. Our work around is to create a second account with the same uid that has a home directory that is the sub directory ~/.lam of the first account that includes a bashrc that sets LAM to be in the default environment.

Also the LAMRSH needs to be set to equal "ssh -l $USER{-wolf}" so that when lamboot issues the ssh comand it sshes in as the wolf user.

Future areas of exporlation include seeing if including lam binaries after open mpi libraries allows it to boot (then run mpi with a script that chanes the appropriate environment varibles before running the lam executable) or seeing if the ssh comand used by lamboot can be run artificaly to simulate lamboot behavior.

-William Voorhees

0 Comments:

Post a Comment

<< Home