LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Paul Van Allsburg (vanallsburg_at_[hidden])
Date: 2006-03-24 10:42:37


Ralf Wildenhues wrote:
> * Paul Van Allsburg wrote on Thu, Mar 23, 2006 at 10:20:01PM CET:
>
>>I've now compiled and installed 7.1.2 with
>>./configure --prefix=/usr/local/lam/lam-7.1.2_intel \
>> --without-exflags \
>> --with-boot-tm=/var/spool/PBS \
>> CC=/opt/intel/cc/9.0/bin/icc \
>> CXX=/opt/intel/cc/9.0/bin/icpc \
>> FC=/opt/intel/fc/9.0/bin/ifort \
>> CPPFLAGS=-D_GLIBCXX_GTHREAD_USE_WEAK=0 \
>> CXXFLAGS=-pthread
>>make
>>make install
>>
>>When I attempt to use Intel compilers on the test suite the configure
>>fails on
>>checking if have Fortran MPI bindings... no
>>checking if supposed to have Fortran MPI bindings... yes
>>configure: error: Cannot continue
>
>
> Could you show the corresponding pieces of config.log here?
>
>
>>my setup is
>>PATH="/usr/local/lam/lam-7.1.2_intel/bin:$PATH";export PATH
>>./configure --without-exflags \
>> CC=/opt/intel/cc/9.0/bin/icc \
>> CXX=/opt/intel/cc/9.0/bin/icpc \
>> FC=/opt/intel/fc/9.0/bin/ifort \
>> CPPFLAGS=-D_GLIBCXX_GTHREAD_USE_WEAK=0 \
>> CXXFLAGS=-pthread
>>if I just run
>>./configure
>>it sets up successfully to use the GNU compilers.
>>What have I missed?
>
>
> Well, I may have missed the fact that F77 should probably be set, too.
> It's just a guess though that this was responsible for the failure.
>
> Cheers,
> Ralf

Yes, you are right- the config.log shows:

configure:3736: checking for g77
configure:3752: found /usr/bin/g77
configure:3762: result: g77
configure:3777: checking for Fortran 77 compiler version
configure:3780: g77 --version </dev/null >&5
GNU Fortran (GCC 3.2.3 20030502 (Red Hat Linux 3.2.3-47.fc4)) 3.2.3
20030502 (Red Hat Linux 3.2.3-13)

so I tried-

./configure --without-exflags \
              CC=/opt/intel/cc/9.0/bin/icc \
              CXX=/opt/intel/cc/9.0/bin/icpc \
              F77=/opt/intel/fc/9.0/bin/ifort \
        CPPFLAGS=-D_GLIBCXX_GTHREAD_USE_WEAK=0 CXXFLAGS=-pthread
which finished, and I ran the tests:
make -k check 2>&1 | tee check.out
and they all passed running on 2 nodes.
Thanks !
Paul