Page 1 of 1

MPI support broken error while configuring abinit-7.8.2.

Posted: Wed Nov 16, 2016 6:31 pm
by manik
Dear all

I am trying to install abinit-7.8.2 in a cluster environment.

While configuring it, the following error is coming:

checking whether to enable OpenMP support... no
checking whether to build MPI code... yes
checking whether the C compiler supports MPI... no
checking whether the C++ compiler supports MPI... no
checking whether the Fortran Compiler supports MPI... yes
checking whether MPI is usable... no
configure: error: MPI support is broken - please fix your config parameters and/or MPI installation.

My .ac file looks like this:

Code: Select all

prefix="/usr/local"
enable_mpi="yes"
enable_mpi_io="yes"
with_mpi_prefix="/opt/openmpi"
#FC="/opt/openmpi/bin/mpif90"
#CC="/opt/openmpi/bin/mpicc"
#CXX="/opt/openmpi/bin/mpic++"
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/lib64 -llapack -lf77blas -lcblas -latlas"
#with_dft_flavor="atompaw+libxc"
with_dft_flavor="atompaw+bigdft+libxc+wannier90"


Also the config.log file is attached here:

config.log
log file
(162.24 KiB) Downloaded 577 times


Please help!!

Re: MPI support broken error while configuring abinit-7.8.2.

Posted: Thu Nov 17, 2016 8:04 am
by manik
Can anybody help me.?

Re: MPI support broken error while configuring abinit-7.8.2.

Posted: Thu Nov 24, 2016 12:15 pm
by pouillon
You are using a prehistoric 4.1 version of GCC. Please upgrade your compilers to at least version 4.8.

Re: MPI support broken error while configuring abinit-7.8.2.

Posted: Fri Nov 25, 2016 9:08 am
by manik
Thank you pouillon for your reply. I will try upgrading the compilers.