LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Yu Chen (chen_at_[hidden])
Date: 2005-02-01 13:29:44


>> But when I run ./configure from lamtest suite directory, it failed with:
>> ==================================================================
>> checking whether we are using the GNU Fortran 77 compiler... no
>> checking whether /opt/intel_fc_80/bin/ifort accepts -g... yes
>> checking for ranlib... ranlib
>> checking for mpi.h... yes
>> checking for MPI_Initialized in -lmpi... yes
>> checking if have Fortran MPI bindings... no
>> checking if supposed to have Fortran MPI bindings... yes
>> configure: error: Cannot continue
>> =================================================================
>>
>> What does this mean, and how do I proceed? Is it because of the mix of
>> different C and Fortran compiler? One of our MPI program requires the use
>> of Interl ifort, so ...
>
> For some reason, the configure script decided to use ifort instead of mpif77
> to compile the LAM tests. This could mean that you have explicitly set FC
> (try unsetting the environment variable and not specifying it on the
> configure line). Also make sure that mpif77 is in your path when you are
> running configure.

Thanks, Brian, yeah, that's the problem, I compiled a program with FC set
up to ifort, then did the test right after without wipe out the
environment.

Now everything passed(configure, make, make -k test). But when I looked at
config.log, I saw some 'compilation aborted for conftest.c (code 2)' (and
conftest.cc, conftest.F) errors. One of them is like this:
----------------------------------------------------------------------
configure:2719: result: none needed
configure:2737: mpicc -c -g -O2 conftest.c >&5
conftest.c(2): error: identifier "choke" is undefined
     choke me
     ^

conftest.c(3): error: expected a ";"

compilation aborted for conftest.c (code 2)
configure:2743: $? = 2
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
-------------------------------------------------

Does this matter? Since ALL tests have been passed.

Thanks in advance!
Chen

>
>
> Thanks!
>
> Brian
>
> -- -- Brian Barrett
> LAM/MPI developer and all around nice guy
> Have an LAM/MPI day: http://www.lam-mpi.org/
>
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>

===========================================
Yu Chen
Howard Hughes Medical Institute
Chemistry Building, Rm 182
University of Maryland at Baltimore County
1000 Hilltop Circle
Baltimore, MD 21250

phone: (410)455-6347 (primary)
         (410)455-2718 (secondary)
fax: (410)455-1174
email: chen_at_[hidden]
===========================================