diff --git a/mpich-modules.patch b/mpich-modules.patch index fd9237b..d8d4ab2 100644 --- a/mpich-modules.patch +++ b/mpich-modules.patch @@ -1,5 +1,5 @@ ---- a/src/packaging/envmods/mpich.module.in 2015-02-20 15:48:13.000000000 -0500 -+++ b/src/packaging/envmods/mpich.module.in.new 2015-08-27 15:27:43.667837212 -0400 +--- mpich-3.2.1/src/packaging/envmods/mpich.module.in.orig 2017-11-11 03:19:44.000000000 +0100 ++++ mpich-3.2.1/src/packaging/envmods/mpich.module.in 2018-04-04 14:14:16.553160669 +0200 @@ -3,12 +3,23 @@ # MPICH module for use with 'environment-modules' package: # @@ -23,10 +23,11 @@ +setenv MPI_SUFFIX _@MPINAME@ +setenv MPI_HOME @LIBDIR@ prepend-path PATH @bindir@ -+prepend-path LD_LIBRARY_PATH @libdir@ - prepend-path MANPATH :@mandir@ +-prepend-path MANPATH @mandir@ - -# Undefine prefix and exec_prefix which are too generic environment variables. -unsetenv prefix -unsetenv exec_prefix ++prepend-path LD_LIBRARY_PATH @libdir@ ++prepend-path MANPATH :@mandir@ +prepend-path PKG_CONFIG_PATH @LIBDIR@/lib/pkgconfig