On Wed, 24 Sep 2003, Mark Leverentz wrote:
> I believe the proper way to handle this is to use switcher. Looking at
> switcher's man page will give you a good idea about the OSCAR philosphy
> on this. Also, searching through the archives of this mailing list may
> be helpful to you, as using the intel compiler with MPICH or LAM is
> something that has been addressed before.
As the switcher author, I just sent a reply about this as well.
Modules are your friends! :-)
> On a related note, are there any plans to build an official RPM of LAM
> or MPICH that uses the intel compiler? I understand the recommended way
> to do this currently is to use a source RPM with a modified spec file,
> but I'm really not sure how this process works...could anyone enlighten
> me?
The possibility exists. Right now it's more of a support issue for us --
we don't have the cycles to make/support all these different RPM's. :-\
But the SRPM is there, and it should be relatively straightforward to
build with your own, custom compilers.
You should be able to do the following (assuming sh-flavored shell):
# export CC=icc
# export CXX=icc
# export FC=if77
# rpmbuild --rebuild /path/to/srpm/file
The key here is setting the CC, CXX, and FC environment variables before
running the rpmbuild command. This will tell LAM's configure script to
use those compilers instead of the defaults (typically gcc, g++, g77).
(you can also do this as a normal user if you setup some additional
directories and $HOME/.rpmmacros file -- ping me if you want to know the
details of this)
--
{+} Jeff Squyres
{+} [EMAIL PROTECTED]
{+} http://www.lam-mpi.org/
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Oscar-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/oscar-users