[mvapich-discuss] Bug in MVAPICH2 SVN Trunk Configure Script

Tom Crockett twcroc at wm.edu
Thu Sep 25 17:11:57 EDT 2008


I think I've found a bug in 
"mvapich2-trunk-2008-09-09/src/binding/f90/configure".

Specifically, line 1370 reads:

     F90FLAGS="$MPICH2_INTERNAL_C90FLAGS"

I believe this should instead be:

     F90FLAGS="$MPICH2_INTERNAL_F90FLAGS"

This didn't cause me any trouble when I built the code with the Portland 
Group compiler suite, but it resulted in linking problems between 
gfortran and my OFED 1.3 libraries when I tried to build a 32-bit 
version with GCC 4.1.2.

I'm having a similar problem in test/mpi/configure, this time with 
CFLAGS not being set.  I believe the offending section of code is the 
following:

# If it is building with MPICH2, set xFLAGS to null, as mpiXX contains 
xFLAGS.
if test "$FROM_MPICH2" = "yes" ; then
     CFLAGS=""
     CXXFLAGS=""
     FFLAGS=""
     F90FLAGS=""
fi

If I comment this out, the configure step completes successfully.

For the record, I'm setting CFLAGS, FFLAGS, F90FLAGS, etc. to "-march=k8 
-m32".

-Tom

-- 
Tom Crockett

College of William and Mary               email:  twcroc at wm.edu
IT/High Performance Computing Group       phone:  (757) 221-2762
Savage House                              fax:    (757) 221-2023
P.O. Box 8795
Williamsburg, VA  23187-8795




More information about the mvapich-discuss mailing list