From e33bd8b3ae6cf8f8c799f1f3f29d1e30a4c42041 Mon Sep 17 00:00:00 2001 From: garbled Date: Tue, 13 Oct 1998 23:31:03 +0000 Subject: Add the whole parallel category to pkgsrc, and sprinkle it with a few packages. mpi-ch: a free implementation of the Message Passing Interface. pvm3: Paralell Virtual Machine libraries and environment clusterit: A clustering package for unix --- parallel/Makefile | 8 + parallel/clusterit/Makefile | 9 + parallel/clusterit/files/md5 | 3 + parallel/clusterit/pkg/COMMENT | 1 + parallel/clusterit/pkg/DESCR | 6 + parallel/clusterit/pkg/PLIST | 11 + parallel/mpi-ch/Makefile | 27 ++ parallel/mpi-ch/files/md5 | 1 + parallel/mpi-ch/patches/patch-aa | 59 ++++ parallel/mpi-ch/patches/patch-ab | 28 ++ parallel/mpi-ch/patches/patch-ac | 29 ++ parallel/mpi-ch/patches/patch-ad | 9 + parallel/mpi-ch/patches/patch-ae | 7 + parallel/mpi-ch/patches/patch-af | 30 +++ parallel/mpi-ch/patches/patch-ag | 15 ++ parallel/mpi-ch/patches/patch-ah | 7 + parallel/mpi-ch/patches/patch-ai | 7 + parallel/mpi-ch/patches/patch-aj | 54 ++++ parallel/mpi-ch/patches/patch-ak | 10 + parallel/mpi-ch/patches/patch-al | 431 +++++++++++++++++++++++++++++ parallel/mpi-ch/patches/patch-am | 8 + parallel/mpi-ch/pkg/COMMENT | 1 + parallel/mpi-ch/pkg/DESCR | 7 + parallel/mpi-ch/pkg/PLIST | 567 +++++++++++++++++++++++++++++++++++++++ parallel/pkg/COMMENT | 1 + parallel/pvm3/Makefile | 37 +++ parallel/pvm3/files/md5 | 1 + parallel/pvm3/patches/patch-aa | 7 + parallel/pvm3/patches/patch-ab | 7 + parallel/pvm3/patches/patch-ac | 7 + parallel/pvm3/patches/patch-ad | 7 + parallel/pvm3/patches/patch-ae | 7 + parallel/pvm3/patches/patch-af | 7 + parallel/pvm3/patches/patch-ag | 10 + parallel/pvm3/patches/patch-ah | 26 ++ parallel/pvm3/patches/patch-ai | 11 + parallel/pvm3/patches/patch-aj | 24 ++ parallel/pvm3/patches/patch-ak | 20 ++ parallel/pvm3/patches/patch-al | 19 ++ parallel/pvm3/patches/patch-am | 18 ++ parallel/pvm3/patches/patch-an | 8 + parallel/pvm3/pkg/COMMENT | 1 + parallel/pvm3/pkg/DESCR | 15 ++ parallel/pvm3/pkg/MESSAGE | 6 + parallel/pvm3/pkg/PLIST | 233 ++++++++++++++++ 45 files changed, 1807 insertions(+) create mode 100644 parallel/Makefile create mode 100644 parallel/clusterit/Makefile create mode 100644 parallel/clusterit/files/md5 create mode 100644 parallel/clusterit/pkg/COMMENT create mode 100644 parallel/clusterit/pkg/DESCR create mode 100644 parallel/clusterit/pkg/PLIST create mode 100644 parallel/mpi-ch/Makefile create mode 100644 parallel/mpi-ch/files/md5 create mode 100644 parallel/mpi-ch/patches/patch-aa create mode 100644 parallel/mpi-ch/patches/patch-ab create mode 100644 parallel/mpi-ch/patches/patch-ac create mode 100644 parallel/mpi-ch/patches/patch-ad create mode 100644 parallel/mpi-ch/patches/patch-ae create mode 100644 parallel/mpi-ch/patches/patch-af create mode 100644 parallel/mpi-ch/patches/patch-ag create mode 100644 parallel/mpi-ch/patches/patch-ah create mode 100644 parallel/mpi-ch/patches/patch-ai create mode 100644 parallel/mpi-ch/patches/patch-aj create mode 100644 parallel/mpi-ch/patches/patch-ak create mode 100644 parallel/mpi-ch/patches/patch-al create mode 100644 parallel/mpi-ch/patches/patch-am create mode 100644 parallel/mpi-ch/pkg/COMMENT create mode 100644 parallel/mpi-ch/pkg/DESCR create mode 100644 parallel/mpi-ch/pkg/PLIST create mode 100644 parallel/pkg/COMMENT create mode 100644 parallel/pvm3/Makefile create mode 100644 parallel/pvm3/files/md5 create mode 100644 parallel/pvm3/patches/patch-aa create mode 100644 parallel/pvm3/patches/patch-ab create mode 100644 parallel/pvm3/patches/patch-ac create mode 100644 parallel/pvm3/patches/patch-ad create mode 100644 parallel/pvm3/patches/patch-ae create mode 100644 parallel/pvm3/patches/patch-af create mode 100644 parallel/pvm3/patches/patch-ag create mode 100644 parallel/pvm3/patches/patch-ah create mode 100644 parallel/pvm3/patches/patch-ai create mode 100644 parallel/pvm3/patches/patch-aj create mode 100644 parallel/pvm3/patches/patch-ak create mode 100644 parallel/pvm3/patches/patch-al create mode 100644 parallel/pvm3/patches/patch-am create mode 100644 parallel/pvm3/patches/patch-an create mode 100644 parallel/pvm3/pkg/COMMENT create mode 100644 parallel/pvm3/pkg/DESCR create mode 100644 parallel/pvm3/pkg/MESSAGE create mode 100644 parallel/pvm3/pkg/PLIST diff --git a/parallel/Makefile b/parallel/Makefile new file mode 100644 index 00000000000..9a9fd04209d --- /dev/null +++ b/parallel/Makefile @@ -0,0 +1,8 @@ +# $NetBSD: Makefile,v 1.1.1.1 1998/10/13 23:31:03 garbled Exp $ +# + + SUBDIR += clusterit + SUBDIR += mpi-ch + SUBDIR += pvm3 + +.include "../mk/bsd.pkg.subdir.mk" diff --git a/parallel/clusterit/Makefile b/parallel/clusterit/Makefile new file mode 100644 index 00000000000..8a5e930a9cb --- /dev/null +++ b/parallel/clusterit/Makefile @@ -0,0 +1,9 @@ +# $NetBSD: Makefile,v 1.1.1.1 1998/10/13 23:31:04 garbled Exp $ + +DISTNAME= clusterit-1.0 +CATEGORIES= parallel +MASTER_SITES= http://www.inficad.com/~garbled/ + +MAINTAINER= root@garbled.net + +.include "../../mk/bsd.pkg.mk" diff --git a/parallel/clusterit/files/md5 b/parallel/clusterit/files/md5 new file mode 100644 index 00000000000..106083a61b4 --- /dev/null +++ b/parallel/clusterit/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 1998/10/13 23:31:04 garbled Exp $ + +MD5 (clusterit-1.0.tar.gz) = 543b4962f9c09b498bc9e7816902bb43 diff --git a/parallel/clusterit/pkg/COMMENT b/parallel/clusterit/pkg/COMMENT new file mode 100644 index 00000000000..cd486952467 --- /dev/null +++ b/parallel/clusterit/pkg/COMMENT @@ -0,0 +1 @@ +A clustering package for unix diff --git a/parallel/clusterit/pkg/DESCR b/parallel/clusterit/pkg/DESCR new file mode 100644 index 00000000000..6db71b113c5 --- /dev/null +++ b/parallel/clusterit/pkg/DESCR @@ -0,0 +1,6 @@ +This is a collection of clustering tools, to turn your ordinary +everyday pile of UNIX workstations into a speedy parallel beast. + +Initially this work was based on the work of IBM's PSSP, and copied +heavily from the ideas there. Its also lightly based on the work +pioneered in GLUnix. diff --git a/parallel/clusterit/pkg/PLIST b/parallel/clusterit/pkg/PLIST new file mode 100644 index 00000000000..8b6f31af28b --- /dev/null +++ b/parallel/clusterit/pkg/PLIST @@ -0,0 +1,11 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 1998/10/13 23:31:04 garbled Exp $ +bin/dsh +bin/pcp +bin/pdf +bin/prm +bin/dshbak +man/man1/dsh.1 +man/man1/pcp.1 +man/man1/pdf.1 +man/man1/prm.1 +man/man1/dshbak.1 diff --git a/parallel/mpi-ch/Makefile b/parallel/mpi-ch/Makefile new file mode 100644 index 00000000000..522a2b0cf1e --- /dev/null +++ b/parallel/mpi-ch/Makefile @@ -0,0 +1,27 @@ +# $NetBSD: Makefile,v 1.1.1.1 1998/10/13 23:31:04 garbled Exp $ + +DISTNAME= mpich +PKGNAME= mpich-1.1.1 +CATEGORIES= parallel +MASTER_SITES= ftp://ftp.mcs.anl.gov/pub/mpi/ + +MAINTAINER= root@garbled.net +HOMEPAGE= http://www.mcs.anl.gov/mpi/mpich/index.html + +DEPENDS+= ssh-1.2.26:../../security/ssh + +#this pkg needs x11!! + +WRKSRC= ${WRKDIR}/mpich +ALL_TARGET= ALL +USE_PERL5= yes +HAS_CONFIGURE= yes +USE_GMAKE= yes +CONFIGURE_ARGS= -prefix=${PREFIX} -arch=netbsd -comm=ch_p4 +CONFIGURE_ARGS+= -nof77 -make=gmake -mpe -rsh=ssh -opt=-O -nodevdebug + +post-install: + ${RM} ${LOCALBASE}/mpiuninstall + ${RM} ${LOCALBASE}/man/mandesc + +.include "../../mk/bsd.pkg.mk" diff --git a/parallel/mpi-ch/files/md5 b/parallel/mpi-ch/files/md5 new file mode 100644 index 00000000000..9fd6d834e65 --- /dev/null +++ b/parallel/mpi-ch/files/md5 @@ -0,0 +1 @@ +MD5 (mpich.tar.gz) = 276d639e4ba661a8647e72f26a2dbd77 diff --git a/parallel/mpi-ch/patches/patch-aa b/parallel/mpi-ch/patches/patch-aa new file mode 100644 index 00000000000..b63c48844e6 --- /dev/null +++ b/parallel/mpi-ch/patches/patch-aa @@ -0,0 +1,59 @@ +$NetBSD: patch-aa,v 1.1.1.1 1998/10/13 23:31:04 garbled Exp $ +--- configure.orig Tue Jul 7 07:52:46 1998 ++++ configure Thu Aug 6 03:18:27 1998 +@@ -6615,3 +6615,3 @@ + -e 's/rs6000/RS6000/g' -e 's/symm_ptx/SYMMETRY_PTX/g' \ +- -e 's/sppux/HP/g'` ++ -e 's/sppux/HP/g' -e 's/netbsd/NETBSD/g'` + fi +@@ -14282,10 +14282,11 @@ + /usr/sgitcl \ ++ /usr/pkg \ + /local/encap/tcl-7.1 ; do +- if test -r $dir/include/tcl.h ; then ++ if test -r $dir/include/tcl8.0/tcl.h ; then + # Check for correct version + +- tclversion=`grep 'TCL_MAJOR_VERSION' $dir/include/tcl.h | \ ++ tclversion=`grep 'TCL_MAJOR_VERSION' $dir/include/tcl8.0/tcl.h | \ + sed -e 's/^.*TCL_MAJOR_VERSION[^0-9]*\([0-9]*\).*$/\1/'` + +- if test "$tclversion" != "7" ; then ++ if test "$tclversion" != "8" ; then + # Skip if it is the wrong version +@@ -14307,5 +14308,5 @@ + if test -z "$ac_echo_test" -a 1 = 1 ; then +-echo "$ac_t""found $TCL_DIR/include/tcl.h and $TCL_DIR/lib/libtcl" ++echo "$ac_t""found $TCL_DIR/include/tcl8.0/tcl.h and $TCL_DIR/lib/libtcl" + else +-echo "$ac_t""found $TCL_DIR/include/tcl.h and $TCL_DIR/lib/libtcl" 1>&1 ++echo "$ac_t""found $TCL_DIR/include/tcl8.0/tcl.h and $TCL_DIR/lib/libtcl" 1>&1 + fi +@@ -14398,10 +14399,11 @@ + /usr/sgitcl \ ++ /usr/pkg \ + /local/encap/tk-3.4 $TCL_DIR ; do +- if test -r $dir/include/tk.h ; then ++ if test -r $dir/include/tk8.0/tk.h ; then + # Check for correct version + +- tkversion=`grep 'TK_MAJOR_VERSION' $dir/include/tk.h | \ ++ tkversion=`grep 'TK_MAJOR_VERSION' $dir/include/tk8.0/tk.h | \ + sed -e 's/^.*TK_MAJOR_VERSION[^0-9]*\([0-9]*\).*$/\1/'` + +- if test "$tkversion" != "3" ; then ++ if test "$tkversion" != "8" ; then + # Skip if it is the wrong version +@@ -14423,5 +14425,5 @@ + if test -z "$ac_echo_test" -a 1 = 1 ; then +-echo "$ac_t""found $TK_DIR/include/tk.h and $TK_DIR/lib/libtk" ++echo "$ac_t""found $TK_DIR/include/tk8.0/tk.h and $TK_DIR/lib/libtk" + else +-echo "$ac_t""found $TK_DIR/include/tk.h and $TK_DIR/lib/libtk" 1>&1 ++echo "$ac_t""found $TK_DIR/include/tk8.0/tk.h and $TK_DIR/lib/libtk" 1>&1 + fi +@@ -14848,3 +14850,3 @@ + CFLAGSsave="$CFLAGS" +- CFLAGS="$CFLAGS -I$TK_DIR/include -I$TCL_DIR/include $XINCLUDES" ++ CFLAGS="$CFLAGS -I$TK_DIR/include/tk8.0 -I$TCL_DIR/include/tcl8.0 $XINCLUDES" + diff --git a/parallel/mpi-ch/patches/patch-ab b/parallel/mpi-ch/patches/patch-ab new file mode 100644 index 00000000000..fab50d60d72 --- /dev/null +++ b/parallel/mpi-ch/patches/patch-ab @@ -0,0 +1,28 @@ +$NetBSD: patch-ab,v 1.1.1.1 1998/10/13 23:31:04 garbled Exp $ +--- romio/configure.orig Wed Aug 5 09:47:54 1998 ++++ romio/configure Wed Aug 5 09:50:05 1998 +@@ -691,2 +691,24 @@ + fi ++if test -n "$arch_netbsd" ; then ++ CC=${CC:-gcc} ++ F77=${FC:-f77} ++ CFLAGS="$CFLAGS -D__FREEBSD" ++ longlongsize=${longlongsize:-0} ++# printf doesn't work properly and no integer*8 as far as I can tell ++ if test $DEBUG = 1; then ++ CFLAGS="$CFLAGS -g -D__NO_AIO" ++ else ++ CFLAGS="$CFLAGS -O -D__NO_AIO" ++ fi ++ if test -z "$MPI" ; then ++ MPI=mpich ++ mpi_mpich=1 ++ fi ++ if test -z "$FILE_SYSTEM" ; then ++ file_system_ufs=1 ++ file_system_nfs=1 ++ FILE_SYSTEM="ufs nfs" ++ echo "configuring for file systems ufs and nfs" ++ fi ++fi + # diff --git a/parallel/mpi-ch/patches/patch-ac b/parallel/mpi-ch/patches/patch-ac new file mode 100644 index 00000000000..76aa6726a39 --- /dev/null +++ b/parallel/mpi-ch/patches/patch-ac @@ -0,0 +1,29 @@ +$NetBSD: patch-ac,v 1.1.1.1 1998/10/13 23:31:04 garbled Exp $ +--- mpid/ch_p4/p4/configure.orig Wed Jul 1 12:55:53 1998 ++++ mpid/ch_p4/p4/configure Wed Aug 5 23:55:15 1998 +@@ -245,2 +245,9 @@ + fi ++# Any machine running NetBSD ++if test -n "$p4arch_NETBSD"; then ++ P4ARCH=NETBSD ++# if test -n "p4comm_shared"; then ++# DEFINE_SYSV_IPC="#define SYSV_IPC" ++# fi ++fi + # 486 running Linux +@@ -4617,3 +4624,4 @@ + +-trap 'rm -f Makefile lib/Makefile alog/Makefile usc/Makefile usc/usctest/Makefile messages/Makefile include/Makefile lib_f/Makefile contrib/Makefile contrib_f/Makefile bin/Makefile doc/Makefile messages_f/Makefile misc/Makefile monitors/Makefile servers/ +Makefile; exit 1' 1 3 15 ++trap 'rm -f Makefile lib/Makefile alog/Makefile usc/Makefile usc/usctest/Makefile messages/Makefile include/Makefile lib_f/Makefile contrib/Makefile contrib_f/Makefile bin/Makefile doc/Makefile messages_f/Makefile misc/Makefile monitors/Makefile servers/ +M ++akefile; exit 1' 1 3 15 + RANLIB='$RANLIB' +@@ -4655,3 +4663,4 @@ + +-CONFIG_FILES=${CONFIG_FILES-"Makefile lib/Makefile alog/Makefile usc/Makefile usc/usctest/Makefile messages/Makefile include/Makefile lib_f/Makefile contrib/Makefile contrib_f/Makefile bin/Makefile doc/Makefile messages_f/Makefile misc/Makefile monitors/ +Makefile servers/Makefile"} ++CONFIG_FILES=${CONFIG_FILES-"Makefile lib/Makefile alog/Makefile usc/Makefile usc/usctest/Makefile messages/Makefile include/Makefile lib_f/Makefile contrib/Makefile contrib_f/Makefile bin/Makefile doc/Makefile messages_f/Makefile misc/Makefile monitors/ +M ++akefile servers/Makefile"} + for file in .. ${CONFIG_FILES}; do if test "x$file" != x..; then diff --git a/parallel/mpi-ch/patches/patch-ad b/parallel/mpi-ch/patches/patch-ad new file mode 100644 index 00000000000..c36b3d36542 --- /dev/null +++ b/parallel/mpi-ch/patches/patch-ad @@ -0,0 +1,9 @@ +$NetBSD: patch-ad,v 1.1.1.1 1998/10/13 23:31:04 garbled Exp $ +--- mpid/ch_shmem/p2ptest/configure.orig Wed Aug 5 09:56:05 1998 ++++ mpid/ch_shmem/p2ptest/configure Wed Aug 5 09:56:43 1998 +@@ -143,2 +143,5 @@ + fi ++if test -n "$p4arch_NETBSD"; then ++P4ARCH=NETBSD ++fi + if test -n "$p4arch_FREEBSD"; then diff --git a/parallel/mpi-ch/patches/patch-ae b/parallel/mpi-ch/patches/patch-ae new file mode 100644 index 00000000000..b1fe381e2d5 --- /dev/null +++ b/parallel/mpi-ch/patches/patch-ae @@ -0,0 +1,7 @@ +$NetBSD: patch-ae,v 1.1.1.1 1998/10/13 23:31:04 garbled Exp $ +--- mpid/ch_p4/p4/MACHINES.orig Wed Aug 5 19:23:57 1998 ++++ mpid/ch_p4/p4/MACHINES Wed Aug 5 19:24:12 1998 +@@ -2,2 +2,3 @@ + LINUX ++ NETBSD + FREEBSD diff --git a/parallel/mpi-ch/patches/patch-af b/parallel/mpi-ch/patches/patch-af new file mode 100644 index 00000000000..5c4414ba235 --- /dev/null +++ b/parallel/mpi-ch/patches/patch-af @@ -0,0 +1,30 @@ +$NetBSD: patch-af,v 1.1.1.1 1998/10/13 23:31:04 garbled Exp $ +--- mpid/ch_p4/p4/lib/p4_MD.h.orig Wed Aug 5 19:35:35 1998 ++++ mpid/ch_p4/p4/lib/p4_MD.h Wed Aug 5 19:44:58 1998 +@@ -74,2 +74,6 @@ + ++#if defined(NETBSD) ++#define P4_MACHINE_TYPE "NETBSD" ++#endif ++ + #if defined(FREEBSD) +@@ -94,3 +98,3 @@ + /* Rumor has it LINUX support VPRINTF */ +-#if defined(FX2800) || defined(FX2800_SWITCH) || defined(FREEBSD) ++#if defined(FX2800) || defined(FX2800_SWITCH) || defined(FREEBSD) || defined(NETBSD) + #define VPRINTF +@@ -117,3 +121,3 @@ + defined(NEXT) || defined(KSR) || defined(FREEBSD) || \ +- defined(SYMMETRY) || defined(BALANCE) || \ ++ defined(SYMMETRY) || defined(BALANCE) || defined(NETBSD) || \ + defined(ALLIANT) || defined(MULTIMAX) || defined(CM5) || \ +@@ -127,3 +131,3 @@ + defined(NEXT) || defined(KSR) || defined(FREEBSD) || \ +- defined(SYMMETRY) || defined(BALANCE) || \ ++ defined(SYMMETRY) || defined(BALANCE) || defined(NETBSD) || \ + defined(ALLIANT) || defined(MULTIMAX) || \ +@@ -411,3 +415,3 @@ + || defined(RS6000) || defined(IBM3090) || defined(FREEBSD) \ +- || defined(TITAN) \ ++ || defined(TITAN) || defined(NETBSD) \ + || defined(HP) diff --git a/parallel/mpi-ch/patches/patch-ag b/parallel/mpi-ch/patches/patch-ag new file mode 100644 index 00000000000..2ab9fe8b65d --- /dev/null +++ b/parallel/mpi-ch/patches/patch-ag @@ -0,0 +1,15 @@ +$NetBSD: patch-ag,v 1.1.1.1 1998/10/13 23:31:04 garbled Exp $ +--- mpid/ch_p4/p4/lib/p4_MD.c.orig Wed Aug 5 19:40:58 1998 ++++ mpid/ch_p4/p4/lib/p4_MD.c Wed Aug 5 19:45:56 1998 +@@ -1305,2 +1305,3 @@ + || defined(MULTIMAX) || defined(IBM3090) || defined(FREEBSD) \ ++ || defined(NETBSD) \ + || (defined(HP) && !defined(SUN_SOLARIS)) +@@ -1355,2 +1356,3 @@ + || defined(MULTIMAX) || defined(IBM3090) || defined(FREEBSD) \ ++ || defined(NETBSD) \ + || (defined(HP) && !defined(SUN_SOLARIS)) +@@ -1584,2 +1586,3 @@ + if (strcmp(machine_type, "FREEBSD") == 0) return 2; ++ if (strcmp(machine_type, "NETBSD") == 0) return 2; + if (strcmp(machine_type, "I86_SOLARIS") == 0) return 2; diff --git a/parallel/mpi-ch/patches/patch-ah b/parallel/mpi-ch/patches/patch-ah new file mode 100644 index 00000000000..fedd2036020 --- /dev/null +++ b/parallel/mpi-ch/patches/patch-ah @@ -0,0 +1,7 @@ +$NetBSD: patch-ah,v 1.1.1.1 1998/10/13 23:31:04 garbled Exp $ +--- romio/.config_params.orig Thu Aug 6 00:40:54 1998 ++++ romio/.config_params Thu Aug 6 00:41:03 1998 +@@ -18,2 +18,3 @@ + _freebsd_ ++_netbsd_ + _LINUX_ diff --git a/parallel/mpi-ch/patches/patch-ai b/parallel/mpi-ch/patches/patch-ai new file mode 100644 index 00000000000..483d8ee079e --- /dev/null +++ b/parallel/mpi-ch/patches/patch-ai @@ -0,0 +1,7 @@ +$NetBSD: patch-ai,v 1.1.1.1 1998/10/13 23:31:04 garbled Exp $ +--- bin/tarch.orig Thu Aug 6 00:52:15 1998 ++++ bin/tarch Thu Aug 6 00:52:54 1998 +@@ -96,2 +96,3 @@ + FreeBSD) FARCH=freebsd ; break ;; ++ NetBSD) FARCH=netbsd ; break ;; + i386) GARCH=ipsc2 ;; diff --git a/parallel/mpi-ch/patches/patch-aj b/parallel/mpi-ch/patches/patch-aj new file mode 100644 index 00000000000..87ddd235ddf --- /dev/null +++ b/parallel/mpi-ch/patches/patch-aj @@ -0,0 +1,54 @@ +$NetBSD: patch-aj,v 1.1.1.1 1998/10/13 23:31:04 garbled Exp $ +--- mpe/profiling/nupshot/configure.orig Sat Jul 4 07:50:32 1998 ++++ mpe/profiling/nupshot/configure Thu Aug 6 05:42:48 1998 +@@ -1219,9 +1219,9 @@ + /local/encap/tcl-7.1 ; do +- if test -r $dir/include/tcl.h ; then ++ if test -r $dir/include/tcl8.0/tcl.h ; then + # Check for correct version + +- tclversion=`grep 'TCL_MAJOR_VERSION' $dir/include/tcl.h | \ ++ tclversion=`grep 'TCL_MAJOR_VERSION' $dir/include/tcl8.0/tcl.h | \ + sed -e 's/^.*TCL_MAJOR_VERSION[^0-9]*\([0-9]*\).*$/\1/'` + +- if test "$tclversion" != "7" ; then ++ if test "$tclversion" != "8" ; then + # Skip if it is the wrong version +@@ -1243,5 +1243,5 @@ + if test -z "$ac_echo_test" -a 1 = 1 ; then +-echo "$ac_t""found $TCL_DIR/include/tcl.h and $TCL_DIR/lib/libtcl" ++echo "$ac_t""found $TCL_DIR/include/tcl8.0/tcl.h and $TCL_DIR/lib/libtcl" + else +-echo "$ac_t""found $TCL_DIR/include/tcl.h and $TCL_DIR/lib/libtcl" 1>&1 ++echo "$ac_t""found $TCL_DIR/include/tcl8.0/tcl.h and $TCL_DIR/lib/libtcl" 1>&1 + fi +@@ -1335,9 +1335,9 @@ + /local/encap/tk-3.4 $TCL_DIR ; do +- if test -r $dir/include/tk.h ; then ++ if test -r $dir/include/tk8.0/tk.h ; then + # Check for correct version + +- tkversion=`grep 'TK_MAJOR_VERSION' $dir/include/tk.h | \ ++ tkversion=`grep 'TK_MAJOR_VERSION' $dir/include/tk8.0/tk.h | \ + sed -e 's/^.*TK_MAJOR_VERSION[^0-9]*\([0-9]*\).*$/\1/'` + +- if test "$tkversion" != "3" ; then ++ if test "$tkversion" != "8" ; then + # Skip if it is the wrong version +@@ -1359,3 +1359,3 @@ + if test -z "$ac_echo_test" -a 1 = 1 ; then +-echo "$ac_t""found $TK_DIR/include/tk.h and $TK_DIR/lib/libtk" ++echo "$ac_t""found $TK_DIR/include/tk8.0/tk.h and $TK_DIR/lib/libtk" + else +@@ -1431,3 +1431,3 @@ + CFLAGSsave="$CFLAGS" +- CFLAGS="$CFLAGS -I$TK_DIR/include -I$TCL_DIR/include $XINCLUDES" ++ CFLAGS="$CFLAGS -I$TK_DIR/include/tk8.0 -I$TCL_DIR/include/tcl8.0 $XINCLUDES" + +@@ -1565,4 +1565,4 @@ + +-if test "$TK_VERSION" != 3.6 ; then +- print_error "This version of nupshot requires tk 3.6 The version in" ++if test "$TK_VERSION" != 8.0 ; then ++ print_error "This version of nupshot requires tk 8.0 The version in" + print_error "$TK_DIR seems to be version $TK_VERSION." diff --git a/parallel/mpi-ch/patches/patch-ak b/parallel/mpi-ch/patches/patch-ak new file mode 100644 index 00000000000..22759eea105 --- /dev/null +++ b/parallel/mpi-ch/patches/patch-ak @@ -0,0 +1,10 @@ +$NetBSD: patch-ak,v 1.1.1.1 1998/10/13 23:31:04 garbled Exp $ +--- mpe/profiling/nupshot/Makefile.in.orig Thu Aug 6 03:30:37 1998 ++++ mpe/profiling/nupshot/Makefile.in Thu Aug 6 03:31:16 1998 +@@ -34,4 +34,4 @@ + +-TCL_INC = -I$(TCL_DIR)/include +-TK_INC = -I$(TK_DIR)/include ++TCL_INC = -I$(TCL_DIR)/include/tcl8.0 ++TK_INC = -I$(TK_DIR)/include/tk8.0 + TCLTK_INC = $(TCL_INC) $(TK_INC) diff --git a/parallel/mpi-ch/patches/patch-al b/parallel/mpi-ch/patches/patch-al new file mode 100644 index 00000000000..78259adbf55 --- /dev/null +++ b/parallel/mpi-ch/patches/patch-al @@ -0,0 +1,431 @@ +$NetBSD: patch-al,v 1.1.1.1 1998/10/13 23:31:04 garbled Exp $ +--- util/mpiinstall.in.orig Sun Jul 12 08:28:14 1998 ++++ util/mpiinstall.in Thu Aug 6 23:35:41 1998 +@@ -122,3 +122,3 @@ + # trialname=`sed -n -e "s/DEFAULT_MACHINE='\(.*\)'/\1/p" \ +-# lib/$ARCH/$COMM/config.status` ++# libdata/$ARCH/$COMM/config.status` + # if [ -n "$trialname" ] ; then +@@ -126,4 +126,4 @@ + # fi +- if [ $inlib = 0 -a -x lib/$ARCH/$COMM/mpiinstall ] ; then +- ./lib/$ARCH/$COMM/mpiinstall -inlib "$@" ++ if [ $inlib = 0 -a -x libdata/$ARCH/$COMM/mpiinstall ] ; then ++ ./libdata/$ARCH/$COMM/mpiinstall -inlib "$@" + exit $? +@@ -136,5 +136,5 @@ + NFLIB_PATH=`echo "@FLIB_PATH@" | \ +- sed -e "s%^\([^/ ]*\)/[^ ]*%\1$PREFIX/lib/$ARCH/$COMM%g"` ++ sed -e "s%^\([^/ ]*\)/[^ ]*%\1$PREFIX/libdata/$ARCH/$COMM%g"` + NF90LIB_PATH=`echo "@F90LIB_PATH@" | \ +- sed -e "s%^\([^/ ]*\)/[^ ]*%\1$PREFIX/lib/$ARCH/$COMM%g"` ++ sed -e "s%^\([^/ ]*\)/[^ ]*%\1$PREFIX/libdata/$ARCH/$COMM%g"` + NF90INC=`echo "@F90INC@" | \ +@@ -144,3 +144,3 @@ + NCPPFLAGS=`echo "A$CPPFLAGS" | \ +- sed -e "s%-I.*/MPI-2-C++/src%-I$PREFIX/lib/$ARCH/$COMM/c++%g" \ ++ sed -e "s%-I.*/MPI-2-C++/src%-I$PREFIX/libdata/$ARCH/$COMM/c++%g" \ + -e "s/^A//g"` +@@ -271,5 +271,6 @@ + sed \ ++ -e "s%/lib/%/libdata/%g" \ + -e "s%\#ARCH\#%$ARCH%g" \ + -e "s%\#AUTOMOUNTFIX\#%@AUTOMOUNTFIX@%g" \ +- -e "s%\#BITMAP_DIR\#%$PREFIX/lib/bitmaps%g" \ ++ -e "s%\#BITMAP_DIR\#%$PREFIX/libdata/bitmaps%g" \ + -e "s%\#CC\#%@CC@%g" \ +@@ -282,3 +283,3 @@ + -e "s%\#DEFAULT_MACHINE\#%$DEFAULT_MACHINE%g" \ +- -e "s%\#EXECER_DIR\#%$PREFIX/util%g" \ ++ -e "s%\#EXECER_DIR\#%$PREFIX/share/util%g" \ + -e "s%\#F77\#%@F77@%g" \ +@@ -344,3 +345,3 @@ + NLIBPATH=`echo "@LIB_PATH@" | \ +- sed -e "s%^\([^/ ]*\)/[^ ]*%\1$PREFIX/lib/$ARCH/$COMM%g"` ++ sed -e "s%^\([^/ ]*\)/[^ ]*%\1$PREFIX/libdata/$ARCH/$COMM%g"` + if [ -d $2 ] ; then +@@ -358,2 +359,3 @@ + sed \ ++ -e "s%/lib/%/libdata/%g" \ + -e "s%[@]ARCH[@]%$ARCH%g" \ +@@ -362,3 +364,3 @@ + -e "s%[@]F90INC[@]%$NF90INC%g" \ +- -e "s%[@]BITMAP_DIR[@]%$PREFIX/lib/bitmaps%g" \ ++ -e "s%[@]BITMAP_DIR[@]%$PREFIX/libdata/bitmaps%g" \ + -e "s%[@]CC[@]%@CC@%g" \ +@@ -377,3 +379,3 @@ + -e "s%[@]DEFAULT_MACHINE[@]%$DEFAULT_MACHINE%g" \ +- -e "s%[@]EXECER_DIR[@]%$PREFIX/util%g" \ ++ -e "s%[@]EXECER_DIR[@]%$PREFIX/share/util%g" \ + -e "s%[@]F77[@]%@F77@%g" \ +@@ -457,18 +459,19 @@ + +-MkDir $PREFIX/lib +-MkDir $PREFIX/lib/$ARCH +-MkDir $PREFIX/lib/$ARCH/$COMM +-MkDir $PREFIX/lib/bitmaps ++MkDir $PREFIX/libdata ++MkDir $PREFIX/libdata/$ARCH ++MkDir $PREFIX/libdata/$ARCH/$COMM ++MkDir $PREFIX/libdata/bitmaps + if [ -n "$CPP_DIR" -a "$buildcpp" = 1 ] ; then +- MkDir $PREFIX/$CPP_DIR +- MkDir $PREFIX/$CPP_DIR/examples +- MkDir $PREFIX/lib/$ARCH/$COMM/c++ ++# MkDir $PREFIX/libdata/$CPP_DIR ++ MkDir $PREFIX/share/examples/$CPP_DIR ++ MkDir $PREFIX/libdata/$ARCH/$COMM/c++ + fi +-MkDir $PREFIX/util +-MkDir $PREFIX/util/machines ++MkDir $PREFIX/share/util ++MkDir $PREFIX/share/util/machines + MkDir $PREFIX/include +-MkDir $PREFIX/examples ++MkDir $PREFIX/share/examples/mpi + MkDir $PREFIX/bin + MkDir $PREFIX/man +-MkDir $PREFIX/doc ++MkDir $PREFIX/share/doc ++MkDir $PREFIX/share/doc/mpi + if [ -z "$libonly" ] ; then +@@ -480,3 +483,3 @@ + FixupFile util/mpiman.in $PREFIX/bin/mpiman $XMODE +- CopyFile $PREFIX/bin/mpiman $PREFIX/lib/$ARCH/$COMM $XMODE ++ CopyFile $PREFIX/bin/mpiman $PREFIX/libdata/$ARCH/$COMM $XMODE + # +@@ -490,3 +493,3 @@ + if [ -n "@TCL_DIR@" -a -z "$cpnupshot" -a -n "@TK_DIR@" -a \ +- "@TK_VERSION@" = "3.6" ] ; then ++ "@TK_VERSION@" = "8.0" ] ; then + echo "Attempting to build nupshot... " +@@ -528,4 +531,4 @@ + FixupFile $file $PREFIX/bin/$bfile $XMODE +- $Show /bin/rm -f $PREFIX/lib/$ARCH/$COMM/$bfile +- CopyFile $PREFIX/bin/$bfile $PREFIX/lib/$ARCH/$COMM $XMODE ++ $Show /bin/rm -f $PREFIX/libdata/$ARCH/$COMM/$bfile ++ CopyFile $PREFIX/bin/$bfile $PREFIX/libdata/$ARCH/$COMM $XMODE + done +@@ -533,7 +536,7 @@ + echo "/bin/rm -f $PREFIX/bin/mpirun" >> $UNINSTALLFILE +- $Show mv $PREFIX/lib/$ARCH/$COMM/mpirun.sh $PREFIX/lib/$ARCH/$COMM/mpirun +- echo "/bin/rm -f $PREFIX/lib/$ARCH/$COMM/mpirun" >> $UNINSTALLFILE +- if [ ! -r $PREFIX/lib/$ARCH/$COMM/tarch ] ; then +- ( cd $PREFIX/lib/$ARCH/$COMM ; ln -s ../../../bin/tarch tarch ) +- echo "/bin/rm -f $PREFIX/lib/$ARCH/$COMM/tarch" >> $UNINSTALLFILE ++ $Show mv $PREFIX/libdata/$ARCH/$COMM/mpirun.sh $PREFIX/libdata/$ARCH/$COMM/mpirun ++ echo "/bin/rm -f $PREFIX/libdata/$ARCH/$COMM/mpirun" >> $UNINSTALLFILE ++ if [ ! -r $PREFIX/libdata/$ARCH/$COMM/tarch ] ; then ++ ( cd $PREFIX/libdata/$ARCH/$COMM ; ln -s ../../../bin/tarch tarch ) ++ echo "/bin/rm -f $PREFIX/libdata/$ARCH/$COMM/tarch" >> $UNINSTALLFILE + fi +@@ -545,3 +548,3 @@ + FixupFile util/mpireconfig.in $PREFIX/bin/mpireconfig $XMODE +- CopyFile $PREFIX/bin/mpireconfig $PREFIX/lib/$ARCH/$COMM $XMODE ++ CopyFile $PREFIX/bin/mpireconfig $PREFIX/libdata/$ARCH/$COMM $XMODE + $Show /bin/rm -f $PREFIX/bin/execer +@@ -551,7 +554,7 @@ + FixupFileWithAt util/mpicc.in $PREFIX/bin/mpicc $XMODE +- CopyFile $PREFIX/bin/mpicc $PREFIX/lib/$ARCH/$COMM $XMODE ++ CopyFile $PREFIX/bin/mpicc $PREFIX/libdata/$ARCH/$COMM $XMODE + FixupFileWithAt util/mpif77.in $PREFIX/bin/mpif77 $XMODE +- CopyFile $PREFIX/bin/mpif77 $PREFIX/lib/$ARCH/$COMM $XMODE ++ CopyFile $PREFIX/bin/mpif77 $PREFIX/libdata/$ARCH/$COMM $XMODE + FixupFileWithAt util/mpif90.in $PREFIX/bin/mpif90 $XMODE +- CopyFile $PREFIX/bin/mpif90 $PREFIX/lib/$ARCH/$COMM $XMODE ++ CopyFile $PREFIX/bin/mpif90 $PREFIX/libdata/$ARCH/$COMM $XMODE + # +@@ -560,3 +563,3 @@ + FixupFileWithAt util/mpiCC.in $PREFIX/bin/mpiCC $XMODE +- CopyFile $PREFIX/bin/mpiCC $PREFIX/lib/$ARCH/$COMM $XMODE ++ CopyFile $PREFIX/bin/mpiCC $PREFIX/libdata/$ARCH/$COMM $XMODE + fi +@@ -570,24 +573,24 @@ + if [ $verbose = 1 ] ; then +- echo "Creating $PREFIX/lib/$ARCH/$COMM/$bfile from $file" ++ echo "Creating $PREFIX/libdata/$ARCH/$COMM/$bfile from $file" + fi +- FixupFile $file $PREFIX/lib/$ARCH/$COMM/$bfile $XMODE ++ FixupFile $file $PREFIX/libdata/$ARCH/$COMM/$bfile $XMODE + done +- $Show mv $PREFIX/lib/$ARCH/$COMM/mpirun.sh $PREFIX/lib/$ARCH/$COMM/mpirun +- if [ ! -r $PREFIX/lib/$ARCH/$COMM/tarch ] ; then +- ( cd $PREFIX/lib/$ARCH/$COMM ; ln -s ../../../bin/tarch tarch ) +- echo "/bin/rm -f $PREFIX/lib/$ARCH/$COMM/tarch" >> $UNINSTALLFILE ++ $Show mv $PREFIX/libdata/$ARCH/$COMM/mpirun.sh $PREFIX/libdata/$ARCH/$COMM/mpirun ++ if [ ! -r $PREFIX/libdata/$ARCH/$COMM/tarch ] ; then ++ ( cd $PREFIX/libdata/$ARCH/$COMM ; ln -s ../../../bin/tarch tarch ) ++ echo "/bin/rm -f $PREFIX/libdata/$ARCH/$COMM/tarch" >> $UNINSTALLFILE + fi +- FixupFileWithAt util/mpicc.in $PREFIX/lib/$ARCH/$COMM/mpicc $XMODE ++ FixupFileWithAt util/mpicc.in $PREFIX/libdata/$ARCH/$COMM/mpicc $XMODE + if [ -n "@CPP_COMPILER@" ] ; then +- FixupFileWithAt util/mpiCC.in $PREFIX/lib/$ARCH/$COMM/mpiCC $XMODE ++ FixupFileWithAt util/mpiCC.in $PREFIX/libdata/$ARCH/$COMM/mpiCC $XMODE + fi +- FixupFileWithAt util/mpif77.in $PREFIX/lib/$ARCH/$COMM/mpif77 $XMODE +- FixupFileWithAt util/mpif90.in $PREFIX/lib/$ARCH/$COMM/mpif90 $XMODE +- FixupFile util/mpireconfig.in $PREFIX/lib/$ARCH/$COMM/mpireconfig $XMODE +- CopyFile lib/$ARCH/$COMM/mpichconf.h $PREFIX/lib/$ARCH/$COMM +- CopyFile lib/$ARCH/$COMM/mpidefs.h $PREFIX/lib/$ARCH/$COMM +- CopyFile lib/$ARCH/$COMM/mpif.h $PREFIX/lib/$ARCH/$COMM ++ FixupFileWithAt util/mpif77.in $PREFIX/libdata/$ARCH/$COMM/mpif77 $XMODE ++ FixupFileWithAt util/mpif90.in $PREFIX/libdata/$ARCH/$COMM/mpif90 $XMODE ++ FixupFile util/mpireconfig.in $PREFIX/libdata/$ARCH/$COMM/mpireconfig $XMODE ++ CopyFile lib/$ARCH/$COMM/mpichconf.h $PREFIX/libdata/$ARCH/$COMM ++ CopyFile lib/$ARCH/$COMM/mpidefs.h $PREFIX/libdata/$ARCH/$COMM ++ CopyFile lib/$ARCH/$COMM/mpif.h $PREFIX/libdata/$ARCH/$COMM + if [ -s romio/include/mpio.h ] ; then +- CopyFile romio/include/mpio.h $PREFIX/lib/$ARCH/$COMM +- CopyFile romio/include/mpiof.h $PREFIX/lib/$ARCH/$COMM ++ CopyFile romio/include/mpio.h $PREFIX/libdata/$ARCH/$COMM ++ CopyFile romio/include/mpiof.h $PREFIX/libdata/$ARCH/$COMM + fi +@@ -601,8 +604,8 @@ + CopyFile mpid/ch_p4/p4/bin/serv_p4 $PREFIX/bin $XMODE +- CopyFile $PREFIX/bin/serv_p4 $PREFIX/lib/$ARCH/$COMM $XMODE ++ CopyFile $PREFIX/bin/serv_p4 $PREFIX/libdata/$ARCH/$COMM $XMODE + $Show /bin/rm -f util/chp4_servs +- FixupFile util/chp4_servs.in $PREFIX/util/chp4_servs $XMODE +- CopyFile $PREFIX/util/chp4_servs $PREFIX/lib/$ARCH/$COMM $XMODE +- CopyFile util/chkserv $PREFIX/util/chkserv $XMODE +- CopyFile $PREFIX/util/chkserv $PREFIX/lib/$ARCH/$COMM $XMODE ++ FixupFile util/chp4_servs.in $PREFIX/share/util/chp4_servs $XMODE ++ CopyFile $PREFIX/share/util/chp4_servs $PREFIX/libdata/$ARCH/$COMM $XMODE ++ CopyFile util/chkserv $PREFIX/share/util/chkserv $XMODE ++ CopyFile $PREFIX/share/util/chkserv $PREFIX/libdata/$ARCH/$COMM $XMODE + fi +@@ -617,8 +620,8 @@ + CopyFile mpid/server/server $PREFIX/bin $XMODE +- CopyFile mpid/server/server $PREFIX/lib/$ARCH/$COMM $XMODE ++ CopyFile mpid/server/server $PREFIX/libdata/$ARCH/$COMM $XMODE + $Show /bin/rm -f util/chp4_servs +- FixupFile util/chp4_servs.in $PREFIX/util/chp4_servs $XMODE +- CopyFile $PREFIX/util/chp4_servs $PREFIX/lib/$ARCH/$COMM $XMODE +- CopyFile util/chkserv $PREFIX/util/chkserv $XMODE +- CopyFile $PREFIX/util/chkserv $PREFIX/lib/$ARCH/$COMM $XMODE ++ FixupFile util/chp4_servs.in $PREFIX/share/util/chp4_servs $XMODE ++ CopyFile $PREFIX/share/util/chp4_servs $PREFIX/libdata/$ARCH/$COMM $XMODE ++ CopyFile util/chkserv $PREFIX/share/util/chkserv $XMODE ++ CopyFile $PREFIX/share/util/chkserv $PREFIX/libdata/$ARCH/$COMM $XMODE + else +@@ -631,7 +634,7 @@ + # Machines database +- # if [ ! -d $PREFIX/util/machines.anl ] ; then \ +- # mkdir $PREFIX/util/machines.anl ; fi +- # $CPRP -r util/machines $PREFIX/util/machines.anl ++ # if [ ! -d $PREFIX/share/util/machines.anl ] ; then \ ++ # mkdir $PREFIX/share/util/machines.anl ; fi ++ # $CPRP -r util/machines $PREFIX/share/util/machines.anl + for file in util/machines/machines* ; do +- CopyFile $file $PREFIX/util/machines ++ CopyFile $file $PREFIX/share/util/machines + done +@@ -639,3 +642,3 @@ + if [ -f $file ] ; then +- CopyFile $file $PREFIX/lib/bitmaps ++ CopyFile $file $PREFIX/libdata/bitmaps + fi +@@ -651,4 +654,4 @@ + CopyFile include/patchlevel.h $PREFIX/include +- CopyFile lib/$ARCH/$COMM/mpichconf.h $PREFIX/lib/$ARCH/$COMM +- CopyFile lib/$ARCH/$COMM/mpidefs.h $PREFIX/lib/$ARCH/$COMM ++ CopyFile lib/$ARCH/$COMM/mpichconf.h $PREFIX/libdata/$ARCH/$COMM ++ CopyFile lib/$ARCH/$COMM/mpidefs.h $PREFIX/libdata/$ARCH/$COMM + CopyFile mpe/mpe.h $PREFIX/include +@@ -659,4 +662,4 @@ + if [ -s romio/include/mpio.h ] ; then +- CopyFile romio/include/mpio.h $PREFIX/lib/$ARCH/$COMM +- CopyFile romio/include/mpiof.h $PREFIX/lib/$ARCH/$COMM ++ CopyFile romio/include/mpio.h $PREFIX/libdata/$ARCH/$COMM ++ CopyFile romio/include/mpiof.h $PREFIX/libdata/$ARCH/$COMM + fi +@@ -666,7 +669,7 @@ + if [ -n "$CPP_DIR" -a "$buildcpp" = 1 ] ; then +- if [ ! -d $PREFIX/lib/$ARCH/$COMM/c++ ] ; then +- MkDir $PREFIX/lib/$ARCH/$COMM/c++ ++ if [ ! -d $PREFIX/libdata/$ARCH/$COMM/c++ ] ; then ++ MkDir $PREFIX/libdata/$ARCH/$COMM/c++ + fi + for file in `ls MPI-2-C++/src/*.h`; do +- CopyFile $file $PREFIX/lib/$ARCH/$COMM/c++ ++ CopyFile $file $PREFIX/libdata/$ARCH/$COMM/c++ + done +@@ -677,3 +680,3 @@ + if [ -f $file ] ; then +- CopyFileP $file $PREFIX/lib/$ARCH/$COMM ++ CopyFileP $file $PREFIX/libdata/$ARCH/$COMM + fi +@@ -686,3 +689,3 @@ + if [ -x lib/$ARCH/$COMM/$file ] ; then +- CopyFileP lib/$ARCH/$COMM/$file $PREFIX/lib/$ARCH/$COMM ++ CopyFileP lib/$ARCH/$COMM/$file $PREFIX/libdata/$ARCH/$COMM + fi +@@ -698,4 +701,4 @@ + if [ -f lib/$ARCH/mpich.En_US.cat ] ; then +- $Show ln -s $PREFIX/lib/$ARCH/mpich.En_US.cat \ +- $PREFIX/lib/$ARCH/mpich.cat ++ $Show ln -s $PREFIX/libdata/$ARCH/mpich.En_US.cat \ ++ $PREFIX/libdata/$ARCH/mpich.cat + fi +@@ -703,3 +706,3 @@ + # This will handle the case of no mpich.* matches +- CopyFile $file $PREFIX/lib/$ARCH ++ CopyFile $file $PREFIX/libdata/$ARCH + fi +@@ -709,3 +712,3 @@ + # Other files in lib need to be updated... +-CopyFile lib/$ARCH/$COMM/mpidefs.h $PREFIX/lib/$ARCH/$COMM ++CopyFile lib/$ARCH/$COMM/mpidefs.h $PREFIX/libdata/$ARCH/$COMM + # +@@ -737,3 +740,3 @@ + if [ -f $file ] ; then +- CopyFile doc/$file $PREFIX/doc ++ CopyFile doc/$file $PREFIX/share/doc/mpi + fi +@@ -742,6 +745,6 @@ + if [ -f ref/adiman.ps.Z ] ; then +- CopyFile ref/adiman.ps.Z $PREFIX/doc ++ CopyFile ref/adiman.ps.Z $PREFIX/share/doc/mpi + fi + if [ -f ref/mpiman.ps.Z ] ; then +- CopyFile ref/mpiman.ps.Z $PREFIX/doc ++ CopyFile ref/mpiman.ps.Z $PREFIX/share/doc/mpi + fi +@@ -757,12 +760,12 @@ + sed -e "s%MPIR_HOME=.*\$%MPIR_HOME='$PREFIX'%g" \ +- -e "s%^LIB_PATH=\([^/ ]*\)/[^ ']*%LIB_PATH=\1$PREFIX/lib/$ARCH/$COMM%g" \ +- -e "s%^FLIB_PATH=\([^/ ]*\)/[^ ']*%FLIB_PATH=\1$PREFIX/lib/$ARCH/$COMM%g" \ ++ -e "s%^LIB_PATH=\([^/ ]*\)/[^ ']*%LIB_PATH=\1$PREFIX/libdata/$ARCH/$COMM%g" \ ++ -e "s%^FLIB_PATH=\([^/ ]*\)/[^ ']*%FLIB_PATH=\1$PREFIX/libdata/$ARCH/$COMM%g" \ + -e "s%MPE_DIR=.*\$%MPE_DIR='$PREFIX/mpe'%g" \ +- -e "s%^MPICC=\([^/ ]*\)/.*\$%MPICC=$PREFIX/lib/$ARCH/$COMM/mpicc%g" \ +- -e "s%^MPIF77=\([^/ ]*\)/.*\$%MPIF77=$PREFIX/lib/$ARCH/$COMM/mpif77%g" \ +- -e "s%^MPIF90=\([^/ ]*\)/.*\$%MPIF90=$PREFIX/lib/$ARCH/$COMM/mpif90%g" \ +- -e "s%^MPICPLUSPLUS=\([^/ ]*\)/.*\$%MPICPLUSPLUS=$PREFIX/lib/$ARCH/$COMM/mpiCC%g" \ +- > $PREFIX/lib/$ARCH/$COMM/config.status +- echo "/bin/rm -f $PREFIX/lib/$ARCH/$COMM/config.status" >> $UNINSTALLFILE +- chmod $XMODE $PREFIX/lib/$ARCH/$COMM/config.status ++ -e "s%^MPICC=\([^/ ]*\)/.*\$%MPICC=$PREFIX/libdata/$ARCH/$COMM/mpicc%g" \ ++ -e "s%^MPIF77=\([^/ ]*\)/.*\$%MPIF77=$PREFIX/libdata/$ARCH/$COMM/mpif77%g" \ ++ -e "s%^MPIF90=\([^/ ]*\)/.*\$%MPIF90=$PREFIX/libdata/$ARCH/$COMM/mpif90%g" \ ++ -e "s%^MPICPLUSPLUS=\([^/ ]*\)/.*\$%MPICPLUSPLUS=$PREFIX/libdata/$ARCH/$COMM/mpiCC%g" \ ++ > $PREFIX/libdata/$ARCH/$COMM/config.status ++ echo "/bin/rm -f $PREFIX/libdata/$ARCH/$COMM/config.status" >> $UNINSTALLFILE ++ chmod $XMODE $PREFIX/libdata/$ARCH/$COMM/config.status + else +@@ -771,11 +774,11 @@ + sed -e "s%MPIR_HOME=.*\$%MPIR_HOME='$PREFIX'%g" \ +- -e "s%^LIB_PATH=\([^/ ]*\)/[^ ']*%LIB_PATH=\1$PREFIX/lib/$ARCH/$COMM%g" \ +- -e "s%^FLIB_PATH=\([^/ ]*\)/[^ ']*%FLIB_PATH=\1$PREFIX/lib/$ARCH/$COMM%g" \ ++ -e "s%^LIB_PATH=\([^/ ]*\)/[^ ']*%LIB_PATH=\1$PREFIX/libdata/$ARCH/$COMM%g" \ ++ -e "s%^FLIB_PATH=\([^/ ]*\)/[^ ']*%FLIB_PATH=\1$PREFIX/libdata/$ARCH/$COMM%g" \ + -e "s%MPE_DIR=.*\$%MPE_DIR='$PREFIX/mpe'%g" \ +- -e "s%^MPICC=\([^/ ]*\)/.*\$%MPICC=$PREFIX/lib/$ARCH/$COMM/mpicc%g" \ +- -e "s%^MPIF77=\([^/ ]*\)/.*\$%MPIF77=$PREFIX/lib/$ARCH/$COMM/mpif77%g" \ +- -e "s%^MPIF90=\([^/ ]*\)/.*\$%MPIF90=$PREFIX/lib/$ARCH/$COMM/mpif90%g" \ +- -e "s%^MPICPLUSPLUS=\([^/ ]*\)/.*\$%MPICPLUSPLUS=$PREFIX/lib/$ARCH/$COMM/mpiCC%g" \ +- > $PREFIX/lib/$ARCH/$COMM/config.status +- chmod $XMODE $PREFIX/lib/$ARCH/$COMM/config.status ++ -e "s%^MPICC=\([^/ ]*\)/.*\$%MPICC=$PREFIX/libdata/$ARCH/$COMM/mpicc%g" \ ++ -e "s%^MPIF77=\([^/ ]*\)/.*\$%MPIF77=$PREFIX/libdata/$ARCH/$COMM/mpif77%g" \ ++ -e "s%^MPIF90=\([^/ ]*\)/.*\$%MPIF90=$PREFIX/libdata/$ARCH/$COMM/mpif90%g" \ ++ -e "s%^MPICPLUSPLUS=\([^/ ]*\)/.*\$%MPICPLUSPLUS=$PREFIX/libdata/$ARCH/$COMM/mpiCC%g" \ ++ > $PREFIX/libdata/$ARCH/$COMM/config.status ++ chmod $XMODE $PREFIX/libdata/$ARCH/$COMM/config.status + . +@@ -783,7 +786,7 @@ + if [ -z "$libonly" ] ; then +- #CopyFile $PREFIX/lib/$ARCH/$COMM/config.status $PREFIX ++ #CopyFile $PREFIX/libdata/$ARCH/$COMM/config.status $PREFIX + # +- $Show /bin/rm -f $PREFIX/examples/mpif.h +- $Show ln -s $PREFIX/include/mpif.h $PREFIX/examples/mpif.h +- echo "/bin/rm -f $PREFIX/examples/mpif.h" >> $UNINSTALLFILE ++ $Show /bin/rm -f $PREFIX/share/examples/mpi/mpif.h ++ $Show ln -s $PREFIX/include/mpif.h $PREFIX/share/examples/mpi/mpif.h ++ echo "/bin/rm -f $PREFIX/share/examples/mpi/mpif.h" >> $UNINSTALLFILE + fi +@@ -791,3 +794,3 @@ + # Example programs +-CopyFile installtest/Makefile.in $PREFIX/examples ++CopyFile installtest/Makefile.in $PREFIX/share/examples/mpi + # +@@ -796,24 +799,24 @@ + PREFIX=$APREFIX +-#FixupFile installtest/makefile.proto $PREFIX/examples/Makefile +-(cd $PREFIX/examples ; $PREFIX/lib/$ARCH/$COMM/mpireconfig Makefile ) +-echo "(cd $PREFIX/examples ; $MAKE clean)" >> $UNINSTALLFILE +-echo "/bin/rm -f $PREFIX/examples/Makefile" >> $UNINSTALLFILE ++#FixupFile installtest/makefile.proto $PREFIX/share/examples/mpi/Makefile ++(cd $PREFIX/share/examples/mpi ; $PREFIX/libdata/$ARCH/$COMM/mpireconfig Makefile ) ++echo "(cd $PREFIX/share/examples/mpi ; $MAKE clean)" >> $UNINSTALLFILE ++echo "/bin/rm -f $PREFIX/share/examples/mpi/Makefile" >> $UNINSTALLFILE + PREFIX=$Savevar +-CopyFile $PREFIX/examples/Makefile $PREFIX/lib/$ARCH/$COMM/Makefile.sample +-CopyFile installtest/cpi.c $PREFIX/examples +-CopyFile installtest/pi3.f $PREFIX/examples +-CopyFile installtest/cpilog.c $PREFIX/examples +-CopyFile installtest/hello++.cc $PREFIX/examples ++CopyFile $PREFIX/share/examples/mpi/Makefile $PREFIX/libdata/$ARCH/$COMM/Makefile.sample ++CopyFile installtest/cpi.c $PREFIX/share/examples/mpi ++CopyFile installtest/pi3.f $PREFIX/share/examples/mpi ++CopyFile installtest/cpilog.c $PREFIX/share/examples/mpi ++CopyFile installtest/hello++.cc $PREFIX/share/examples/mpi + if [ -s romio/test/simple.c ] ; then +- CopyFile romio/test/simple.c $PREFIX/examples/simpleio.c ++ CopyFile romio/test/simple.c $PREFIX/share/examples/mpi/simpleio.c + fi +-CopyFile installtest/README $PREFIX/examples ++CopyFile installtest/README $PREFIX/share/examples/mpi + # + # Test build the examples +-$Show "(cd $PREFIX/examples ; /bin/rm -f mpirun ; \ ++$Show "(cd $PREFIX/share/examples/mpi ; /bin/rm -f mpirun ; \ + ln -s ../bin/mpirun mpirun )" +-echo "/bin/rm -f $PREFIX/examples/mpirun" >> $UNINSTALLFILE ++echo "/bin/rm -f $PREFIX/share/examples/mpi/mpirun" >> $UNINSTALLFILE + # + echo "About to run installation test..." +-$Show "(cd $PREFIX/examples; $MAKE all )" ++$Show "(cd $PREFIX/share/examples/mpi; $MAKE all )" + # +@@ -823,24 +826,24 @@ + # C++ Example programs +- CopyFile installtest/mpi-2-c++/Makefile.in $PREFIX/$CPP_DIR/examples ++ CopyFile installtest/mpi-2-c++/Makefile.in $PREFIX/share/examples/$CPP_DIR + # + PREFIX=$APREFIX +- (cd $PREFIX/$CPP_DIR/examples ; $PREFIX/lib/$ARCH/$COMM/mpireconfig Makefile ) +- echo "(cd $PREFIX/$CPP_DIR/examples ; $MAKE clean)" >> $UNINSTALLFILE +- echo "/bin/rm -f $PREFIX/$CPP_DIR/examples/Makefile" >> $UNINSTALLFILE ++ (cd $PREFIX/share/examples/$CPP_DIR ; $PREFIX/libdata/$ARCH/$COMM/mpireconfig Makefile ) ++ echo "(cd $PREFIX/share/examples/$CPP_DIR ; $MAKE clean)" >> $UNINSTALLFILE ++ echo "/bin/rm -f $PREFIX/share/examples/$CPP_DIR/Makefile" >> $UNINSTALLFILE + PREFIX=$Savevar +- CopyFile $CPP_DIR/contrib/examples/hello_world.cc $PREFIX/$CPP_DIR/examples +- CopyFile $CPP_DIR/contrib/examples/ring.cc $PREFIX/$CPP_DIR/examples +- CopyFile $CPP_DIR/contrib/examples/topology.cc $PREFIX/$CPP_DIR/examples +- CopyFile $CPP_DIR/contrib/examples/user_bcast.cc $PREFIX/$CPP_DIR/examples +- CopyFile $CPP_DIR/contrib/examples/chapter_10_mpi2.cc $PREFIX/$CPP_DIR/examples +- CopyFile $CPP_DIR/contrib/examples/pi.cc $PREFIX/$CPP_DIR/examples +- CopyFile $CPP_DIR/contrib/examples/README $PREFIX/$CPP_DIR/examples ++ CopyFile $CPP_DIR/contrib/examples/hello_world.cc $PREFIX/share/examples/$CPP_DIR ++ CopyFile $CPP_DIR/contrib/examples/ring.cc $PREFIX/share/examples/$CPP_DIR ++ CopyFile $CPP_DIR/contrib/examples/topology.cc $PREFIX/share/examples/$CPP_DIR ++ CopyFile $CPP_DIR/contrib/examples/user_bcast.cc $PREFIX/share/examples/$CPP_DIR ++ CopyFile $CPP_DIR/contrib/examples/chapter_10_mpi2.cc $PREFIX/share/examples/$CPP_DIR ++ CopyFile $CPP_DIR/contrib/examples/pi.cc $PREFIX/share/examples/$CPP_DIR ++ CopyFile $CPP_DIR/contrib/examples/README $PREFIX/share/examples/$CPP_DIR + # + # Test build the C++ examples +- $Show "(cd $PREFIX/$CPP_DIR/examples ; /bin/rm -f mpirun ; \ ++ $Show "(cd $PREFIX/share/examples/$CPP_DIR ; /bin/rm -f mpirun ; \ + ln -s ../../bin/mpirun mpirun )" +- echo "/bin/rm -f $PREFIX/$CPP_DIR/examples/mpirun" >> $UNINSTALLFILE ++ echo "/bin/rm -f $PREFIX/share/examples/$CPP_DIR/mpirun" >> $UNINSTALLFILE + # + echo "About to run C++ installation test..." +- $Show "(cd $PREFIX/$CPP_DIR/examples; $MAKE)" ++ $Show "(cd $PREFIX/share/examples/$CPP_DIR; $MAKE)" + # diff --git a/parallel/mpi-ch/patches/patch-am b/parallel/mpi-ch/patches/patch-am new file mode 100644 index 00000000000..9b0e9e61fd2 --- /dev/null +++ b/parallel/mpi-ch/patches/patch-am @@ -0,0 +1,8 @@ +$NetBSD: patch-am,v 1.1.1.1 1998/10/13 23:31:04 garbled Exp $ +--- mpe/profiling/nupshot/tkAppInit.c.orig Thu Aug 6 05:46:29 1998 ++++ mpe/profiling/nupshot/tkAppInit.c Thu Aug 6 05:46:42 1998 +@@ -100,3 +100,3 @@ + +- tcl_RcFileName = "~/.wishrc"; ++/* tcl_RcFileName = "~/.wishrc";*/ + return TCL_OK; diff --git a/parallel/mpi-ch/pkg/COMMENT b/parallel/mpi-ch/pkg/COMMENT new file mode 100644 index 00000000000..93b7aff501e --- /dev/null +++ b/parallel/mpi-ch/pkg/COMMENT @@ -0,0 +1 @@ +a free implementation of the Message Passing Interface. diff --git a/parallel/mpi-ch/pkg/DESCR b/parallel/mpi-ch/pkg/DESCR new file mode 100644 index 00000000000..1e757620c50 --- /dev/null +++ b/parallel/mpi-ch/pkg/DESCR @@ -0,0 +1,7 @@ +MPICH is a freely available, portable implementation of MPI, the new +Standard for message-passing libraries. + +Documentation on installing and using MPICH is available, as well as +manual pages for the routines and commands. + +http://www.mcs.anl.gov/mpi/mpich/index.html diff --git a/parallel/mpi-ch/pkg/PLIST b/parallel/mpi-ch/pkg/PLIST new file mode 100644 index 00000000000..bda874cf161 --- /dev/null +++ b/parallel/mpi-ch/pkg/PLIST @@ -0,0 +1,567 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 1998/10/13 23:31:04 garbled Exp $ +bin/tarch +bin/tdevice +bin/mpiman +bin/upshot +bin/mpireconfig +bin/mpirun.args +bin/mpirun.pg +bin/mpirun.ch_p4 +bin/tstmachines +bin/mpirun +bin/execer +bin/mpicc +bin/mpif77 +bin/mpif90 +bin/mpiCC +bin/serv_p4 +bin/server +man/man1/MPI.1 +man/man1/chp4_servs.1 +man/man1/mpiCC.1 +man/man1/mpicc.1 +man/man1/mpif77.1 +man/man1/mpif90.1 +man/man1/mpiman.1 +man/man1/mpireconfig.1 +man/man1/mpirun.1 +man/man1/tstmachines.1 +man/man3/Constants.3 +man/man3/MPIR_Init.3 +man/man3/MPI_2COMPLEX.3 +man/man3/MPI_2DOUBLE_COMPLEX.3 +man/man3/MPI_2DOUBLE_PRECISION.3 +man/man3/MPI_2INT.3 +man/man3/MPI_2INTEGER.3 +man/man3/MPI_2REAL.3 +man/man3/MPI_ANY_SOURCE.3 +man/man3/MPI_ANY_TAG.3 +man/man3/MPI_Abort.3 +man/man3/MPI_Address.3 +man/man3/MPI_Aint.3 +man/man3/MPI_Allgather.3 +man/man3/MPI_Allgatherv.3 +man/man3/MPI_Allreduce.3 +man/man3/MPI_Alltoall.3 +man/man3/MPI_Alltoallv.3 +man/man3/MPI_Attr_delete.3 +man/man3/MPI_Attr_get.3 +man/man3/MPI_Attr_put.3 +man/man3/MPI_BAND.3 +man/man3/MPI_BOR.3 +man/man3/MPI_BOTTOM.3 +man/man3/MPI_BSEND_OVERHEAD.3 +man/man3/MPI_BXOR.3 +man/man3/MPI_BYTE.3 +man/man3/MPI_Barrier.3 +man/man3/MPI_Bcast.3 +man/man3/MPI_Bsend.3 +man/man3/MPI_Bsend_init.3 +man/man3/MPI_Buffer_attach.3 +man/man3/MPI_Buffer_detach.3 +man/man3/MPI_CART.3 +man/man3/MPI_CHAR.3 +man/man3/MPI_COMM_NULL.3 +man/man3/MPI_COMM_SELF.3 +man/man3/MPI_COMM_WORLD.3 +man/man3/MPI_COMPLEX.3 +man/man3/MPI_CONGRUENT.3 +man/man3/MPI_Cancel.3 +man/man3/MPI_Cart_coords.3 +man/man3/MPI_Cart_create.3 +man/man3/MPI_Cart_get.3 +man/man3/MPI_Cart_map.3 +man/man3/MPI_Cart_rank.3 +man/man3/MPI_Cart_shift.3 +man/man3/MPI_Cart_sub.3 +man/man3/MPI_Cartdim_get.3 +man/man3/MPI_Comm_compare.3 +man/man3/MPI_Comm_create.3 +man/man3/MPI_Comm_dup.3 +man/man3/MPI_Comm_free.3 +man/man3/MPI_Comm_group.3 +man/man3/MPI_Comm_rank.3 +man/man3/MPI_Comm_remote_group.3 +man/man3/MPI_Comm_remote_size.3 +man/man3/MPI_Comm_size.3 +man/man3/MPI_Comm_split.3 +man/man3/MPI_Comm_test_inter.3 +man/man3/MPI_Copy_function.3 +man/man3/MPI_DATATYPE_NULL.3 +man/man3/MPI_DOUBLE.3 +man/man3/MPI_DUP_FN.3 +man/man3/MPI_DOUBLE_COMPLEX.3 +man/man3/MPI_DOUBLE_INT.3 +man/man3/MPI_DOUBLE_PRECISION.3 +man/man3/MPI_Delete_function.3 +man/man3/MPI_Dims_create.3 +man/man3/MPI_ERRHANDLER_NULL.3 +man/man3/MPI_ERROR.3 +man/man3/MPI_ERRORS_ARE_FATAL.3 +man/man3/MPI_ERRORS_RETURN.3 +man/man3/MPI_ERR_ARG.3 +man/man3/MPI_ERR_BAD_ARGS.3 +man/man3/MPI_ERR_BUFFER.3 +man/man3/MPI_ERR_BUFFER_EXISTS.3 +man/man3/MPI_ERR_COMM.3 +man/man3/MPI_ERR_COMM_INTER.3 +man/man3/MPI_ERR_COMM_INTRA.3 +man/man3/MPI_ERR_COMM_NULL.3 +man/man3/MPI_FLOAT.3 +man/man3/MPI_ERR_COUNT.3 +man/man3/MPI_ERR_DIMS.3 +man/man3/MPI_ERR_ERRORCODE.3 +man/man3/MPI_ERR_EXHAUSTED.3 +man/man3/MPI_ERR_GROUP.3 +man/man3/MPI_ERR_INIT.3 +man/man3/MPI_ERR_INTERN.3 +man/man3/MPI_ERR_IN_STATUS.3 +man/man3/MPI_ERR_LASTCODE.3 +man/man3/MPI_ERR_LIMIT.3 +man/man3/MPI_ERR_NOMATCH.3 +man/man3/MPI_ERR_NULL.3 +man/man3/MPI_ERR_OP.3 +man/man3/MPI_ERR_OTHER.3 +man/man3/MPI_ERR_PERM_KEY.3 +man/man3/MPI_ERR_PERM_OP.3 +man/man3/MPI_ERR_PERM_TYPE.3 +man/man3/MPI_ERR_PRE_INIT.3 +man/man3/MPI_ERR_RANK.3 +man/man3/MPI_ERR_REQUEST.3 +man/man3/MPI_ERR_ROOT.3 +man/man3/MPI_ERR_TAG.3 +man/man3/MPI_ERR_TOPOLOGY.3 +man/man3/MPI_ERR_TRUNCATE.3 +man/man3/MPI_ERR_TYPE.3 +man/man3/MPI_ERR_UNKNOWN.3 +man/man3/MPI_Errhandler_create.3 +man/man3/MPI_Errhandler_free.3 +man/man3/MPI_Errhandler_get.3 +man/man3/MPI_Errhandler_set.3 +man/man3/MPI_Error_class.3 +man/man3/MPI_Error_string.3 +man/man3/MPI_FLOAT_INT.3 +man/man3/MPI_Finalize.3 +man/man3/MPI_Finalized.3 +man/man3/MPI_GRAPH.3 +man/man3/MPI_GROUP_EMPTY.3 +man/man3/MPI_Gather.3 +man/man3/MPI_GROUP_NULL.3 +man/man3/MPI_Gatherv.3 +man/man3/MPI_Get_count.3 +man/man3/MPI_Get_elements.3 +man/man3/MPI_Get_processor_name.3 +man/man3/MPI_Get_version.3 +man/man3/MPI_Graph_create.3 +man/man3/MPI_Graph_get.3 +man/man3/MPI_Graph_map.3 +man/man3/MPI_Graph_neighbors.3 +man/man3/MPI_Graph_neighbors_count.3 +man/man3/MPI_Graphdims_get.3 +man/man3/MPI_Group_compare.3 +man/man3/MPI_Group_difference.3 +man/man3/MPI_Group_excl.3 +man/man3/MPI_Group_free.3 +man/man3/MPI_Group_incl.3 +man/man3/MPI_Group_rank.3 +man/man3/MPI_Group_intersection.3 +man/man3/MPI_Group_range_excl.3 +man/man3/MPI_Group_range_incl.3 +man/man3/MPI_Group_size.3 +man/man3/MPI_Group_translate_ranks.3 +man/man3/MPI_Group_union.3 +man/man3/MPI_HOST.3 +man/man3/MPI_Handler_function.3 +man/man3/MPI_IDENT.3 +man/man3/MPI_INT.3 +man/man3/MPI_INTEGER.3 +man/man3/MPI_INTEGER1.3 +man/man3/MPI_INTEGER2.3 +man/man3/MPI_INTEGER4.3 +man/man3/MPI_IO.3 +man/man3/MPI_Ibsend.3 +man/man3/MPI_Info_c2f.3 +man/man3/MPI_Info_create.3 +man/man3/MPI_Info_delete.3 +man/man3/MPI_Info_dup.3 +man/man3/MPI_Info_f2c.3 +man/man3/MPI_Info_free.3 +man/man3/MPI_Info_get.3 +man/man3/MPI_Info_get_nkeys.3 +man/man3/MPI_Info_get_nthkey.3 +man/man3/MPI_Info_get_valuelen.3 +man/man3/MPI_Info_set.3 +man/man3/MPI_Init.3 +man/man3/MPI_Initialized.3 +man/man3/MPI_Int2handle.3 +man/man3/MPI_Intercomm_create.3 +man/man3/MPI_Intercomm_merge.3 +man/man3/MPI_Iprobe.3 +man/man3/MPI_Irecv.3 +man/man3/MPI_Irsend.3 +man/man3/MPI_Isend.3 +man/man3/MPI_Issend.3 +man/man3/MPI_KEYVAL_INVALID.3 +man/man3/MPI_Keyval_create.3 +man/man3/MPI_Keyval_free.3 +man/man3/MPI_LAND.3 +man/man3/MPI_LB.3 +man/man3/MPI_LOGICAL.3 +man/man3/MPI_LONG.3 +man/man3/MPI_LONG_DOUBLE.3 +man/man3/MPI_LONG_DOUBLE_INT.3 +man/man3/MPI_LONG_INT.3 +man/man3/MPI_LONG_LONG_INT.3 +man/man3/MPI_LOR.3 +man/man3/MPI_LXOR.3 +man/man3/MPI_MAX.3 +man/man3/MPI_MAXLOC.3 +man/man3/MPI_MAX_ERROR_STRING.3 +man/man3/MPI_MAX_PROCESSOR_NAME.3 +man/man3/MPI_MIN.3 +man/man3/MPI_MINLOC.3 +man/man3/MPI_NULL_COPY_FN.3 +man/man3/MPI_NULL_DELETE_FN.3 +man/man3/MPI_OP_NULL.3 +man/man3/MPI_Op_create.3 +man/man3/MPI_Op_free.3 +man/man3/MPI_PACKED.3 +man/man3/MPI_PROC_NULL.3 +man/man3/MPI_PROD.3 +man/man3/MPI_Pack.3 +man/man3/MPI_Pack_size.3 +man/man3/MPI_Pcontrol.3 +man/man3/MPI_Probe.3 +man/man3/MPI_REAL.3 +man/man3/MPI_REAL4.3 +man/man3/MPI_REAL8.3 +man/man3/MPI_REQUEST_NULL.3 +man/man3/MPI_Recv.3 +man/man3/MPI_Recv_init.3 +man/man3/MPI_Reduce.3 +man/man3/MPI_Reduce_scatter.3 +man/man3/MPI_Request_c2f.3 +man/man3/MPI_Request_free.3 +man/man3/MPI_Rsend.3 +man/man3/MPI_SHORT.3 +man/man3/MPI_Rsend_init.3 +man/man3/MPI_SHORT_INT.3 +man/man3/MPI_SIMILAR.3 +man/man3/MPI_SOURCE.3 +man/man3/MPI_SUCCESS.3 +man/man3/MPI_SUM.3 +man/man3/MPI_Scan.3 +man/man3/MPI_Scatter.3 +man/man3/MPI_Scatterv.3 +man/man3/MPI_Send.3 +man/man3/MPI_Send_init.3 +man/man3/MPI_Sendrecv.3 +man/man3/MPI_Sendrecv_replace.3 +man/man3/MPI_Ssend.3 +man/man3/MPI_Ssend_init.3 +man/man3/MPI_Start.3 +man/man3/MPI_Startall.3 +man/man3/MPI_Status_c2f.3 +man/man3/MPI_Status_f2c.3 +man/man3/MPI_TAG.3 +man/man3/MPI_TAG_UB.3 +man/man3/MPI_Test.3 +man/man3/MPI_Test_cancelled.3 +man/man3/MPI_Testall.3 +man/man3/MPI_Testany.3 +man/man3/MPI_Testsome.3 +man/man3/MPI_Topo_test.3 +man/man3/MPI_Type_commit.3 +man/man3/MPI_Type_contiguous.3 +man/man3/MPI_Type_count.3 +man/man3/MPI_Type_create_darray.3 +man/man3/MPI_Type_create_indexed_block.3 +man/man3/MPI_Type_create_subarray.3 +man/man3/MPI_Type_extent.3 +man/man3/MPI_Type_free.3 +man/man3/MPI_Type_get_contents.3 +man/man3/MPI_Type_get_envelope.3 +man/man3/MPI_Type_hindexed.3 +man/man3/MPI_UB.3 +man/man3/MPI_Type_hvector.3 +man/man3/MPI_Type_indexed.3 +man/man3/MPI_Type_lb.3 +man/man3/MPI_Type_size.3 +man/man3/MPI_Type_struct.3 +man/man3/MPI_Type_ub.3 +man/man3/MPI_Type_vector.3 +man/man3/MPI_UNDEFINED.3 +man/man3/MPI_UNDEFINED_RANK.3 +man/man3/MPI_UNEQUAL.3 +man/man3/MPI_UNSIGNED.3 +man/man3/MPI_UNSIGNED_CHAR.3 +man/man3/MPI_UNSIGNED_LONG.3 +man/man3/MPI_UNSIGNED_SHORT.3 +man/man3/MPI_Unpack.3 +man/man3/MPI_User_function.3 +man/man3/MPI_WTIME_IS_GLOBAL.3 +man/man3/MPI_Wait.3 +man/man3/MPI_Waitall.3 +man/man3/MPI_Waitany.3 +man/man3/MPI_Waitsome.3 +man/man3/MPI_Wtick.3 +man/man3/MPI_Wtime.3 +man/man3/MPIO_Request_c2f.3 +man/man3/MPIO_Request_f2c.3 +man/man3/MPIO_Test.3 +man/man3/MPIO_Wait.3 +man/man3/MPI_File_c2f.3 +man/man3/MPI_File_close.3 +man/man3/MPI_File_delete.3 +man/man3/MPI_File_f2c.3 +man/man3/MPI_File_get_amode.3 +man/man3/MPI_File_get_atomicity.3 +man/man3/MPI_File_get_byte_offset.3 +man/man3/MPI_File_get_group.3 +man/man3/MPI_File_get_info.3 +man/man3/MPI_File_get_position.3 +man/man3/MPI_File_get_size.3 +man/man3/MPI_File_get_type_extent.3 +man/man3/MPI_File_get_view.3 +man/man3/MPI_File_iread.3 +man/man3/MPI_File_iread_at.3 +man/man3/MPI_File_iwrite.3 +man/man3/MPI_File_iwrite_at.3 +man/man3/MPI_File_open.3 +man/man3/MPI_File_preallocate.3 +man/man3/MPI_File_read.3 +man/man3/MPI_File_read_all.3 +man/man3/MPI_File_read_at.3 +man/man3/MPI_File_read_at_all.3 +man/man3/MPI_File_seek.3 +man/man3/MPI_File_set_atomicity.3 +man/man3/MPI_File_set_info.3 +man/man3/MPI_File_set_size.3 +man/man3/MPI_File_set_view.3 +man/man3/MPI_File_sync.3 +man/man3/MPI_File_write.3 +man/man3/MPI_File_write_all.3 +man/man3/MPI_File_write_at.3 +man/man3/MPI_File_write_at_all.3 +man/man4/CLOG_Finalize.4 +man/man4/CLOG_Init.4 +man/man4/CLOG_Output.4 +man/man4/CLOG_commtype.4 +man/man4/CLOG_cput.4 +man/man4/CLOG_csync.4 +man/man4/CLOG_get_new_event.4 +man/man4/CLOG_get_new_state.4 +man/man4/CLOG_mergelogs.4 +man/man4/CLOG_mergend.4 +man/man4/CLOG_msgtype.4 +man/man4/CLOG_newbuff.4 +man/man4/CLOG_procbuf.4 +man/man4/CLOG_reclen.4 +man/man4/CLOG_rectype.4 +man/man4/CLOG_treesetup.4 +man/man4/MPE_Add_RGB_color.4 +man/man4/MPE_CaptureFile.4 +man/man4/MPE_Close_graphics.4 +man/man4/MPE_Comm_global_rank.4 +man/man4/MPE_Counter_create.4 +man/man4/MPE_Counter_free.4 +man/man4/MPE_Counter_nxtval.4 +man/man4/MPE_Decomp1d.4 +man/man4/MPE_Describe_event.4 +man/man4/MPE_Describe_state.4 +man/man4/MPE_Draw_circle.4 +man/man4/MPE_Draw_line.4 +man/man4/MPE_Draw_logic.4 +man/man4/MPE_Draw_point.4 +man/man4/MPE_Draw_points.4 +man/man4/MPE_Draw_string.4 +man/man4/MPE_Errors_call_debugger.4 +man/man4/MPE_Fill_circle.4 +man/man4/MPE_Fill_rectangle.4 +man/man4/MPE_Finish_log.4 +man/man4/MPE_GetTags.4 +man/man4/MPE_Get_mouse_press.4 +man/man4/MPE_IO_Stdout_to_file.4 +man/man4/MPE_Iget_mouse_press.4 +man/man4/MPE_Init_log.4 +man/man4/MPE_Line_thickness.4 +man/man4/MPE_Log_event.4 +man/man4/MPE_Log_get_event_number.4 +man/man4/MPE_Log_receive.4 +man/man4/MPE_Log_send.4 +man/man4/MPE_Make_color_array.4 +man/man4/MPE_Num_colors.4 +man/man4/MPE_Open_graphics.4 +man/man4/MPE_Print_datatype_pack_action.4 +man/man4/MPE_Print_datatype_unpack_action.4 +man/man4/MPE_Ptime.4 +man/man4/MPE_ReturnTags.4 +man/man4/MPE_Seq_begin.4 +man/man4/MPE_Seq_end.4 +man/man4/MPE_Signals_call_debugger.4 +man/man4/MPE_Start_log.4 +man/man4/MPE_Stop_log.4 +man/man4/MPE_TagsEnd.4 +man/man4/MPE_Update.4 +man/man4/MPE_Wtime.4 +libdata/netbsd/ch_p4/c++/comm.h +libdata/netbsd/ch_p4/c++/comm_inln.h +libdata/netbsd/ch_p4/c++/config.h +libdata/netbsd/ch_p4/c++/constants.h +libdata/netbsd/ch_p4/c++/datatype.h +libdata/netbsd/ch_p4/c++/datatype_inln.h +libdata/netbsd/ch_p4/c++/errhandler.h +libdata/netbsd/ch_p4/c++/errhandler_inln.h +libdata/netbsd/ch_p4/c++/exception.h +libdata/netbsd/ch_p4/c++/functions.h +libdata/netbsd/ch_p4/c++/functions_inln.h +libdata/netbsd/ch_p4/c++/group.h +libdata/netbsd/ch_p4/c++/group_inln.h +libdata/netbsd/ch_p4/c++/header.h +libdata/netbsd/ch_p4/c++/intercomm.h +libdata/netbsd/ch_p4/c++/intercomm_inln.h +libdata/netbsd/ch_p4/c++/intracomm.h +libdata/netbsd/ch_p4/c++/intracomm_inln.h +libdata/netbsd/ch_p4/c++/list.h +libdata/netbsd/ch_p4/c++/map.h +libdata/netbsd/ch_p4/c++/mpi++.h +libdata/netbsd/ch_p4/c++/op.h +libdata/netbsd/ch_p4/c++/op_inln.h +libdata/netbsd/ch_p4/c++/pcomm.h +libdata/netbsd/ch_p4/c++/pdatatype.h +libdata/netbsd/ch_p4/c++/perrhandler.h +libdata/netbsd/ch_p4/c++/pexception.h +libdata/netbsd/ch_p4/c++/pgroup.h +libdata/netbsd/ch_p4/c++/pgroup_inln.h +libdata/netbsd/ch_p4/c++/pintercomm.h +libdata/netbsd/ch_p4/c++/pintracomm.h +libdata/netbsd/ch_p4/c++/pmpi++.h +libdata/netbsd/ch_p4/c++/pop.h +libdata/netbsd/ch_p4/c++/pop_inln.h +libdata/netbsd/ch_p4/c++/prequest.h +libdata/netbsd/ch_p4/c++/prequest_inln.h +libdata/netbsd/ch_p4/c++/pstatus.h +libdata/netbsd/ch_p4/c++/pstatus_inln.h +libdata/netbsd/ch_p4/c++/ptopology.h +libdata/netbsd/ch_p4/c++/request.h +libdata/netbsd/ch_p4/c++/request_inln.h +libdata/netbsd/ch_p4/c++/status.h +libdata/netbsd/ch_p4/c++/status_inln.h +libdata/netbsd/ch_p4/c++/topology.h +libdata/netbsd/ch_p4/c++/topology_inln.h +libdata/netbsd/ch_p4/mpiman +libdata/netbsd/ch_p4/tarch +libdata/netbsd/ch_p4/mpirun.args +libdata/netbsd/ch_p4/mpirun.pg +libdata/netbsd/ch_p4/mpirun.ch_p4 +libdata/netbsd/ch_p4/tstmachines +libdata/netbsd/ch_p4/mpirun +libdata/netbsd/ch_p4/mpireconfig +libdata/netbsd/ch_p4/mpicc +libdata/netbsd/ch_p4/mpif77 +libdata/netbsd/ch_p4/mpif90 +libdata/netbsd/ch_p4/mpiCC +libdata/netbsd/ch_p4/serv_p4 +libdata/netbsd/ch_p4/chp4_servs +libdata/netbsd/ch_p4/chkserv +libdata/netbsd/ch_p4/server +libdata/netbsd/ch_p4/mpichconf.h +libdata/netbsd/ch_p4/mpidefs.h +libdata/netbsd/ch_p4/mpio.h +libdata/netbsd/ch_p4/mpiof.h +libdata/netbsd/ch_p4/config.status +libdata/netbsd/ch_p4/Makefile.sample +libdata/netbsd/ch_p4/libampi.a +libdata/netbsd/ch_p4/libfmpich.a +libdata/netbsd/ch_p4/libmpe.a +libdata/netbsd/ch_p4/libmpe_nompi.a +libdata/netbsd/ch_p4/libmpich++.a +libdata/netbsd/ch_p4/libmpich.a +libdata/netbsd/ch_p4/libpmpich.a +libdata/netbsd/ch_p4/libtmpi.a +libdata/netbsd/ch_p4/liblmpi.a +libdata/netbsd/mpich.En_US.cat +libdata/netbsd/mpich.cat +libdata/bitmaps/2x2 +libdata/bitmaps/black +libdata/bitmaps/boxes +libdata/bitmaps/dimple3 +libdata/bitmaps/dllines3 +libdata/bitmaps/dllines4 +libdata/bitmaps/drlines3 +libdata/bitmaps/drlines4 +libdata/bitmaps/gray +libdata/bitmaps/gray2 +libdata/bitmaps/gray3 +libdata/bitmaps/hlines2 +libdata/bitmaps/hlines3 +libdata/bitmaps/hlines4 +libdata/bitmaps/light_gray +libdata/bitmaps/vlines2 +libdata/bitmaps/vlines3 +libdata/bitmaps/vlines4 +libdata/bitmaps/white +share/examples/mpi/mpif.h +share/examples/mpi/Makefile.in +share/examples/mpi/Makefile +share/examples/mpi/cpi.c +share/examples/mpi/pi3.f +share/examples/mpi/cpilog.c +share/examples/mpi/hello++.cc +share/examples/mpi/simpleio.c +share/examples/mpi/README +share/examples/mpi/mpirun +share/examples/mpi/cpi.o +share/examples/mpi/cpi +share/examples/mpi/cpilog.o +share/examples/mpi/cpilog +share/examples/mpi/simpleio.o +share/examples/mpi/simpleio +share/examples/mpi/hello++.o +share/examples/mpi/hello++ +share/util/machines/machines.netbsd +share/util/machines/machines.sample +share/util/chp4_servs +share/util/chkserv +include/mpi.h +include/mpif.h +include/mpi_errno.h +include/binding.h +include/protofix.h +include/mpeexten.h +include/patchlevel.h +include/mpe.h +include/mpe_graphics.h +include/mpe_log.h +include/mpetools.h +include/basex11.h +share/examples/MPI-2-C++/Makefile.in +share/examples/MPI-2-C++/Makefile +share/examples/MPI-2-C++/hello_world.cc +share/examples/MPI-2-C++/ring.cc +share/examples/MPI-2-C++/topology.cc +share/examples/MPI-2-C++/user_bcast.cc +share/examples/MPI-2-C++/chapter_10_mpi2.cc +share/examples/MPI-2-C++/pi.cc +share/examples/MPI-2-C++/README +share/examples/MPI-2-C++/mpirun +share/examples/MPI-2-C++/hello_world.o +share/examples/MPI-2-C++/hello_world +share/examples/MPI-2-C++/ring.o +share/examples/MPI-2-C++/ring +share/examples/MPI-2-C++/topology.o +share/examples/MPI-2-C++/topology +share/examples/MPI-2-C++/user_bcast.o +share/examples/MPI-2-C++/user_bcast +share/examples/MPI-2-C++/chapter_10_mpi2.o +share/examples/MPI-2-C++/chapter_10_mpi2 +share/examples/MPI-2-C++/pi.o +share/examples/MPI-2-C++/pi +@dirrm libdata/netbsd/ch_p4/c++ +@dirrm libdata/netbsd/ch_p4 +@dirrm libdata/netbsd +@dirrm libdata/bitmaps +@dirrm share/examples/MPI-2-C++ +@dirrm share/examples/mpi +@dirrm share/util/machines +@dirrm share/util diff --git a/parallel/pkg/COMMENT b/parallel/pkg/COMMENT new file mode 100644 index 00000000000..79bcb3841c4 --- /dev/null +++ b/parallel/pkg/COMMENT @@ -0,0 +1 @@ +Apllications for or dealing with parallelism diff --git a/parallel/pvm3/Makefile b/parallel/pvm3/Makefile new file mode 100644 index 00000000000..717029df231 --- /dev/null +++ b/parallel/pvm3/Makefile @@ -0,0 +1,37 @@ +# $NetBSD: Makefile,v 1.1.1.1 1998/10/13 23:31:04 garbled Exp $ + +DISTNAME= pvm3.4.beta6 +PKGNAME= pvm-3.4.6 +CATEGORIES= parallel +MASTER_SITES= http://www.netlib.org/pvm3/ +EXTRACT_SUFX= .tgz + +MAINTAINER= root@garbled.net +HOMEPAGE= http://www.netlib.org/ + +DEPENDS+= ssh-1.2.26:../../security/ssh + +WRKSRC= ${WRKDIR}/pvm3 +MAKE_ENV+= PVM_ROOT=${WRKSRC} +ALL_TARGET= all install + +post-patch: + @${MV} ${WRKSRC}/lib/pvm foo + @${SED} -e 's@XXPKGXX@${LOCALBASE}@g' ${WRKSRC}/lib/pvm + @${MV} ${WRKSRC}/lib/pvmd foo + @${SED} -e 's@XXPKGXX@${LOCALBASE}@g' ${WRKSRC}/lib/pvmd + @${RM} foo + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/bin/NETBSD/* ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/lib/NETBSD/pvmd3 ${PREFIX}/libexec + ${INSTALL_PROGRAM} ${WRKSRC}/lib/NETBSD/pvm ${PREFIX}/libexec + ${INSTALL_SCRIPT} ${WRKSRC}/lib/pvm ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/lib/pvmd ${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/lib/NETBSD/libpvm3.a ${PREFIX}/lib + ${INSTALL_DATA} ${WRKSRC}/lib/NETBSD/libpvmtrc.a ${PREFIX}/lib + ${INSTALL_DATA} ${WRKSRC}/include/* ${PREFIX}/include + ${INSTALL_MAN} ${WRKSRC}/man/man1/* ${PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/man/man3/* ${PREFIX}/man/man3 + +.include "../../mk/bsd.pkg.mk" diff --git a/parallel/pvm3/files/md5 b/parallel/pvm3/files/md5 new file mode 100644 index 00000000000..5de77894d60 --- /dev/null +++ b/parallel/pvm3/files/md5 @@ -0,0 +1 @@ +MD5 (pvm3.4.beta6.tgz) = f1585ef2f15d801118e702d390d7c75f diff --git a/parallel/pvm3/patches/patch-aa b/parallel/pvm3/patches/patch-aa new file mode 100644 index 00000000000..a7b510ad774 --- /dev/null +++ b/parallel/pvm3/patches/patch-aa @@ -0,0 +1,7 @@ +$NetBSD: patch-aa,v 1.1.1.1 1998/10/13 23:31:04 garbled Exp $ +--- src/ddpro.c.orig Fri Aug 7 00:37:07 1998 ++++ src/ddpro.c Fri Aug 7 00:37:25 1998 +@@ -234,2 +234,3 @@ + #ifdef NEEDMENDIAN ++#include + #include diff --git a/parallel/pvm3/patches/patch-ab b/parallel/pvm3/patches/patch-ab new file mode 100644 index 00000000000..8e0c681be94 --- /dev/null +++ b/parallel/pvm3/patches/patch-ab @@ -0,0 +1,7 @@ +$NetBSD: patch-ab,v 1.1.1.1 1998/10/13 23:31:04 garbled Exp $ +--- src/hoster.c.orig Fri Aug 7 00:37:49 1998 ++++ src/hoster.c Fri Aug 7 00:38:11 1998 +@@ -142,2 +142,3 @@ + #ifdef NEEDMENDIAN ++#include + #include diff --git a/parallel/pvm3/patches/patch-ac b/parallel/pvm3/patches/patch-ac new file mode 100644 index 00000000000..3c4f14bdc36 --- /dev/null +++ b/parallel/pvm3/patches/patch-ac @@ -0,0 +1,7 @@ +$NetBSD: patch-ac,v 1.1.1.1 1998/10/13 23:31:04 garbled Exp $ +--- src/pvmdpack.c.orig Fri Aug 7 00:39:13 1998 ++++ src/pvmdpack.c Fri Aug 7 00:39:27 1998 +@@ -66,2 +66,3 @@ + #ifdef NEEDMENDIAN ++#include + #include diff --git a/parallel/pvm3/patches/patch-ad b/parallel/pvm3/patches/patch-ad new file mode 100644 index 00000000000..b6ecf774090 --- /dev/null +++ b/parallel/pvm3/patches/patch-ad @@ -0,0 +1,7 @@ +$NetBSD: patch-ad,v 1.1.1.1 1998/10/13 23:31:04 garbled Exp $ +--- src/sdpro.c.orig Fri Aug 7 00:39:58 1998 ++++ src/sdpro.c Fri Aug 7 00:40:27 1998 +@@ -75,2 +75,3 @@ + #ifdef NEEDMENDIAN ++#include + #include diff --git a/parallel/pvm3/patches/patch-ae b/parallel/pvm3/patches/patch-ae new file mode 100644 index 00000000000..e5d1baf31bc --- /dev/null +++ b/parallel/pvm3/patches/patch-ae @@ -0,0 +1,7 @@ +$NetBSD: patch-ae,v 1.1.1.1 1998/10/13 23:31:04 garbled Exp $ +--- src/task.c.orig Fri Aug 7 00:41:01 1998 ++++ src/task.c Fri Aug 7 00:41:17 1998 +@@ -145,2 +145,3 @@ + #ifdef NEEDMENDIAN ++#include + #include diff --git a/parallel/pvm3/patches/patch-af b/parallel/pvm3/patches/patch-af new file mode 100644 index 00000000000..9a10650ec36 --- /dev/null +++ b/parallel/pvm3/patches/patch-af @@ -0,0 +1,7 @@ +$NetBSD: patch-af,v 1.1.1.1 1998/10/13 23:31:04 garbled Exp $ +--- src/tdpro.c.orig Fri Aug 7 00:43:15 1998 ++++ src/tdpro.c Fri Aug 7 00:43:37 1998 +@@ -207,2 +207,3 @@ + #ifdef NEEDMENDIAN ++#include + #include diff --git a/parallel/pvm3/patches/patch-ag b/parallel/pvm3/patches/patch-ag new file mode 100644 index 00000000000..0de7f4d998c --- /dev/null +++ b/parallel/pvm3/patches/patch-ag @@ -0,0 +1,10 @@ +$NetBSD: patch-ag,v 1.1.1.1 1998/10/13 23:31:04 garbled Exp $ +--- xep/Makefile.aimk.orig Fri Aug 7 00:47:14 1998 ++++ xep/Makefile.aimk Fri Aug 7 00:48:49 1998 +@@ -26,4 +26,4 @@ + XLIBS = -lXaw -lXmu -lXext -lXt -lX11 +-XCFLAGS = -I/usr/local/X11R5/include -I/usr/local/X11/include \ +- -L/usr/local/X11R5/lib -L/usr/local/X11/lib ++XCFLAGS = -I$(X11BASE)/include -Wl,-R$(X11BASE)/lib \ ++ -L$(X11BASE)/lib + diff --git a/parallel/pvm3/patches/patch-ah b/parallel/pvm3/patches/patch-ah new file mode 100644 index 00000000000..8907a25231a --- /dev/null +++ b/parallel/pvm3/patches/patch-ah @@ -0,0 +1,26 @@ +$NetBSD: patch-ah,v 1.1.1.1 1998/10/13 23:31:04 garbled Exp $ +--- lib/pvmgetarch.orig Fri Aug 7 00:50:47 1998 ++++ lib/pvmgetarch Fri Aug 7 00:53:48 1998 +@@ -120,11 +120,13 @@ + if [ -f /netbsd ]; then +- case "`/usr/bin/machine`" in +- i386) ARCH=NETBSDI386 ;; +- amiga) ARCH=NETBSDAMIGA ;; +- hp300) ARCH=NETBSDHP300 ;; +- mac68k) ARCH=NETBSDMAC68K ;; +- pmax) ARCH=NETBSDPMAX ;; +- sparc) ARCH=NETBSDSPARC ;; +- sun3) ARCH=NETBSDSUN3 ;; +- esac ++ ARCH=NETBSD ++# case "`/usr/bin/machine`" in ++# i386) ARCH=NETBSDI386 ;; ++# alpha) ARCH=NETBSDALPHA ;; ++# amiga) ARCH=NETBSDAMIGA ;; ++# hp300) ARCH=NETBSDHP300 ;; ++# mac68k) ARCH=NETBSDMAC68K ;; ++# pmax) ARCH=NETBSDPMAX ;; ++# sparc) ARCH=NETBSDSPARC ;; ++# sun3) ARCH=NETBSDSUN3 ;; ++# esac + elif [ -f /usr/bin/machine ]; then diff --git a/parallel/pvm3/patches/patch-ai b/parallel/pvm3/patches/patch-ai new file mode 100644 index 00000000000..9f825ed3eff --- /dev/null +++ b/parallel/pvm3/patches/patch-ai @@ -0,0 +1,11 @@ +$NetBSD: patch-ai,v 1.1.1.1 1998/10/13 23:31:04 garbled Exp $ +--- /dev/null Fri Aug 7 01:41:07 1998 ++++ conf/NETBSD.def Fri Aug 7 01:46:28 1998 +@@ -0,0 +1,7 @@ ++ARCHCFLAGS = -DSOCKADHASLEN -DRSHCOMMAND=\"$(LOCALBASE)/bin/ssh\" -DHASERRORVARS -DNOREXEC -DNEEDMENDIAN -DLOCALBASE=\"$(LOCALBASE)\" ++ARCHDLIB = ++ARCHDOBJ = ++ARCHLIB = ++HASRANLIB = t ++AR = ar ++PVM_ARCH = NETBSD diff --git a/parallel/pvm3/patches/patch-aj b/parallel/pvm3/patches/patch-aj new file mode 100644 index 00000000000..c13c367c6bf --- /dev/null +++ b/parallel/pvm3/patches/patch-aj @@ -0,0 +1,24 @@ +$NetBSD: patch-aj,v 1.1.1.1 1998/10/13 23:31:04 garbled Exp $ +--- /dev/null Fri Aug 7 00:35:18 1998 ++++ conf/NETBSD.m4 Fri Aug 7 00:56:51 1998 +@@ -0,0 +1,20 @@ ++divert(-1) ++undefine(`len') ++# ++# FORTRAN function names are in upper case ++# ++define(`FUNCTION',`translit($1,abcdefghijklmnopqrstuvwxyz,ABCDEFGHIJKLMNOPQRSTUVWXYZ)') ++# ++# FORTRAN character strings are passed as follows: ++# XXX is this right? ++# a pointer to the base of the string is passed in the normal ++# argument list, and the length is passed by value as an extra ++# argument, after all of the other arguments. ++# ++define(`ARGS',`($1`'undivert(1))') ++define(`SAVE',`divert(1)$1`'divert(0)') ++define(`STRING_ARG',`$1_ptr`'SAVE(`, $1_len')') ++define(`STRING_ARG_DECL',`char * $1_ptr; int $1_len') ++define(`STRING_LEN',`$1_len') ++define(`STRING_PTR',`$1_ptr') ++divert(0) diff --git a/parallel/pvm3/patches/patch-ak b/parallel/pvm3/patches/patch-ak new file mode 100644 index 00000000000..007cd7a6173 --- /dev/null +++ b/parallel/pvm3/patches/patch-ak @@ -0,0 +1,20 @@ +$NetBSD: patch-ak,v 1.1.1.1 1998/10/13 23:31:04 garbled Exp $ +--- lib/pvm.orig Thu Aug 28 13:12:35 1997 ++++ lib/pvm Fri Aug 7 03:31:05 1998 +@@ -14,2 +14,4 @@ + # ++PVM_ROOT=XXPKGXX ++PVM_ARCH=NETBSD + +@@ -60,4 +62,4 @@ + +-if [ ! -f $PVM_ROOT/lib/$PVM_ARCH/pvm$sfx ]; then +- echo "pvm: $PVM_ROOT/lib/$PVM_ARCH/pvm$sfx doesn't exist." >&2 ++if [ ! -f $PVM_ROOT/libexec/pvm$sfx ]; then ++ echo "pvm: $PVM_ROOT/libexec/pvm$sfx doesn't exist." >&2 + echo "Make sure PVM is built and PVM_ROOT is set correctly" >&2 +@@ -66,3 +68,3 @@ + export PVM_ARCH +-exec $PVM_ROOT/lib/$PVM_ARCH/pvm$sfx $@ ++exec $PVM_ROOT/libexec/pvm$sfx $@ + exit 1 diff --git a/parallel/pvm3/patches/patch-al b/parallel/pvm3/patches/patch-al new file mode 100644 index 00000000000..8e472050943 --- /dev/null +++ b/parallel/pvm3/patches/patch-al @@ -0,0 +1,19 @@ +$NetBSD: patch-al,v 1.1.1.1 1998/10/13 23:31:04 garbled Exp $ +--- lib/pvmd.orig Thu Aug 28 13:13:16 1997 ++++ lib/pvmd Fri Aug 7 03:31:27 1998 +@@ -15,2 +15,5 @@ + ++PVM_ROOT=XXPKGXX ++PVM_ARCH=NETBSD ++ + case "x$PVM_ROOT" in x ) +@@ -81,3 +84,3 @@ + +-if [ ! -f $PVM_ROOT/lib/$PVM_ARCH/pvmd3$sfx ]; then ++if [ ! -f $PVM_ROOT/libexec/pvmd3$sfx ]; then + echo "pvmd: $PVM_ROOT/lib/$PVM_ARCH/pvmd3$sfx doesn't exist." >&2 +@@ -86,3 +89,3 @@ + fi +-exec $PVM_ROOT/lib/$PVM_ARCH/pvmd3$sfx $@ ++exec $PVM_ROOT/libexec/pvmd3$sfx $@ + exit 1 diff --git a/parallel/pvm3/patches/patch-am b/parallel/pvm3/patches/patch-am new file mode 100644 index 00000000000..2ef9830e670 --- /dev/null +++ b/parallel/pvm3/patches/patch-am @@ -0,0 +1,18 @@ +$NetBSD: patch-am,v 1.1.1.1 1998/10/13 23:31:04 garbled Exp $ +--- src/global.h.orig Fri Aug 7 01:36:40 1998 ++++ src/global.h Fri Aug 7 01:38:54 1998 +@@ -232,3 +232,3 @@ + #ifndef DEFBINDIR +-#define DEFBINDIR "$HOME/pvm3/bin/$PVM_ARCH:$PVM_ROOT/bin/$PVM_ARCH" ++#define DEFBINDIR LOCALBASE "/libexec" + #endif +@@ -243,3 +243,3 @@ + #else +-#define PVMDFILE "lib/pvmd" ++#define PVMDFILE LOCALBASE "/bin/pvmd" + #endif +@@ -248,3 +248,3 @@ + #ifndef PVMDPATH +-#define PVMDPATH "$PVM_ROOT/lib/pvmd" ++#define PVMDPATH LOCALBASE "/bin/pvmd" + #endif diff --git a/parallel/pvm3/patches/patch-an b/parallel/pvm3/patches/patch-an new file mode 100644 index 00000000000..981c70704ac --- /dev/null +++ b/parallel/pvm3/patches/patch-an @@ -0,0 +1,8 @@ +$NetBSD: patch-an,v 1.1.1.1 1998/10/13 23:31:04 garbled Exp $ +--- src/host.c.orig Fri Aug 7 03:15:36 1998 ++++ src/host.c Fri Aug 7 03:16:05 1998 +@@ -877,3 +877,3 @@ + +-#ifdef SIOCGIFCONF ++#if defined(SIOCGIFCONF) && !defined(__NetBSD__) + diff --git a/parallel/pvm3/pkg/COMMENT b/parallel/pvm3/pkg/COMMENT new file mode 100644 index 00000000000..30862e6cfb0 --- /dev/null +++ b/parallel/pvm3/pkg/COMMENT @@ -0,0 +1 @@ +Paralell Virtual Machine libraries and environment diff --git a/parallel/pvm3/pkg/DESCR b/parallel/pvm3/pkg/DESCR new file mode 100644 index 00000000000..7e8ff50ab9f --- /dev/null +++ b/parallel/pvm3/pkg/DESCR @@ -0,0 +1,15 @@ +PVM (Parallel Virtual Machine) is a portable message-passing programming +system, designed to link separate host machines to form a ``virtual +machine'' which is a single, manageable computing resource. + +The virtual machine can be composed of hosts of varying types, in +physically remote locations. PVM applications can be composed of any +number of separate processes, or components, written in a mixture of C, +C++ and Fortran. The system is portable to a wide variety of +architectures, including workstations, multiprocessors, supercomputers and +PCs. + +PVM is a byproduct of ongoing research at several institutions, and is +made available to the public free of charge. + +http://www.epm.ornl.gov/pvm/pvm_home.html diff --git a/parallel/pvm3/pkg/MESSAGE b/parallel/pvm3/pkg/MESSAGE new file mode 100644 index 00000000000..be53e204f00 --- /dev/null +++ b/parallel/pvm3/pkg/MESSAGE @@ -0,0 +1,6 @@ +You must set the environment variables: +PVM_ROOT to /usr/pkg +PVM_ARCH to NETBSD + +in your startup files (.cshrc, .profile) on all machines +in the cluster. diff --git a/parallel/pvm3/pkg/PLIST b/parallel/pvm3/pkg/PLIST new file mode 100644 index 00000000000..09f0199a473 --- /dev/null +++ b/parallel/pvm3/pkg/PLIST @@ -0,0 +1,233 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 1998/10/13 23:31:04 garbled Exp $ +libexec/pvmd3 +libexec/pvm +bin/dbwtest +bin/ge +bin/gexamp +bin/gexample +bin/gmbi +bin/hello +bin/hello_other +bin/ibwtest +bin/inherit1 +bin/inherit2 +bin/inherit3 +bin/inherita +bin/inheritb +bin/joinleave +bin/lmbi +bin/master1 +bin/master1h +bin/mtile +bin/pbwtest +bin/pvm_gstat +bin/pvmgroups +bin/pvmgs +bin/rbwtest +bin/rme +bin/slave1 +bin/spmd +bin/srm +bin/task0 +bin/task1 +bin/task_end +bin/thb +bin/timing +bin/timing_slave +bin/tjf +bin/tjl +bin/tnb +bin/tracer +bin/trcsort +bin/trsg +bin/tst +bin/xep +bin/pvm +bin/pvmd +man/man1/aimk.1 +man/man1/pvm.1 +man/man1/pvm_intro.1 +man/man1/pvmd.1 +man/man1/pvmd3.1 +man/man3/libfpvm.3 +man/man3/libpvm.3 +man/man3/pvm_addhosts.3 +man/man3/pvm_addmhf.3 +man/man3/pvm_advise.3 +man/man3/pvm_archcode.3 +man/man3/pvm_barrier.3 +man/man3/pvm_bcast.3 +man/man3/pvm_bufinfo.3 +man/man3/pvm_catchout.3 +man/man3/pvm_config.3 +man/man3/pvm_delete.3 +man/man3/pvm_delhosts.3 +man/man3/pvm_delinfo.3 +man/man3/pvm_delmhf.3 +man/man3/pvm_exit.3 +man/man3/pvm_export.3 +man/man3/pvm_freebuf.3 +man/man3/pvm_freecontext.3 +man/man3/pvm_freezegroup.3 +man/man3/pvm_gather.3 +man/man3/pvm_getcontext.3 +man/man3/pvm_getfds.3 +man/man3/pvm_getinst.3 +man/man3/pvm_getmboxinfo.3 +man/man3/pvm_getmwid.3 +man/man3/pvm_getopt.3 +man/man3/pvm_getrbuf.3 +man/man3/pvm_getsbuf.3 +man/man3/pvm_gettid.3 +man/man3/pvm_gettmask.3 +man/man3/pvm_gsize.3 +man/man3/pvm_halt.3 +man/man3/pvm_hostsync.3 +man/man3/pvm_initsend.3 +man/man3/pvm_insert.3 +man/man3/pvm_joingroup.3 +man/man3/pvm_kill.3 +man/man3/pvm_lookup.3 +man/man3/pvm_lvgroup.3 +man/man3/pvm_mcast.3 +man/man3/pvm_mkbuf.3 +man/man3/pvm_mstat.3 +man/man3/pvm_mytid.3 +man/man3/pvm_newcontext.3 +man/man3/pvm_notify.3 +man/man3/pvm_nrecv.3 +man/man3/pvm_pack.3 +man/man3/pvm_packf.3 +man/man3/pvm_parent.3 +man/man3/pvm_perror.3 +man/man3/pvm_pkbyte.3 +man/man3/pvm_pkcplx.3 +man/man3/pvm_pkdcplx.3 +man/man3/pvm_pkdouble.3 +man/man3/pvm_pkfloat.3 +man/man3/pvm_pkint.3 +man/man3/pvm_pklong.3 +man/man3/pvm_pkmesg.3 +man/man3/pvm_pkmesgbody.3 +man/man3/pvm_pkshort.3 +man/man3/pvm_pkstr.3 +man/man3/pvm_pkuint.3 +man/man3/pvm_pkulong.3 +man/man3/pvm_pkushort.3 +man/man3/pvm_precv.3 +man/man3/pvm_probe.3 +man/man3/pvm_psend.3 +man/man3/pvm_pstat.3 +man/man3/pvm_putinfo.3 +man/man3/pvm_recv.3 +man/man3/pvm_recvf.3 +man/man3/pvm_recvinfo.3 +man/man3/pvm_reduce.3 +man/man3/pvm_reg_hoster.3 +man/man3/pvm_reg_rm.3 +man/man3/pvm_reg_tasker.3 +man/man3/pvm_scatter.3 +man/man3/pvm_send.3 +man/man3/pvm_sendsig.3 +man/man3/pvm_serror.3 +man/man3/pvm_setcontext.3 +man/man3/pvm_setmwid.3 +man/man3/pvm_setopt.3 +man/man3/pvm_setrbuf.3 +man/man3/pvm_setsbuf.3 +man/man3/pvm_settmask.3 +man/man3/pvm_siblings.3 +man/man3/pvm_spawn.3 +man/man3/pvm_start_pvmd.3 +man/man3/pvm_tasks.3 +man/man3/pvm_tidtohost.3 +man/man3/pvm_trecv.3 +man/man3/pvm_unexport.3 +man/man3/pvm_unpack.3 +man/man3/pvm_unpackf.3 +man/man3/pvm_upkbyte.3 +man/man3/pvm_upkcplx.3 +man/man3/pvm_upkdcplx.3 +man/man3/pvm_upkdouble.3 +man/man3/pvm_upkfloat.3 +man/man3/pvm_upkint.3 +man/man3/pvm_upklong.3 +man/man3/pvm_upkmesg.3 +man/man3/pvm_upkshort.3 +man/man3/pvm_upkstr.3 +man/man3/pvm_upkuint.3 +man/man3/pvm_upkulong.3 +man/man3/pvm_upkushort.3 +man/man3/pvmfaddhost.3 +man/man3/pvmfaddmhf.3 +man/man3/pvmfadvise.3 +man/man3/pvmfarchcode.3 +man/man3/pvmfbarrier.3 +man/man3/pvmfbcast.3 +man/man3/pvmfbufinfo.3 +man/man3/pvmfcatchout.3 +man/man3/pvmfconfig.3 +man/man3/pvmfdelhost.3 +man/man3/pvmfdelinfo.3 +man/man3/pvmfdelmhf.3 +man/man3/pvmfexit.3 +man/man3/pvmffreebuf.3 +man/man3/pvmffreecontext.3 +man/man3/pvmffrzgrp.3 +man/man3/pvmfgather.3 +man/man3/pvmfgetcontext.3 +man/man3/pvmfgetinst.3 +man/man3/pvmfgetmboxinfo.3 +man/man3/pvmfgetopt.3 +man/man3/pvmfgetrbuf.3 +man/man3/pvmfgetsbuf.3 +man/man3/pvmfgettid.3 +man/man3/pvmfgsize.3 +man/man3/pvmfhalt.3 +man/man3/pvmfhostsync.3 +man/man3/pvmfinitsend.3 +man/man3/pvmfjoingrp.3 +man/man3/pvmfkill.3 +man/man3/pvmflvgrp.3 +man/man3/pvmfmcast.3 +man/man3/pvmfmkbuf.3 +man/man3/pvmfmstat.3 +man/man3/pvmfmytid.3 +man/man3/pvmfnewcontext.3 +man/man3/pvmfnotify.3 +man/man3/pvmfnrecv.3 +man/man3/pvmfpack.3 +man/man3/pvmfparent.3 +man/man3/pvmfperror.3 +man/man3/pvmfpkmesg.3 +man/man3/pvmfpkmesgbody.3 +man/man3/pvmfprecv.3 +man/man3/pvmfprobe.3 +man/man3/pvmfpsend.3 +man/man3/pvmfpstat.3 +man/man3/pvmfputinfo.3 +man/man3/pvmfrecv.3 +man/man3/pvmfrecvinfo.3 +man/man3/pvmfreduce.3 +man/man3/pvmfscatter.3 +man/man3/pvmfsend.3 +man/man3/pvmfsendsig.3 +man/man3/pvmfserror.3 +man/man3/pvmfsetcontext.3 +man/man3/pvmfsetopt.3 +man/man3/pvmfsetrbuf.3 +man/man3/pvmfsetsbuf.3 +man/man3/pvmfsiblings.3 +man/man3/pvmfspawn.3 +man/man3/pvmfstartpvmd.3 +man/man3/pvmftasks.3 +man/man3/pvmftidtoh.3 +man/man3/pvmftrecv.3 +man/man3/pvmfunpack.3 +man/man3/pvmfupkmesg.3 +include/fpvm3.h +include/pvm3.h +include/pvmproto.h +include/pvmtev.h +lib/libpvm3.a +lib/libpvmtrc.a -- cgit v1.2.3