MPI error when compiling ABINIT 7.8.2
Posted: Thu Jun 25, 2015 7:25 am
enable_mpi="yes"
enable_mpi_io="yes"
enable_openmp="yes"
CPPFLAGS_EXTRA="-I/usr/include/netcdf.mod"
FCFLAGS_EXTRA="-I/usr/include/netcdf.mod"
FC="/usr/local/bin/mpifort"
CC="/usr/local/bin/mpicc"
CXX="/usr/local/bin/mpicxx"
with_mpi_prefix="/usr/local/lib/openmpi"
with_trio_flavor="netcdf+etsf_io"
with_netcdf_incs="-I/usr/include"
with_netcdf_libs="-L/usr/lib -lnetcdf -lnetcdff"
with_fft_flavor="fftw3"
with_fft_incs="-I/usr/include/"
with_fft_libs="-L/usr/lib/x86-64-linux-gnu/ -lfftw3 -lfftw3f"
with_linalg_flavor="atlas"
with_linalg_libs="-L/usr/lib -llapack -lf77blas -lcblas -latlas"
with_dft_flavor="atompaw+libxc"
#with_dft_flavor="atompaw+bigdft+libxc+wannier90"
enable_gw_dpc="yes"
enable_maintainer_checks="no"
When I run the "./configure --with-config-file="./name.ac"" command, I get the following error:
==============================================================================
=== Multicore architecture support ===
==============================================================================
checking whether to enable OpenMP support... no
checking whether to build MPI code... yes
checking whether the C compiler supports MPI... yes
checking whether the C++ compiler supports MPI... yes
checking whether the Fortran Compiler supports MPI... no
checking whether MPI is usable... no
configure: error: MPI support is broken - please fix your config parameters and/or MPI installation
I've adjusted my .ac file repeatedly to try to get this to work. I have both OpenMPI and MPICH installed. I tried using either OpenMPI or MPICH but I keep getting the same error. I am not sure what to do. Any help would be greatly appreciated. Thank you.
I have attached my config.log file, in case it may be useful.