Hello,

Please find attached a patch to add mpich2 to T2.

The installation is a little untidy because some examples are installed
in /usr/share rather than the cleaner /usr/share/mpich2.  However, I
don't know how to fix that.

Cheers,
Roger

diff -Nur /root/develop.orig//mpich2/disable-tests.patch package/develop//mpich2/disable-tests.patch
--- /root/develop.orig//mpich2/disable-tests.patch	1969-12-31 20:30:00.000000000 -0330
+++ package/develop//mpich2/disable-tests.patch	2010-08-12 09:34:58.000000000 -0230
@@ -0,0 +1,12 @@
+diff -Nur mpich2-1.2.1p1.orig//Makefile.in mpich2-1.2.1p1/Makefile.in
+--- mpich2-1.2.1p1.orig//Makefile.in	2010-08-12 09:31:35.000000000 -0230
++++ mpich2-1.2.1p1/Makefile.in	2010-08-12 09:32:46.000000000 -0230
+@@ -107,7 +107,7 @@
+ 		if ( cd $$dir && ${MAKE} all ) ; then : ; else exit 1; fi \
+ 	done
+ 	@(cd src && ${MAKE} all )
+-	@(cd examples && ${MAKE} all )
++#	@(cd examples && ${MAKE} all )
+ 	@if [ "@ENABLE_SHLIB@" != "none" ] ; then \
+ 	    if [ -s lib/lib${MPILIBNAME}.la ] ; then \
+ 	        echo "make lib/lib${mpilibnam...@shlib_ext@" ;\
diff -Nur /root/develop.orig//mpich2/mpich2.cache package/develop//mpich2/mpich2.cache
--- /root/develop.orig//mpich2/mpich2.cache	1969-12-31 20:30:00.000000000 -0330
+++ package/develop//mpich2/mpich2.cache	2010-08-12 10:38:02.000000000 -0230
@@ -0,0 +1,30 @@
+
+[TIMESTAMP] 1281615134 Thu Aug 12 09:42:14 2010
+[BUILDTIME] 100 (9)
+[SIZE] 7.86 MB, 865 files
+
+[DEP] 00-dirtree
+[DEP] bash
+[DEP] binutils
+[DEP] bzip2
+[DEP] cf
+[DEP] coreutils
+[DEP] diffutils
+[DEP] findutils
+[DEP] gawk
+[DEP] gcc
+[DEP] glibc
+[DEP] grep
+[DEP] imake
+[DEP] libx11
+[DEP] linux-header
+[DEP] make
+[DEP] mktemp
+[DEP] net-tools
+[DEP] patch
+[DEP] sed
+[DEP] sysfiles
+[DEP] tar
+[DEP] udev
+[DEP] util-linux
+[DEP] xproto
diff -Nur /root/develop.orig//mpich2/mpich2.conf package/develop//mpich2/mpich2.conf
--- /root/develop.orig//mpich2/mpich2.conf	1969-12-31 20:30:00.000000000 -0330
+++ package/develop//mpich2/mpich2.conf	2010-08-12 08:31:12.000000000 -0230
@@ -0,0 +1,15 @@
+# --- T2-COPYRIGHT-NOTE-BEGIN ---
+# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
+# 
+# T2 SDE: package/.../mpich2/mpich2.conf
+# Copyright (C) 2010 The T2 SDE Project
+# 
+# More information can be found in the files COPYING and README.
+# 
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; version 2 of the License. A copy of the
+# GNU General Public License can be found in the file COPYING.
+# --- T2-COPYRIGHT-NOTE-END ---
+
+var_append confopt ' ' 'F77=gfortran --with-pm="none"'
diff -Nur /root/develop.orig//mpich2/mpich2.desc package/develop//mpich2/mpich2.desc
--- /root/develop.orig//mpich2/mpich2.desc	1969-12-31 20:30:00.000000000 -0330
+++ package/develop//mpich2/mpich2.desc	2010-08-12 08:08:41.000000000 -0230
@@ -0,0 +1,34 @@
+[COPY] --- T2-COPYRIGHT-NOTE-BEGIN ---
+[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
+[COPY] 
+[COPY] T2 SDE: package/.../mpich2/mpich2.desc
+[COPY] Copyright (C) 2010 The T2 SDE Project
+[COPY] 
+[COPY] More information can be found in the files COPYING and README.
+[COPY] 
+[COPY] This program is free software; you can redistribute it and/or modify
+[COPY] it under the terms of the GNU General Public License as published by
+[COPY] the Free Software Foundation; version 2 of the License. A copy of the
+[COPY] GNU General Public License can be found in the file COPYING.
+[COPY] --- T2-COPYRIGHT-NOTE-END ---
+
+[I] Message Passing Interface - Argonne National Laboratories
+
+[T] A high-performance and widely portable implementation of the
+[T] Message Passing Interface (MPI) standard.  Both MPI-1 and MPI-2 are
+[T] supported.
+
+[U] http://www.mcs.anl.gov/research/projects/mpich2/
+
+[A] Argonne National Laboratories: http://www.mcs.anl.gov/research/projects/mpich2/about/index.php?s=collab
+[M] Roger Mason <[email protected]>
+
+[C] extra/development
+
+[L] OpenSource
+[S] Stable
+[V] 1.2.1p1
+[P] X -----5---9 200.000
+[F] NOPARALLEL
+
+[D] 0 mpich2-1.2.1p1.tar.gz http://www.mcs.anl.gov/research/projects/mpich2/downloads/tarballs/1.2.1p1/
----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2

Reply via email to