问题一:
checking for mpifc... no
checking for mpxlf... no
checking for mpif90... mpif90
checking for MPI_Init... no
checking for MPI_Init in -lmpi... no
checking for MPI_Init in -lmpich... no
configure: error: Don't know how to compile MPI program
是因为找不到MPI库,只要把LDFALGS="-L/opt/mpich2/lib(你的MPI路径下的lib)"
问题二:
configure: error: F90 and F90FLAGS are replaced by FC and FCFLAGS respectively in this configure, please unset F90/F90FLAGS
and set FC/FCFLAGS instead and rerun configure again.
只要unset F90
unset F90FLAGS