summaryrefslogtreecommitdiff
path: root/parallel/mpi-ch/patches
diff options
context:
space:
mode:
authorasau <asau@pkgsrc.org>2009-12-13 18:38:10 +0000
committerasau <asau@pkgsrc.org>2009-12-13 18:38:10 +0000
commit5dab70e8eae79da96aaa40cc186eedc4304aba7a (patch)
tree3b3fbaeb3ac6df4d54b2f4a01900b373065dd504 /parallel/mpi-ch/patches
parentdacbd960875b4e9d3359a8750a484889cf630eec (diff)
downloadpkgsrc-5dab70e8eae79da96aaa40cc186eedc4304aba7a.tar.gz
Update to MPICH2 1.2.1.
=============================================================================== Changes in 1.2.1 =============================================================================== # OVERALL: Improved support for fine-grained multithreading. # OVERALL: Improved integration with Valgrind for debugging builds of MPICH2. # PM/PMI: Initial support for hwloc process-core binding library in Hydra. # PM/PMI: Updates to the PMI-2 code to match the PMI-2 API and wire-protocol draft. # Several other minor bug fixes, memory leak fixes, and code cleanup. A full list of changes is available using: svn log -r5425:HEAD https://svn.mcs.anl.gov/repos/mpi/mpich2/tags/release/mpich2-1.2.1 ... or at the following link: https://trac.mcs.anl.gov/projects/mpich2/log/mpich2/tags/release/mpich2-1.2.1?action=follow_copy&rev=HEAD&stop_rev=5425&mode=follow_copy =============================================================================== Changes in 1.2 =============================================================================== # OVERALL: Support for MPI-2.2 # OVERALL: Several fixes to Nemesis/MX. # WINDOWS: Performance improvements to Nemesis/windows. # PM/PMI: Scalability and performance improvements to Hydra using PMI-1.1 process-mapping features. # PM/PMI: Support for process-binding for hyperthreading enabled systems in Hydra. # PM/PMI: Initial support for PBS as a resource management kernel in Hydra. # PM/PMI: PMI2 client code is now officially included in the release. # TEST SUITE: Support to run the MPICH2 test suite through valgrind. # Several other minor bug fixes, memory leak fixes, and code cleanup. A full list of changes is available using: svn log -r5025:HEAD https://svn.mcs.anl.gov/repos/mpi/mpich2/tags/release/mpich2-1.2 ... or at the following link: https://trac.mcs.anl.gov/projects/mpich2/log/mpich2/tags/release/mpich2-1.2?action=follow_copy&rev=HEAD&stop_rev=5025&mode=follow_copy =============================================================================== Changes in 1.1.1p1 =============================================================================== - OVERALL: Fixed an invalid read in the dataloop code for zero count types. - OVERALL: Fixed several bugs in ch3:nemesis:mx (tickets #744,#760; also change r5126). - BUILD SYSTEM: Several fixes for functionality broken in 1.1.1 release, including MPICH2LIB_xFLAGS and extra libraries living in $LIBS instead of $LDFLAGS. Also, '-lpthread' should no longer be duplicated in link lines. - BUILD SYSTEM: MPICH2 shared libraries are now compatible with glibc versioned symbols on Linux, such as those present in the MX shared libraries. - BUILD SYSTEM: Minor tweaks to improve compilation under the nvcc CUDA compiler. - PM/PMI: Fix mpd incompatibility with python2.3 introduced in mpich2-1.1.1. - PM/PMI: Several fixes to hydra, including memory leak fixes and process binding issues. - TEST SUITE: Correct invalid arguments in the coll2 and coll3 tests. - Several other minor bug fixes, memory leak fixes, and code cleanup. A full list of changes is available using: svn log -r5032:HEAD https://svn.mcs.anl.gov/repos/mpi/mpich2/tags/release/mpich2-1.1.1p1 ... or at the following link: https://trac.mcs.anl.gov/projects/mpich2/log/mpich2/tags/release/mpich2-1.1.1p1?action=follow_copy&rev=HEAD&stop_rev=5032&mode=follow_copy =============================================================================== Changes in 1.1.1 =============================================================================== # OVERALL: Improved support for Boost MPI. # PM/PMI: Significantly improved time taken by MPI_Init with Nemesis and MPD on large numbers of processes. # PM/PMI: Improved support for hybrid MPI-UPC program launching with Hydra. # PM/PMI: Improved support for process-core binding with Hydra. # PM/PMI: Preliminary support for PMI-2. Currently supported only with Hydra. # Many other bug fixes, memory leak fixes and code cleanup. A full list of changes is available using: svn log -r4655:HEAD https://svn.mcs.anl.gov/repos/mpi/mpich2/tags/release/mpich2-1.1.1 ... or at the following link: https://trac.mcs.anl.gov/projects/mpich2/log/mpich2/tags/release/mpich2-1.1.1?action=follow_copy&rev=HEAD&stop_rev=4655&mode=follow_copy =============================================================================== Changes in 1.1 =============================================================================== - OVERALL: Added MPI 2.1 support. - OVERALL: Nemesis is now the default configuration channel with a completely new TCP communication module. - OVERALL: Windows support for nemesis. - OVERALL: Added a new Myrinet MX network module for nemesis. - OVERALL: Initial support for shared-memory aware collective communication operations. Currently MPI_Bcast, MPI_Reduce, MPI_Allreduce, and MPI_Scan. - OVERALL: Improved handling of MPI Attributes. - OVERALL: Support for BlueGene/P through the DCMF library (thanks to IBM for the patch). - OVERALL: Experimental support for fine-grained multithreading - OVERALL: Added dynamic processes support for Nemesis. - OVERALL: Added automatic as well as statically runtime configurable receive timeout variation for MPD (thanks to OSU for the patch). - OVERALL: Improved performance for MPI_Allgatherv, MPI_Gatherv, and MPI_Alltoall. - PM/PMI: Initial support for the new Hydra process management framework (current support is for ssh, rsh, fork and a preliminary version of slurm). - ROMIO: Added support for MPI_Type_create_resized and MPI_Type_create_indexed_block datatypes in ROMIO. - ROMIO: Optimized Lustre ADIO driver (thanks to Weikuan Yu for initial work and Sun for further improvements). - Many other bug fixes, memory leak fixes and code cleanup. A full list of changes is available using: svn log -r813:HEAD https://svn.mcs.anl.gov/repos/mpi/mpich2/tags/release/mpich2-1.1 ... or at the following link: https://trac.mcs.anl.gov/projects/mpich2/log/mpich2/tags/release/mpich2-1.1?action=follow_copy&rev=HEAD&stop_rev=813&mode=follow_copy
Diffstat (limited to 'parallel/mpi-ch/patches')
-rw-r--r--parallel/mpi-ch/patches/patch-aa57
-rw-r--r--parallel/mpi-ch/patches/patch-ab15
-rw-r--r--parallel/mpi-ch/patches/patch-ac48
-rw-r--r--parallel/mpi-ch/patches/patch-ad15
-rw-r--r--parallel/mpi-ch/patches/patch-ae65
-rw-r--r--parallel/mpi-ch/patches/patch-af77
6 files changed, 132 insertions, 145 deletions
diff --git a/parallel/mpi-ch/patches/patch-aa b/parallel/mpi-ch/patches/patch-aa
index 86b0b85190f..16a13b3ec65 100644
--- a/parallel/mpi-ch/patches/patch-aa
+++ b/parallel/mpi-ch/patches/patch-aa
@@ -1,62 +1,45 @@
-$NetBSD: patch-aa,v 1.8 2008/12/21 11:41:01 obache Exp $
+$NetBSD: patch-aa,v 1.9 2009/12/13 18:38:11 asau Exp $
-Fix scripts installation.
Install configuration files into example directory.
---- src/env/Makefile.in.orig 2008-10-24 21:31:50.000000000 +0400
-+++ src/env/Makefile.in 2008-12-20 17:34:39.000000000 +0300
-@@ -9,6 +9,7 @@
- VERBOSE = 1
- INSTALL = @INSTALL@
- INSTALL_PROGRAM = @INSTALL_PROGRAM@
-+INSTALL_SCRIPT = @INSTALL_SCRIPT@
- INSTALL_DATA = @INSTALL_DATA@
- MKDIR_P = @MKDIR_P@
- master_top_srcdir = @master_top_srcdir@
-@@ -18,6 +19,7 @@
- prefix = @prefix@
- exec_prefix = @exec_prefix@
- bindir = @bindir@
-+datadir = @datadir@
+--- src/env/Makefile.in.orig 2009-11-18 19:40:34.000000000 +0300
++++ src/env/Makefile.in 2009-12-13 20:12:58.000000000 +0300
+@@ -19,6 +19,7 @@
+ srcdir = @srcdir@
+ abs_srcdir = @abs_srcdir@
sysconfdir = @sysconfdir@
++datadir = @datadir@
DEFS = @DEFS@ -I. -I${srcdir}
CPPFLAGS = @CPPFLAGS@
-@@ -39,6 +41,8 @@
+ LIBS = @LIBS@
+@@ -39,6 +40,8 @@
INCLUDES = -I../include
doc_sources = mpicc.txt mpif77.txt mpicxx.txt mpif90.txt mpiexec.txt
-+exampledir = ${datadir}/examples
++exampledir = $(datadir)/examples
+
.SUFFIXES:
.SUFFIXES: .o .lo .c .man .html .latex .txt
.c.o:
-@@ -132,18 +136,18 @@
- if [ ! -d ${DESTDIR}${exec_prefix} ] ; then $(MKDIR_P) ${DESTDIR}${exec_prefix} ; fi
- if [ ! -d ${DESTDIR}${prefix} ] ; then $(MKDIR_P) ${DESTDIR}${prefix} ; fi
- if [ ! -d ${DESTDIR}${bindir} ] ; then $(MKDIR_P) ${DESTDIR}${bindir} ; fi
-- $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) mpicc ${DESTDIR}${bindir}/mpicc
-+ $(INSTALL_SCRIPT) mpicc ${DESTDIR}${bindir}/mpicc
+@@ -135,15 +138,15 @@
$(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) mpich2version ${DESTDIR}${bindir}/mpich2version
-- $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) parkill ${DESTDIR}${bindir}/parkill
+ $(INSTALL_SCRIPT) mpicc ${DESTDIR}${bindir}/mpicc
+ $(INSTALL_SCRIPT) parkill ${DESTDIR}${bindir}/parkill
- if [ ! -d ${DESTDIR}${sysconfdir} ] ; then $(MKDIR_P) ${DESTDIR}${sysconfdir} ; fi
- $(INSTALL_DATA) mpixxx_opts.conf ${DESTDIR}${sysconfdir}/mpixxx_opts.conf
- $(INSTALL_DATA) mpicc.conf ${DESTDIR}${sysconfdir}/mpicc.conf
-- if [ -s mpicxx ] ; then $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) mpicxx ${DESTDIR}${bindir}/mpicxx ; fi
-- if [ -s mpif77 ] ; then $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) mpif77 ${DESTDIR}${bindir}/mpif77 ; fi
-- if [ -s mpif90 ] ; then $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) mpif90 ${DESTDIR}${bindir}/mpif90 ; fi
-- if [ -s mpicxx.conf ] ; then $(INSTALL_DATA) mpicxx.conf ${DESTDIR}${sysconfdir}/mpicxx.conf ; fi
-- if [ -s mpif77.conf ] ; then $(INSTALL_DATA) mpif77.conf ${DESTDIR}${sysconfdir}/mpif77.conf ; fi
-- if [ -s mpif90.conf ] ; then $(INSTALL_DATA) mpif90.conf ${DESTDIR}${sysconfdir}/mpif90.conf ; fi
-+ $(INSTALL_SCRIPT) parkill ${DESTDIR}${bindir}/parkill
+ if [ ! -d ${DESTDIR}${exampledir} ] ; then $(MKDIR_P) ${DESTDIR}${exampledir} ; fi
+ $(INSTALL_DATA) mpixxx_opts.conf ${DESTDIR}${exampledir}/mpixxx_opts.conf
+ $(INSTALL_DATA) mpicc.conf ${DESTDIR}${exampledir}/mpicc.conf
-+ if [ -s mpicxx ] ; then $(INSTALL_SCRIPT) mpicxx ${DESTDIR}${bindir}/mpicxx ; fi
-+ if [ -s mpif77 ] ; then $(INSTALL_SCRIPT) mpif77 ${DESTDIR}${bindir}/mpif77 ; fi
-+ if [ -s mpif90 ] ; then $(INSTALL_SCRIPT) mpif90 ${DESTDIR}${bindir}/mpif90 ; fi
+ if [ -s mpicxx ] ; then $(INSTALL_SCRIPT) mpicxx ${DESTDIR}${bindir}/mpicxx ; fi
+ if [ -s mpif77 ] ; then $(INSTALL_SCRIPT) mpif77 ${DESTDIR}${bindir}/mpif77 ; fi
+ if [ -s mpif90 ] ; then $(INSTALL_SCRIPT) mpif90 ${DESTDIR}${bindir}/mpif90 ; fi
+- if [ -s mpicxx.conf ] ; then $(INSTALL_DATA) mpicxx.conf ${DESTDIR}${sysconfdir}/mpicxx.conf ; fi
+- if [ -s mpif77.conf ] ; then $(INSTALL_DATA) mpif77.conf ${DESTDIR}${sysconfdir}/mpif77.conf ; fi
+- if [ -s mpif90.conf ] ; then $(INSTALL_DATA) mpif90.conf ${DESTDIR}${sysconfdir}/mpif90.conf ; fi
+ if [ -s mpicxx.conf ] ; then $(INSTALL_DATA) mpicxx.conf ${DESTDIR}${exampledir}/mpicxx.conf ; fi
+ if [ -s mpif77.conf ] ; then $(INSTALL_DATA) mpif77.conf ${DESTDIR}${exampledir}/mpif77.conf ; fi
+ if [ -s mpif90.conf ] ; then $(INSTALL_DATA) mpif90.conf ${DESTDIR}${exampledir}/mpif90.conf ; fi
+ ${MAKE} install-postamble
install-strip:
- $(MAKE) INSTALL_STRIP_FLAG=-s install
diff --git a/parallel/mpi-ch/patches/patch-ab b/parallel/mpi-ch/patches/patch-ab
deleted file mode 100644
index 176efb60ac7..00000000000
--- a/parallel/mpi-ch/patches/patch-ab
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-ab,v 1.4 2008/05/29 20:25:54 tnn Exp $
-
-Fix installation of script.
-
---- src/pkgconfig/Makefile.in.orig 2008-02-15 21:35:01.000000000 +0300
-+++ src/pkgconfig/Makefile.in 2008-03-19 22:23:34.000000000 +0300
-@@ -74,7 +74,7 @@
- # Install target
- install: FORCE_TARGET
- if [ ! -d ${DESTDIR}${pkgconfigdir} ] ; then $(MKDIR_P) ${DESTDIR}${pkgconfigdir} ; fi
-- if [ -s mpich2-@DEVICE_NAME@.pc ] ; then $(INSTALL_PROGRAM) mpich2-@DEVICE_NAME@.pc ${DESTDIR}${pkgconfigdir}/mpich2-@DEVICE_NAME@.pc ; fi
-+ if [ -s mpich2-@DEVICE_NAME@.pc ] ; then $(INSTALL_DATA) mpich2-@DEVICE_NAME@.pc ${DESTDIR}${pkgconfigdir}/mpich2-@DEVICE_NAME@.pc ; fi
-
- install-strip:
- $(MAKE) INSTALL_STRIP_FLAG=-s install
diff --git a/parallel/mpi-ch/patches/patch-ac b/parallel/mpi-ch/patches/patch-ac
index 21fd4e659b5..ada6322ad1b 100644
--- a/parallel/mpi-ch/patches/patch-ac
+++ b/parallel/mpi-ch/patches/patch-ac
@@ -1,39 +1,41 @@
-$NetBSD: patch-ac,v 1.6 2008/12/21 11:41:01 obache Exp $
+$NetBSD: patch-ac,v 1.7 2009/12/13 18:38:11 asau Exp $
Install sample configuration files in example directory.
---- src/mpe2/sbin/mpeinstall.in.orig 2008-10-24 20:56:05.000000000 +0400
-+++ src/mpe2/sbin/mpeinstall.in 2008-12-20 18:17:51.000000000 +0300
-@@ -40,13 +40,15 @@
+--- src/mpe2/sbin/mpeinstall.in.orig 2009-10-16 03:50:22.000000000 +0400
++++ src/mpe2/sbin/mpeinstall.in 2009-12-11 12:55:38.000000000 +0300
+@@ -40,12 +40,8 @@
mandir=@mandir@
- # Since autoconf < 2.60 does not set docdir and htmldir,
- # check if they are set. If not, set them accordingly.
+ # Since autoconf < 2.60 does not set @docdir@ and @htmldir@,
+ # If not set, docdir=@docdir@ remains, set them accordingly.
-if [ "$docdir" = "@docdir@" ] ; then
- docdir=${datadir}/doc/${PACKAGE}
-+if [ "$docdir" = "@docdir@" ] ; then # don't override what we set.
-+# docdir=${datadir}/doc/${PACKAGE}
- fi
+-fi
-if [ "$htmldir" = "@htmldir@" ] ; then
- htmldir=${docdir}
-+if [ "$htmldir" = "@htmldir@" ] ; then # don't override what we set.
-+# htmldir=${docdir}
+-fi
++case "$docdir" in @docdir) docdir=${datadir}/doc/${PACKAGE} ;; esac
++case "$htmldir" in @htmldir) htmldir=${docdir} ;; esac
+
+ # Assume PROF_LIBNAME=MPE_LIBNAME.
+ PROF_LIBNAME=@MPE_LIBNAME@
+@@ -494,14 +490,16 @@
+ fi
fi
+exampledir=${datadir}/examples
+
- # Assume PROF_LIBNAME=MPE_LIBNAME.
- PROF_LIBNAME=@MPE_LIBNAME@
- MPI_IMPL=@MPI_IMPL@
-@@ -493,10 +495,10 @@
+ # Install compiler configuration files
if [ -n "$etcbuild_dir" ] ; then
if [ -d $etcbuild_dir ] ; then
- echo "Installing $pkgname configuration files to $DESTDIR$sysconfdir"
-- InstallDirRecur $etcbuild_dir $sysconfdir $MODE
-+ InstallDirRecur $etcbuild_dir $exampledir $MODE
- cd $etcbuild_dir && \
- for file in *.conf ; do \
-- FixInstallFile $file $sysconfdir/$file ; \
-+ FixInstallFile $file $exampledir/$file ; \
- done
+- echo "Installing $pkgname configuration files to $DESTDIR$sysconfdir"
+- MkDir $sysconfdir
++ echo "Installing $pkgname configuration files to $DESTDIR$exampledir"
++ MkDir $exampledir
+ cd $etcbuild_dir && \
+ for file in *.conf ; do \
+- FixInstallFile $file $sysconfdir/$file ; \
++ FixInstallFile $file $exampledir/$file ; \
+ done
fi
fi
diff --git a/parallel/mpi-ch/patches/patch-ad b/parallel/mpi-ch/patches/patch-ad
deleted file mode 100644
index d285062009a..00000000000
--- a/parallel/mpi-ch/patches/patch-ad
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-ad,v 1.5 2008/12/21 11:41:01 obache Exp $
-
-"test ==" portability fix.
-
---- configure.orig 2008-12-20 17:29:37.000000000 +0300
-+++ configure 2008-12-20 17:45:09.000000000 +0300
-@@ -32974,7 +32974,7 @@
- ;;
- esac
-
-- if test "$cpu_gcc_x86_cycle" == "no" ; then
-+ if test "$cpu_gcc_x86_cycle" = "no" ; then
- { { $as_echo "$as_me:$LINENO: error: Linux86 cycle counter is not available on this system and or with the $CC compiler" >&5
- $as_echo "$as_me: error: Linux86 cycle counter is not available on this system and or with the $CC compiler" >&2;}
- { (exit 1); exit 1; }; }
diff --git a/parallel/mpi-ch/patches/patch-ae b/parallel/mpi-ch/patches/patch-ae
index d8569c18f19..595b4b7765a 100644
--- a/parallel/mpi-ch/patches/patch-ae
+++ b/parallel/mpi-ch/patches/patch-ae
@@ -1,60 +1,15 @@
-$NetBSD: patch-ae,v 1.5 2008/12/21 11:41:01 obache Exp $
+$NetBSD: patch-ae,v 1.6 2009/12/13 18:38:11 asau Exp $
"test ==" portability fixes.
---- src/mpid/ch3/channels/nemesis/configure.orig 2008-12-20 17:29:37.000000000 +0300
-+++ src/mpid/ch3/channels/nemesis/configure 2008-12-20 17:41:34.000000000 +0300
-@@ -3790,7 +3790,7 @@
- fi
+--- src/mpid/ch3/channels/nemesis/configure.orig 2009-11-18 19:41:17.000000000 +0300
++++ src/mpid/ch3/channels/nemesis/configure 2009-12-11 06:15:44.000000000 +0300
+@@ -5947,7 +5947,7 @@
+ fi;
--if test "${nemesis_network}" == "gm" ; then
-+if test "${nemesis_network}" = "gm" ; then
- ac_safe=`echo "gm.h" | sed 'y%./+-%__p_%'`
- { $as_echo "$as_me:$LINENO: checking for gm.h" >&5
- $as_echo_n "checking for gm.h... " >&6; }
-@@ -3989,7 +3989,7 @@
- fi
-
-
--if test "${nemesis_network}" == "ib" ; then
-+if test "${nemesis_network}" = "ib" ; then
- ac_safe=`echo "verbs.h" | sed 'y%./+-%__p_%'`
- { $as_echo "$as_me:$LINENO: checking for verbs.h" >&5
- $as_echo_n "checking for verbs.h... " >&6; }
-@@ -4188,7 +4188,7 @@
- fi
-
-
--if test "${nemesis_network}" == "mx" ; then
-+if test "${nemesis_network}" = "mx" ; then
- ac_safe=`echo "myriexpress.h" | sed 'y%./+-%__p_%'`
- { $as_echo "$as_me:$LINENO: checking for myriexpress.h" >&5
- $as_echo_n "checking for myriexpress.h... " >&6; }
-@@ -4397,7 +4397,7 @@
- fi
-
-
--if test "${nemesis_network}" == "elan" ; then
-+if test "${nemesis_network}" = "elan" ; then
- echo "=== You're about to use the experimental Nemesis/Elan network module."
- echo "=== This module has not been thoroughly tested and some performance issues remain."
-
-@@ -4599,7 +4599,7 @@
- fi
-
-
--if test "${nemesis_network}" == "sctp" ; then
-+if test "${nemesis_network}" = "sctp" ; then
- ac_safe=`echo "netinet/sctp.h" | sed 'y%./+-%__p_%'`
- { $as_echo "$as_me:$LINENO: checking for netinet/sctp.h" >&5
- $as_echo_n "checking for netinet/sctp.h... " >&6; }
-@@ -4798,7 +4798,7 @@
- fi
-
-
--if test "${nemesis_network}" == "psm" ; then
-+if test "${nemesis_network}" = "psm" ; then
- ac_safe=`echo "psm.h" | sed 'y%./+-%__p_%'`
- { $as_echo "$as_me:$LINENO: checking for psm.h" >&5
- $as_echo_n "checking for psm.h... " >&6; }
+- if test "${net}" == "newmad" ; then
++ if test "${net}" = "newmad" ; then
+ if test "${ac_cv_header_nm_public_h+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking for nm_public.h" >&5
+ $as_echo_n "checking for nm_public.h... " >&6; }
diff --git a/parallel/mpi-ch/patches/patch-af b/parallel/mpi-ch/patches/patch-af
new file mode 100644
index 00000000000..3124f19a4bb
--- /dev/null
+++ b/parallel/mpi-ch/patches/patch-af
@@ -0,0 +1,77 @@
+$NetBSD: patch-af,v 1.3 2009/12/13 18:38:11 asau Exp $
+
+Disable bundled OpenPA.
+
+--- examples/Makefile.in.orig 2009-11-18 19:40:35.000000000 +0300
++++ examples/Makefile.in 2009-12-11 15:41:31.000000000 +0300
+@@ -33,6 +33,8 @@
+ INCLUDES = -I../src/include -I${top_srcdir}/src/include
+ LIBS =
+
++LIBOPA =
++
+ EXTRA_PROGRAMS = pmandel pmandel_spawn pmandel_service pmandel_spaserv pmandel_fence hellow icpi parent child srtest srvec sr spawn_merge_parent spawn_merge_child1 spawn_merge_child2
+
+ .SUFFIXES:
+@@ -105,47 +107,47 @@
+ all-redirect: cpi
+
+ coverage:
+-parent: parent.o ../lib/lib${MPILIBNAME}.a ../src/openpa/src/libopa.a
++parent: parent.o ../lib/lib${MPILIBNAME}.a $(LIBOPA)
+ $(C_LINK) $(CFLAGS) $(LDFLAGS) -o parent parent.o ${LIBS}
+-hellow: hellow.o ../lib/lib${MPILIBNAME}.a ../src/openpa/src/libopa.a
++hellow: hellow.o ../lib/lib${MPILIBNAME}.a $(LIBOPA)
+ $(C_LINK) $(CFLAGS) $(LDFLAGS) -o hellow hellow.o ${LIBS}
+ pmandel_spawn: pmandel_spawn.o \
+- ../lib/lib${MPILIBNAME}.a ../src/openpa/src/libopa.a
++ ../lib/lib${MPILIBNAME}.a $(LIBOPA)
+ $(C_LINK) $(CFLAGS) $(LDFLAGS) -o pmandel_spawn pmandel_spawn.o -lm \
+ ${LIBS}
+-pmandel: pmandel.o ../lib/lib${MPILIBNAME}.a ../src/openpa/src/libopa.a
++pmandel: pmandel.o ../lib/lib${MPILIBNAME}.a $(LIBOPA)
+ $(C_LINK) $(CFLAGS) $(LDFLAGS) -o pmandel pmandel.o -lm ${LIBS}
+-icpi: icpi.o ../lib/lib${MPILIBNAME}.a ../src/openpa/src/libopa.a
++icpi: icpi.o ../lib/lib${MPILIBNAME}.a $(LIBOPA)
+ $(C_LINK) $(CFLAGS) $(LDFLAGS) -o icpi icpi.o -lm ${LIBS}
+-child: child.o ../lib/lib${MPILIBNAME}.a ../src/openpa/src/libopa.a
++child: child.o ../lib/lib${MPILIBNAME}.a $(LIBOPA)
+ $(C_LINK) $(CFLAGS) $(LDFLAGS) -o child child.o ${LIBS}
+ spawn_merge_child2: spawn_merge_child2.o \
+- ../lib/lib${MPILIBNAME}.a ../src/openpa/src/libopa.a
++ ../lib/lib${MPILIBNAME}.a $(LIBOPA)
+ $(C_LINK) $(CFLAGS) $(LDFLAGS) -o spawn_merge_child2 \
+ spawn_merge_child2.o ${LIBS}
+-cpi: cpi.o ../lib/lib${MPILIBNAME}.a ../src/openpa/src/libopa.a
++cpi: cpi.o ../lib/lib${MPILIBNAME}.a $(LIBOPA)
+ $(C_LINK) $(CFLAGS) $(LDFLAGS) -o cpi cpi.o -lm ${LIBS}
+ pmandel_fence: pmandel_fence.o \
+- ../lib/lib${MPILIBNAME}.a ../src/openpa/src/libopa.a
++ ../lib/lib${MPILIBNAME}.a $(LIBOPA)
+ $(C_LINK) $(CFLAGS) $(LDFLAGS) -o pmandel_fence pmandel_fence.o -lm \
+ ${LIBS}
+ spawn_merge_parent: spawn_merge_parent.o \
+- ../lib/lib${MPILIBNAME}.a ../src/openpa/src/libopa.a
++ ../lib/lib${MPILIBNAME}.a $(LIBOPA)
+ $(C_LINK) $(CFLAGS) $(LDFLAGS) -o spawn_merge_parent \
+ spawn_merge_parent.o ${LIBS}
+ spawn_merge_child1: spawn_merge_child1.o \
+- ../lib/lib${MPILIBNAME}.a ../src/openpa/src/libopa.a
++ ../lib/lib${MPILIBNAME}.a $(LIBOPA)
+ $(C_LINK) $(CFLAGS) $(LDFLAGS) -o spawn_merge_child1 \
+ spawn_merge_child1.o ${LIBS}
+ pmandel_spaserv: pmandel_spaserv.o \
+- ../lib/lib${MPILIBNAME}.a ../src/openpa/src/libopa.a
++ ../lib/lib${MPILIBNAME}.a $(LIBOPA)
+ $(C_LINK) $(CFLAGS) $(LDFLAGS) -o pmandel_spaserv pmandel_spaserv.o \
+ -lm ${LIBS}
+ pmandel_service: pmandel_service.o \
+- ../lib/lib${MPILIBNAME}.a ../src/openpa/src/libopa.a
++ ../lib/lib${MPILIBNAME}.a $(LIBOPA)
+ $(C_LINK) $(CFLAGS) $(LDFLAGS) -o pmandel_service pmandel_service.o \
+ -lm ${LIBS}
+-srtest: srtest.o ../lib/lib${MPILIBNAME}.a ../src/openpa/src/libopa.a
++srtest: srtest.o ../lib/lib${MPILIBNAME}.a $(LIBOPA)
+ $(C_LINK) $(CFLAGS) $(LDFLAGS) -o srtest srtest.o ${LIBS}
+ # --------------------------------------------------------------------------
+ htmldoc: