[mpich-discuss] build MPICH2-1.1 (shared libs) with IntelC++/Fortran compiler failed ...

Pavan Balaji balaji at mcs.anl.gov
Tue Jun 30 10:04:55 CDT 2009


>     export CC=icc
>     export CXX=icpc
>     export FC=ifort
>     export F77=ifort
>     export F90=ifort
>     ./configure CFLAGS="-fPIC" CXXFLAGS="-fPIC" FFLAGS="-fPIC"
>     --enable-sharedlibs=gcc --enable-mpe --with-device=ch3:nemesis
>     --with-pm=smpd --with-pmi=smpd

This seems like a duplication -- why do you want to do 
--enable-sharedlibs=gcc and set CFLAGS to "-fPIC"? enable-sharedlibs 
does that internally anyway (it either pics -fpic or -fPIC depending on 
your platform).

  -- Pavan

-- 
Pavan Balaji
http://www.mcs.anl.gov/~balaji


More information about the mpich-discuss mailing list