package created by autospec [release 3.4.6-1mamba;Tue Nov 17 2009]

This commit is contained in:
Silvan Calarco 2024-01-06 10:37:00 +01:00
parent 59fe64521d
commit a7322c41f1
3 changed files with 82 additions and 0 deletions

View File

@ -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.

View File

@ -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\" \

64
pvm.spec Normal file
View File

@ -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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 3.4.6-1mamba
- package created by autospec