From 922edd7b172714109bb65e5f5a145fa42ea67a51 Mon Sep 17 00:00:00 2001 From: Giovanni Bussi <giovanni.bussi@gmail.com> Date: Fri, 13 Jul 2018 15:43:58 +0200 Subject: [PATCH] added note on Intel MPI --- user-doc/Installation.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/user-doc/Installation.txt b/user-doc/Installation.txt index fccf49a1f..6860de79a 100644 --- a/user-doc/Installation.txt +++ b/user-doc/Installation.txt @@ -670,6 +670,15 @@ ld: TOC section size exceeds 64k \verbatim export CRAYPE_LINK_TYPE=dynamic \endverbatim +- Intel MPI seems to require the flags `-lmpi_mt -mt_mpi` for compiling and linking and the flag `-DMPICH_IGNORE_CXX_SEEK` for compiling + (kindly reported by Abhishek Acharya). + You might want to try to configure using +\verbatim +./configure LDFLAGS=-lmpi_mt CXXFLAGS="-DMPICH_IGNORE_CXX_SEEK -mt_mpi" STATIC_LIBS=-mt_mpi +\endverbatim + Adding libraries to `STATIC_LIBS` uses them for all the linking steps, whereas those in `LIBS` are only used when linking the PLUMED kernel library. + See more at [this thread](https://groups.google.com/d/msgid/plumed-users/CAB1aw3y0m%3D5qwzsZY4ZB-aBevsL5iuS%3DmQuSWK_cw527zCMqzg%40mail.gmail.com?utm_medium=email&utm_source=footer). +\endverbatim \page CodeSpecificNotes Code specific notes -- GitLab