summaryrefslogtreecommitdiffstats
path: root/cluster/pvm
diff options
context:
space:
mode:
authorroot2006-04-24 09:03:08 -0500
committerroot2006-04-24 09:03:08 -0500
commit84d8b510ac289af0a43bfa9e110844af27a90196 (patch)
treed7093929b954dd2f71114bff270755e18f737eb1 /cluster/pvm
initial commit from stable 0.3
Diffstat (limited to 'cluster/pvm')
-rwxr-xr-xcluster/pvm/BUILD2
-rwxr-xr-xcluster/pvm/DETAILS20
-rw-r--r--cluster/pvm/HISTORY39
-rwxr-xr-xcluster/pvm/INSTALL61
4 files changed, 122 insertions, 0 deletions
diff --git a/cluster/pvm/BUILD b/cluster/pvm/BUILD
new file mode 100755
index 0000000000..54a41ce5c9
--- /dev/null
+++ b/cluster/pvm/BUILD
@@ -0,0 +1,2 @@
+make clean F77=g77 PVM_ROOT=$SOURCE_DIRECTORY &&
+make F77=g77 PVM_ROOT=$SOURCE_DIRECTORY
diff --git a/cluster/pvm/DETAILS b/cluster/pvm/DETAILS
new file mode 100755
index 0000000000..cf080daef7
--- /dev/null
+++ b/cluster/pvm/DETAILS
@@ -0,0 +1,20 @@
+ SPELL=pvm
+ VERSION=3.4.5
+ SOURCE=$SPELL$VERSION.tgz
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/${SPELL}3
+ SOURCE_URL[0]=http://www.netlib.org/${SPELL}3/$SOURCE
+ MD5[0]=3d842f1e5592108427270be78c3f817a
+ WEB_SITE=http://www.epm.ornl.gov/pvm/
+ ENTERED=20020122
+ UPDATED=20020509
+ LICENSE[0]=FREE
+ BUILD_API=2
+ SHORT="network-hooked computers used as a large parallel computer"
+cat << EOF
+PVM (Parallel Virtual Machine) is a software package that permits a heterogeneous
+collection of Unix and/or NT computers hooked together by a network to be used as
+a single large parallel computer, a ``virtual machine''. Thus large computational
+problems can be solved more cost effectively by using the aggregate power and
+memory of many computers. Applications can be composed of any number of separate
+processes, or components, written in a mixture of C, C++ and Fortran.
+EOF
diff --git a/cluster/pvm/HISTORY b/cluster/pvm/HISTORY
new file mode 100644
index 0000000000..821a11ee52
--- /dev/null
+++ b/cluster/pvm/HISTORY
@@ -0,0 +1,39 @@
+2004-11-09 Eric Sandall <eric@sandall.us>
+ * DETAILS: Updated to 3.4.5
+ Added BUILD_API=2
+ Changed LICENSE to LICENSE[0]
+ Removed SPELL3 variable and updated SOURCE_URL and SOURCE_DIRECTORY
+ accordingly
+ Removed MAINTAINER
+ * BUILD: Converted to build_api 2
+ Removed exporting of variables and pass them to make directly
+ * INSTALL: Added
+ Make variables local instead of exporting them
+ Remove redundant PVM_SRC, PVM_HOME2, and PVM_ROOT
+ Use INSTALL_ROOT
+ Make xpvm link correctly (not /usr/share/xpvm)
+
+2002-10-18 Zoran Constantinescu <zoran@idi.ntnu.no>
+ * Added MD5 sum.
+
+2002-06-10 Zoran Constantinescu <zoran@idi.ntnu.no>
+ * Added LICENSE entry.
+ Tested with gcc3 is ok.
+
+2002-05-09 Zoran Constantinescu <zoran@idi.ntnu.no>
+ * Installing now in /usr/share/pvm.
+
+2002-05-08 Zoran Constantinescu <zoran@idi.ntnu.no>
+ * Updated version to 3.4.4.
+ Removed SOURCE_URL[1]: doesn't work for the new version.
+ Merged with pvm3 spell (Julian v. Bock <julian@wongr.net>).
+ Removed PRE_BUILD.
+
+2002-05-03 Zoran Constantinescu <zoran@idi.ntnu.no>
+ * Added HISTORY file.
+ Added to the "cluster" section in the grimoire.
+ Added PRE_BUILD so it doesn't leave anymore files in /usr/src.
+
+2002-01-22 Zoran Constantinescu <zoran@idi.ntnu.no>
+ * Created spell.
+
diff --git a/cluster/pvm/INSTALL b/cluster/pvm/INSTALL
new file mode 100755
index 0000000000..e6acf3b2b3
--- /dev/null
+++ b/cluster/pvm/INSTALL
@@ -0,0 +1,61 @@
+local PVM_HOME \
+ PVM_ARCH &&
+
+PVM_HOME=$INSTALL_ROOT/usr/share/pvm &&
+PVM_ARCH=`ls -1 $SOURCE_DIRECTORY/bin` &&
+
+install -d $PVM_HOME/conf &&
+install -m 644 $SOURCE_DIRECTORY/conf/${PVM_ARCH}.def \
+ $PVM_HOME/conf &&
+install -d $PVM_HOME/bin/$PVM_ARCH &&
+install -m 755 $SOURCE_DIRECTORY/bin/$PVM_ARCH/* \
+ $PVM_HOME/bin/$PVM_ARCH &&
+install -d $PVM_HOME/lib/$PVM_ARCH &&
+install -m 755 $SOURCE_DIRECTORY/lib/$PVM_ARCH/* \
+ $PVM_HOME/lib/$PVM_ARCH &&
+
+for file in lib/*; do
+ if test -f $file; then
+ install -m 755 $file $PVM_HOME/lib
+ fi
+done &&
+
+install -d $PVM_HOME/include &&
+install -m 644 $SOURCE_DIRECTORY/include/* \
+ $PVM_HOME/include &&
+ln -s $PVM_HOME/include/* \
+ $INSTALL_ROOT/usr &&
+install -d $INSTALL_ROOT/usr/man/man1 &&
+install -m 644 $SOURCE_DIRECTORY/man/man1/* \
+ $INSTALL_ROOT/usr/man/man1 &&
+install -d $INSTALL_ROOT/usr/man/man3 &&
+install -m 644 $SOURCE_DIRECTORY/man/man3/* \
+ $INSTALL_ROOT/usr/man/man3 &&
+
+pushd . &&
+cd $PVM_HOME/lib/$PVM_ARCH &&
+
+for file in lib*.a; do
+ ln -sf $PVM_HOME/lib/$PVM_ARCH/$file \
+ $INSTALL_ROOT/usr/lib/$file
+done &&
+
+cd $PVM_HOME/lib &&
+
+for file in {aimk,pvm,pvmd,pvmgetarch,pvmtmparch,xpvm}; do
+ ln -sf $PVM_HOME/lib/$file \
+ $INSTALL_ROOT/usr/bin/$file &&
+ ln -sf $PVM_HOME/lib/$file \
+ $PVM_HOME/lib/$PVM_ARCH/$file
+done &&
+
+popd &&
+
+sedit "s/\`pwd.*$/\"\/usr\/share\/pvm\" ;;/" $PVM_HOME/lib/pvm &&
+sedit "s/\`pwd.*$/\"\/usr\/share\/pvm\" ;;/" $PVM_HOME/lib/pvmd &&
+sedit "s/\`pwd.*$/\"\/usr\/share\/pvm\" ;;/" $PVM_HOME/lib/xpvm &&
+sedit "s/\/\*/\#\*/" $PVM_HOME/lib/pvm &&
+sedit "s/\/\*/\#\*/" $PVM_HOME/lib/pvmd &&
+sedit "s/\/\*/\#\*/" $PVM_HOME/lib/xpvm &&
+sedit "s/exec \$XPVM_ROOT\/src/exec \$XPVM_ROOT\/lib/" $PVM_HOME/lib/xpvm &&
+sedit "s/XPVM_ROOT=.*$/XPVM_ROOT=\"\/usr\/share\/pvm\"/" $PVM_HOME/lib/xpvm