[mpich2/f14/master] - Set PYTHONPATH in the module file.
Deji Akingunola
deji at fedoraproject.org
Mon Oct 11 20:18:53 UTC 2010
commit 894671a157f8bb681912eefa6b69c8c722c819ac
Author: Deji Akingunola <dakingun at gmail.com>
Date: Mon Oct 11 16:19:19 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 e2280ee..64f4e96 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: 8%{?dist}
+Release: 9%{?dist}
License: MIT
Group: Development/Libraries
URL: http://www.mcs.anl.gov/research/projects/mpich2
@@ -247,6 +247,9 @@ fi
%exclude %{_datadir}/%{name}/examples*/Makefile-%{_arch}
%changelog
+* Mon Oct 11 2010 Deji Akingunola <dakingun at gmail.com> - 1.2.1p1-9
+- Set PYTHONPATH in the module file.
+
* Tue Jul 27 2010 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 1.2.1p1-8
- Again rebuild against python 2.7
More information about the scm-commits
mailing list