Page 1 of 1

Configuration problem: Abinit 7.10.4 with openmpi on centos

Posted: Sat Jul 04, 2015 10:11 am
by gzerah
Hi,
When trying to configure Abinit 7.10.4 on centos using:

Code: Select all

./configure --enable-mpi  --with-mpi-incs="-I/usr/include/openmpi-x86_64" --with-mpi-libs="-L/usr/lib64/openmpi/lib -lmpi"


I get:

Code: Select all

....
checking whether the C compiler supports MPI... no
checking whether the C++ compiler supports MPI... no
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 seems that the include directory is not used, see attached log.
Some advice?

Thanks,

Gilles

Re: Configuration problem: Abinit 7.10.4 with openmpi on cen  [SOLVED]

Posted: Sun Jul 05, 2015 12:29 am
by gzerah
Solved, or at least this works:

Code: Select all

/bin/bash
module load mpi/openmpi-x86_64
./configure --enable-mpi --with-mpi-prefix=/usr/lib64/openmpi


This way, the wrappers will be used. See //www.open-mpi.org/faq/?category=mpi-apps

Re: Configuration problem: Abinit 7.10.4 with openmpi on cen

Posted: Wed Jul 08, 2015 6:03 pm
by pouillon
This is indeed the correct solution.

Re: Configuration problem: Abinit 7.10.4 with openmpi on cen

Posted: Wed Jul 08, 2015 8:50 pm
by gzerah
Thanks, Yann :D