Christopher,
Correct me if I am wrong below...
On Fri, 5 Sep 2008 02:08:12 +0300
Sasha Khapyorsky <[EMAIL PROTECTED]> wrote:
> On 16:50 Thu 04 Sep , Christopher Tanner wrote:
> >
> > Our codes have a lot of Fortran 77 in them and gfortran hasn't been
> > compiling those codes very well. Since we're using ifort for Fortran
> > compiling, I figured we ought to use icc (C) and icpc (C++) to use a
> > consistent compiler package. I don't know if programs partially compiled in
> > gcc and ifort will work very well...
>
> But you don't need ifort or gfortran for building OpenSM. So you can use
> gcc for OpenSM and icc/... for the rest.
Sasha,
I think he is compiling from the OFED release. Unfortunately I believe this
only allows you to specify one complier for the entire "distro".
Christopher,
If you absolutely can't figure out why icc's libraries are being found, I can
think of 2 alternatives.
1) Try and run install.pl 2 times with the different compilers. First to build
only the packages required for MPI with icc. Then all the management and
support stuff with gcc. I don't know if this is possible because I am
afraid to run install.pl as root and have it corrupt one of my nodes right
now. However, looking inside the script leads me to believe you can select
the packages you want built.
2) Extract (from the OFED tarball) the OpenSM and management source rpms and
build them with gcc. That list would be:
opensm-3.2.2-1.ofed1.4.beta1.src.rpm
infiniband-diags-1.4.1-1.ofed1.4.beta1.src.rpm
libibcommon-1.1.1-1.ofed1.4.beta1.src.rpm
libibmad-1.2.1-1.ofed1.4.beta1.src.rpm
libibumad-1.2.1-1.ofed1.4.beta1.src.rpm
Here at LLNL we have been building OFED pieces by hand for years. YMMV...
Hope this helps,
Ira
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general