Hello,
ibm compiler triggers the following in config.h:
# The IBM Fortran compiler crashes if the mpi module is included
# more than once
if test "${abi_fc_vendor}" = "ibm"; then
{ $as_echo "$as_me:$LINENO: activating MPI workaround for the IBM Fortran compiler" >&5
$as_echo "$as_me: activating MPI workaround for the IBM Fortran compiler" >&6;}
cat >>confdefs.h <<\_ACEOF
#define HAVE_MPI_INCLUDED_ONCE 1
_ACEOF
fi
but this makes the compilation fail later on for the sequential build, which checks that the correct cpp tricks have been used, and fails if HAVE_MPI is false and HAVE_MPI_INCLUDED_ONCE is true... The IBM patch above should be conditional to MPI being used at all, of course.
Matthieu
ibm sequential compilation [SOLVED]
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.
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.
ibm sequential compilation
Matthieu Verstraete
University of Liege, Belgium
University of Liege, Belgium
Re: ibm sequential compilation [SOLVED]
Fixed in pouillon/6.6.2-public/566.
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain
Simune Atomistics
Donostia-San Sebastián, Spain