Fix problems with intel-mpi
authorRoland Schulz <roland@utk.edu>
Mon, 11 Mar 2013 05:19:46 +0000 (01:19 -0400)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Fri, 22 Mar 2013 12:27:52 +0000 (13:27 +0100)
commitee0af4246c484292e29b1ad8269003d242b7020c
tree69caf4c639fdfa8ea649fe5a346ff8de0c7d25b4
parente495e640f57cb27c344c53645977e2f6513f6fa1
Fix problems with intel-mpi

The mpich version with intel-mpi has a naming conflict of SEEK_SET
between stdio and the C++ binding of MPI. It would be sufficient
to set MPICH_IGNORE_CXX_SEEK or change the include order, but
given that the C++ binding is deprecated and not used it seems
more constistent to simply disable the MPI C++ binding as a whole.

Also moves the #ifdef for lib-mpi/thread-mpi into one file
and thus simplifies the code.

Change-Id: I9702b840f1d1ac51e99b610a7c125d97cda69164
22 files changed:
src/contrib/pmetest.c
src/contrib/runner_openmm.c
src/gromacs/gmxlib/gmx_fatal.c
src/gromacs/gmxlib/network.c
src/gromacs/gmxlib/smalloc.c
src/gromacs/legacyheaders/types/commrec.h
src/gromacs/mdlib/domdec.c
src/gromacs/mdlib/domdec_network.c
src/gromacs/mdlib/expanded.c
src/gromacs/mdlib/fft5d.cpp
src/gromacs/mdlib/genborn.c
src/gromacs/mdlib/genborn_sse2_double.c
src/gromacs/mdlib/genborn_sse2_single.c
src/gromacs/mdlib/gmx_parallel_3dfft.c
src/gromacs/mdlib/gmx_wallcycle.c
src/gromacs/mdlib/pme.c
src/gromacs/mdlib/pme_pp.c
src/gromacs/mdlib/sim_util.c
src/gromacs/utility/CMakeLists.txt
src/gromacs/utility/gmxmpi.h [new file with mode: 0644]
src/programs/mdrun/md.c
src/programs/mdrun/runner.c