From a7322c41f1878b0b8579f3e867df0c7bccd4d8d8 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 10:37:00 +0100 Subject: [PATCH] package created by autospec [release 3.4.6-1mamba;Tue Nov 17 2009] --- README.md | 4 +++ pvm-3.4.6-shared_libs.patch | 14 ++++++++ pvm.spec | 64 +++++++++++++++++++++++++++++++++++++ 3 files changed, 82 insertions(+) create mode 100644 pvm-3.4.6-shared_libs.patch create mode 100644 pvm.spec diff --git a/README.md b/README.md index 9d39379..c8e16f7 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # pvm +PVM (Parallel Virtual Machine) is a software package that permits a heterogeneous collection of Unix and/or Windows computers hooked together by a network to be used as a single large parallel computer. Thus large computational problems can be solved more cost effectively by using the aggregate power and memory of many computers. The software is very portable. The source, which is available free thru netlib, has been compiled on everything from laptops to CRAYs. + +PVM enables users to exploit their existing computer hardware to solve much larger problems at minimal additional cost. Hundreds of sites around the world are using PVM to solve important scientific, industrial, and medical problems in addition to PVM's use as an educational tool to teach parallel programming. With tens of thousands of users, PVM has become the de facto standard for distributed computing world-wide. + diff --git a/pvm-3.4.6-shared_libs.patch b/pvm-3.4.6-shared_libs.patch new file mode 100644 index 0000000..41cd811 --- /dev/null +++ b/pvm-3.4.6-shared_libs.patch @@ -0,0 +1,14 @@ +diff -Nru pvm3.orig/conf/LINUX.def pvm3/conf/LINUX.def +--- pvm3.orig/conf/LINUX.def 2007-11-29 21:42:54.000000000 +0100 ++++ pvm3/conf/LINUX.def 2009-11-17 01:21:52.628403960 +0100 +@@ -17,8 +17,8 @@ + # (be sure $(SHAREDCFLAGS) is included in $(ARCHCFLAGS) below) + # and then do a "make clean ; make shared" in $PVM_ROOT. + # +-# SHAREDCFLAGS = -fpic +-SHAREDCFLAGS = ++SHAREDCFLAGS = -fpic ++#SHAREDCFLAGS = + SHAREDLDFLAGS = -shared + # + ARCHCFLAGS = -DSYSVSIGNAL -DNOWAIT3 -DRSHCOMMAND=\"/usr/bin/rsh\" \ diff --git a/pvm.spec b/pvm.spec new file mode 100644 index 0000000..6981eb4 --- /dev/null +++ b/pvm.spec @@ -0,0 +1,64 @@ +Name: pvm +Version: 3.4.6 +Release: 1mamba +Summary: A software that permits computers hooked together by a network to be used as a single large parallel computer +Group: Applications/Development +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.csm.ornl.gov/pvm/ +Source: http://www.netlib.org/pvm3/pvm%{version}.tgz +Patch0: pvm-3.4.6-shared_libs.patch +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +PVM (Parallel Virtual Machine) is a software package that permits a heterogeneous collection of Unix and/or Windows computers hooked together by a network to be used as a single large parallel computer. Thus large computational problems can be solved more cost effectively by using the aggregate power and memory of many computers. The software is very portable. The source, which is available free thru netlib, has been compiled on everything from laptops to CRAYs. + +PVM enables users to exploit their existing computer hardware to solve much larger problems at minimal additional cost. Hundreds of sites around the world are using PVM to solve important scientific, industrial, and medical problems in addition to PVM's use as an educational tool to teach parallel programming. With tens of thousands of users, PVM has become the de facto standard for distributed computing world-wide. + +%prep +%setup -q -n %{name}3 +%patch0 -p1 + +%build +export PVM_ROOT=`pwd` +%make all shared + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +install -d -m0755 %{buildroot}%{_datadir}/pvm/ \ + %{buildroot}%{_bindir} \ + %{buildroot}%{_libdir} \ + %{buildroot}%{_mandir} \ + %{buildroot}%{_includedir} +cp -a include/*.h %{buildroot}%{_includedir}/ +cp -a lib/LINUX/lib*.a %{buildroot}%{_libdir}/ +cp -a lib/LINUX/libpvm3.so %{buildroot}%{_libdir}/ +ln -s libpvm3.so %{buildroot}%{_libdir}/libpvm3.so.1.0 +cp -a lib/LINUX/pvm %{buildroot}%{_bindir}/ +cp -a lib/LINUX/pvmd3 %{buildroot}%{_bindir}/ +cp -a lib/pvmgetarch %{buildroot}%{_bindir}/ +#cp -a lib/pvmd %{buildroot}%{_bindir}/ +cp -a man/man1 %{buildroot}%{_mandir} +cp -a man/man3 %{buildroot}%{_mandir} + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/pvm* +%{_libdir}/lib*.a +%{_libdir}/libpvm3.so +%{_libdir}/libpvm3.so.* +%{_includedir}/*.h +%{_mandir}/man1/* +%{_mandir}/man3/* + +%changelog +* Tue Nov 17 2009 Silvan Calarco 3.4.6-1mamba +- package created by autospec