option, parallelism,...
Moderators: fgoudreault, mcote
Forum rules
Please have a look at ~abinit/doc/config/build-config.ac in the source package for detailed and up-to-date information about the configuration of Abinit 8 builds.
For a video explanation on how to build Abinit 7.x for Linux, please go to:
http://www.youtube.com/watch?v=DppLQ-KQA68.
IMPORTANT: when an answer solves your problem, please check the little green V-like button on its upper-right corner to accept it.
-
gzerah
- Posts: 3
- Joined: Sat Jul 04, 2015 9:38 am
Post
by gzerah » Sat Jul 04, 2015 10:11 am
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
-
Attachments
-
config.log
- (91.1 KiB) Downloaded 333 times
-
gzerah
- Posts: 3
- Joined: Sat Jul 04, 2015 9:38 am
Post
by gzerah » Sun Jul 05, 2015 12:29 am
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
-
pouillon
- Posts: 651
- Joined: Wed Aug 19, 2009 10:08 am
- Location: Spain
-
Contact:
Post
by pouillon » Wed Jul 08, 2015 6:03 pm
This is indeed the correct solution.
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain
-
gzerah
- Posts: 3
- Joined: Sat Jul 04, 2015 9:38 am
Post
by gzerah » Wed Jul 08, 2015 8:50 pm
Thanks, Yann
