On Dec 10, 2005, at 11:38 PM, Bernard Li wrote:
You need to get the source tarball for LAM/MPI and re-compile using
the Intel compilers. It might be easier to just grab the LAM/MPI
SRPM and rebuild using that, but I am not sure what environment
variables you need to change inorder to rebuild it using the Intel
compilers. If you are using the tarball, you'll need to modify the
Makefile. Here's a link to download LAM/MPI source:
http://www.lam-mpi.org/download/
LAM/MPI uses standard GNU Autoconf to configure itself, so you can
just set CC, CXX, and F77 when running configure. Something like:
./configure CC=icc CXX=icpc F77=ifort ...
You can even modify the spec file to do this.
Regardless of how you choose to compile LAM, you can install it
easily on all nodes with the c3 tools. For example, if you build
from source in /home:
shell$ cd /home/myhome/lam-7.1.1
shell$ ./configure CC=icc ... --prefix=/opt/lam-7.1.1-intel ...
shell$ make all
shell$ su
Password: .............
# For the head node
shell# make install
# For the compute nodes
shell# cexec make install
Similarly, if you build an RPM, you can use cexec to install it:
# For the head node
shell# rpm -ivh lam-7.1.1intel....
# For the compute nodes
shell# cexec rpm -ivh lam-7.1.1intel...
Check the OSCAR User docs for the package "switcher" -- it explains
how different MPI implementations are chosen by the sysadmin and by
the user on an OSCAR cluster. The LAM spec file has the right
mechanics to add a new MPI implementation into switcher on an OSCAR
cluster -- look in the %post scriptlets.
--
{+} Jeff Squyres
{+} The Open MPI Project
{+} http://www.open-mpi.org/
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Oscar-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-users