From 648c288e08361c26dd2cae3a43f7f777114b8914 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Wed, 4 Apr 2018 14:17:12 +0200 Subject: [PATCH] Fix patch --- mpich-modules.patch | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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