rumekintun

Error compiling mpich2  1.3.1

Discussion created by rumekintun on Feb 1, 2011
Latest reply on Sep 6, 2012 by yurtesen
mpich2 1.3.1

Dear all,

 I'm trying to compile mpich2  1.3.1, but I'm getting an error with mpi.f90.

my CPU ifo:

 model name      : AMD Opteron(tm) Processor 6174

 flags           : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36

   clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext

3dnow constant_tsc rep_good nonstop_tsc extd_apicid amd_dcm pni monitor cx16

popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse

3dnowprefetch osvw ibs skinit wdt nodeid_msr npt lbrv svm_lock nrip_save

 

my definitions :

setenv MPICH2LIB_CFLAGS    -O2
setenv MPICH2LIB_FFLAGS    -O2
setenv MPICH2LIB_CXXFLAGS  -O2
setenv MPICH2LIB_F90FLAGS  -O2
setenv CPUFLAG "-msse3"
setenv OPTIM   "$CPUFLAG -O2"
setenv PREFX   /usr/local/mpich2 
setenv PATH     $PREFX/bin:$PATH
setenv LD_LIBRARY_PATH  $PREFX/lib:$LD_LIBRARY_PATH
setenv F77       openf90
setenv CXX      openCC
setenv CC        opencc
setenv FC         openf90
setenv CPP      'opencc -E'
setenv CXXCPP   'openCC -E'
setenv CFLAGS   "$OPTIM -fPIC"
setenv CXXFLAGS "$OPTIM"
setenv FFLAGS   "$OPTIM"
setenv FCFLAGS  "$OPTIM"
setenv F77FLAGS "$OPTIM"
#setenv F90FLAGS "$OPTIM"
setenv CPPFLAGS "-I$PREFX/include"
setenv CPPFLAGS2 "-I$PREFX/include"
setenv LDFLAGS  "$OPTIM -L$PREFX/lib"
setenv LDFLAGS2 "$OPTIM -L$PREFX/lib"
./configure --prefix=${PREFX}/mpich2 --enable-f77 --enable-fc

  --enable-cxx --enable-shared --enable-fast --with-pm=mpd:gforker

  --with-device=ch3:nemesis --with-java=/usr/local/java

The message error is:

 make[4]: Entering directory `/home2/ach/soft/wrfipkd/mpich2-1.3.1/src/binding/f90'
  FC              mpi.f90
make[4]: *** [mpi.lo] Error 1
make[4]: Leaving directory `/home2/ach/soft/wrfipkd/mpich2-1.3.1/src/binding/f90'
make[3]: *** [all-redirect] Error 1
make[3]: Leaving directory `/home2/ach/soft/wrfipkd/mpich2-1.3.1/src/binding/f90'
make[2]: *** [all-redirect] Error 1
make[2]: Leaving directory `/home2/ach/soft/wrfipkd/mpich2-1.3.1/src/binding'
make[1]: *** [all-redirect] Error 2
make[1]: Leaving directory `/home2/ach/soft/wrfipkd/mpich2-1.3.1/src'
make: *** [all-redirect] Error 2

 

any idea ?

Outcomes