[mpich2/f13/master] - Set PYTHONPATH in the module file.
Deji Akingunola
deji at fedoraproject.org
Mon Oct 11 20:19:31 UTC 2010
commit 67a8b4b9496c913bdccb0c1feeec9b39459252ea
Author: Deji Akingunola <dakingun at gmail.com>
Date: Mon Oct 11 16:19:58 2010 -0400
- Set PYTHONPATH in the module file.
mpich2-modules.patch | 3 ++-
mpich2.spec | 5 ++++-
2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/mpich2-modules.patch b/mpich2-modules.patch
index 357b815..3fd781a 100644
--- a/mpich2-modules.patch
+++ b/mpich2-modules.patch
@@ -1,6 +1,6 @@
--- src/packaging/envmods/mpich2.module.in 2009-07-02 15:54:58.000000000 -0400
+++ src/packaging/envmods/mpich2.module.in.new 2009-11-09 10:37:03.524042574 -0500
-@@ -4,11 +4,16 @@
+@@ -4,11 +4,17 @@
#
# Define prefix so PATH and MANPATH can be updated.
@@ -23,3 +23,4 @@
-# Undefine prefix and exec_prefix which are too generic environment variables.
-unsetenv prefix
-unsetenv exec_prefix
++prepend-path PYTHONPATH @pysitearch@/@MPILIBNAME at 2
diff --git a/mpich2.spec b/mpich2.spec
index 3db4290..671a077 100644
--- a/mpich2.spec
+++ b/mpich2.spec
@@ -3,7 +3,7 @@
Summary: A high-performance implementation of MPI
Name: mpich2
Version: 1.2.1p1
-Release: 2%{?dist}
+Release: 3%{?dist}
License: MIT
Group: Development/Libraries
URL: http://www.mcs.anl.gov/research/projects/mpich2
@@ -246,6 +246,9 @@ fi
%exclude %{_datadir}/%{name}/examples*/Makefile-%{_arch}
%changelog
+* Mon Oct 11 2010 Deji Akingunola <dakingun at gmail.com> - 1.2.1p1-3
+- Set PYTHONPATH in the module file.
+
* Tue Mar 02 2010 Deji Akingunola <dakingun at gmail.com> - 1.2.1p1-2
- Prevent the rpath link option from being included in the compiler wrappers
More information about the scm-commits
mailing list