[521] | 1 | # |
---|
| 2 | # Copyright (c) 2001-2003 The Trustees of Indiana University. |
---|
| 3 | # All rights reserved. |
---|
| 4 | # Copyright (c) 1998-2001 University of Notre Dame. |
---|
| 5 | # All rights reserved. |
---|
| 6 | # Copyright (c) 1994-1998 The Ohio State University. |
---|
| 7 | # All rights reserved. |
---|
| 8 | # |
---|
| 9 | # This file is part of the LAM/MPI software package. For license |
---|
| 10 | # information, see the LICENSE file in the top level directory of the |
---|
| 11 | # LAM/MPI source distribution. |
---|
| 12 | # |
---|
| 13 | # $Id: lam-generic.spec,v 1.3 2003/05/30 22:08:07 jsquyres Exp $ |
---|
| 14 | # |
---|
| 15 | %define _sysconfdir /etc/lam |
---|
| 16 | %define _romiodocdir /usr/share/lam/doc |
---|
| 17 | Summary: LAM/MPI (Local Area Multicomputer) programming environment |
---|
| 18 | Summary(ja): MPIメッセージパッシング形式の並列アプリケーション作成環境 |
---|
| 19 | Name: lam |
---|
| 20 | Version: 7.1.4 |
---|
| 21 | Release: 1%{?_dist_release} |
---|
| 22 | License: BSD |
---|
| 23 | Group: Development/Libraries |
---|
| 24 | Source: lam-%{version}.tar.gz |
---|
| 25 | Patch: lam-helppath.patch |
---|
| 26 | URL: http://www.lam-mpi.org/ |
---|
| 27 | ExcludeArch: ia64 |
---|
| 28 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 29 | BuildRequires: gcc-gfortran |
---|
| 30 | Provides: mpi |
---|
| 31 | Vendor: Project Vine |
---|
| 32 | Distribution: Vine Linux |
---|
| 33 | |
---|
| 34 | %description |
---|
| 35 | LAM (Local Area Multicomputer) is an MPI programming environment and |
---|
| 36 | development system for heterogeneous computers on a network. With |
---|
| 37 | LAM/MPI, a dedicated cluster or an existing network computing |
---|
| 38 | infrastructure can act as one parallel computer solving one problem. |
---|
| 39 | LAM/MPI is considered to be "cluster friendly", in that it offers |
---|
| 40 | daemon-based process startup/control as well as fast client-to-client |
---|
| 41 | message passing protocols. LAM/MPI can use TCP/IP and/or shared |
---|
| 42 | memory for message passing (different RPMs are supplied for this -- |
---|
| 43 | see the main LAM web site for details). |
---|
| 44 | |
---|
| 45 | LAM features a full implementation of MPI-1 (with the exception that |
---|
| 46 | LAM does not support cancelling of sends), and much of MPI-2. |
---|
| 47 | Compliant applications are source code portable between LAM/MPI and |
---|
| 48 | any other implementation of MPI. In addition to providing a |
---|
| 49 | high-quality implementation of the MPI standard, LAM/MPI offers |
---|
| 50 | extensive monitoring capabilities to support debugging. Monitoring |
---|
| 51 | happens on two levels. First, LAM/MPI has the hooks to allow a |
---|
| 52 | snapshot of process and message status to be taken at any time during |
---|
| 53 | an application run. This snapshot includes all aspects of |
---|
| 54 | synchronization plus datatype maps/signatures, communicator group |
---|
| 55 | membership, and message contents (see the XMPI application on the main |
---|
| 56 | LAM web site). On the second level, the MPI library is instrumented |
---|
| 57 | to produce a cummulative record of communication, which can be |
---|
| 58 | visualized either at runtime or post-mortem. |
---|
| 59 | |
---|
| 60 | |
---|
| 61 | %prep |
---|
| 62 | %setup -q |
---|
| 63 | |
---|
| 64 | # Otherwise, this directory shows up on security reports |
---|
| 65 | chmod -R o-w $RPM_BUILD_DIR/lam-%{version} |
---|
| 66 | |
---|
| 67 | |
---|
| 68 | %build |
---|
| 69 | %configure \ |
---|
| 70 | --with-rpi=usysv \ |
---|
| 71 | --with-fc=gfortran \ |
---|
| 72 | --enable-shared \ |
---|
| 73 | --enable-static \ |
---|
| 74 | --sysconfdir=%{_sysconfdir} \ |
---|
| 75 | |
---|
| 76 | make %{?_smp_mflags} all |
---|
| 77 | |
---|
| 78 | |
---|
| 79 | %install |
---|
| 80 | rm -rf $RPM_BUILD_ROOT |
---|
| 81 | %makeinstall |
---|
| 82 | |
---|
| 83 | rm -f $RPM_BUILD_ROOT/usr/include/mpi++.h |
---|
| 84 | ln -s mpi2c++/mpi++.h $RPM_BUILD_ROOT/usr/include/mpi++.h |
---|
| 85 | |
---|
| 86 | # Rename the ROMIO doc files so that we can install them in the same |
---|
| 87 | # doc root later, and not overwrite LAM's doc files. |
---|
| 88 | |
---|
| 89 | for file in README README_LAM COPYRIGHT; do |
---|
| 90 | mv $RPM_BUILD_DIR/lam-%{version}/romio/$file \ |
---|
| 91 | $RPM_BUILD_DIR/lam-%{version}/romio/romio-$file |
---|
| 92 | done |
---|
| 93 | mv $RPM_BUILD_DIR/lam-%{version}/romio/doc/users-guide.ps.gz \ |
---|
| 94 | $RPM_BUILD_DIR/lam-%{version}/romio/doc/romio-users-guide.ps.gz |
---|
| 95 | |
---|
| 96 | # remove unused files |
---|
| 97 | rm -f $RPM_BUILD_ROOT/%{_libdir}/lib*.la |
---|
| 98 | |
---|
| 99 | |
---|
| 100 | %clean |
---|
| 101 | rm -rf $RPM_BUILD_ROOT |
---|
| 102 | |
---|
| 103 | |
---|
| 104 | %files |
---|
| 105 | %defattr(-,root,root) |
---|
| 106 | %doc LICENSE HISTORY INSTALL README |
---|
| 107 | %doc examples |
---|
| 108 | %doc doc/*.pdf |
---|
| 109 | # Need to fix ROMIO install script to install its docs in the Right place |
---|
| 110 | %doc %{_romiodocdir} |
---|
| 111 | %config %{_sysconfdir} |
---|
| 112 | %{_bindir}/* |
---|
| 113 | %{_mandir}/*/* |
---|
| 114 | %{_includedir}/* |
---|
| 115 | %{_libdir}/lam |
---|
| 116 | %{_libdir}/*.a |
---|
| 117 | %{_libdir}/*.so |
---|
| 118 | %{_libdir}/*.so.* |
---|
| 119 | #%{_datadir}/lam/lam-shell-setup.* |
---|
| 120 | #%{_datadir}/lam/lam_module.tcl |
---|
| 121 | |
---|
| 122 | |
---|
| 123 | %changelog |
---|
| 124 | * Fri Sep 26 2008 Shu KONNO <owa@bg.wakwak.com> 7.1.4-1vl5 |
---|
| 125 | - fixed typo of last changelog release number |
---|
| 126 | - removed lib*.la |
---|
| 127 | |
---|
| 128 | * Sun Aug 24 2008 Shu KONNO <owa@bg.wakwak.com> 7.1.4-0.1vl5 |
---|
| 129 | - applied new versioning policy, spec in utf-8 |
---|
| 130 | - updated lam to 7.1.4 |
---|
| 131 | - added japanese summary |
---|
| 132 | |
---|
| 133 | * Sun Dec 30 2007 Shu KONNO <owa@bg.wakwak.com> 7.0-1vl2 |
---|
| 134 | - updated gcc-g77 to gcc-gfortran in BuildRequires |
---|
| 135 | - added "--with-fc=gfortran" to %%configure |
---|
| 136 | |
---|
| 137 | * Thu Aug 28 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 7.0-1vl1 |
---|
| 138 | - based on new upstream |
---|
| 139 | (http://www.lam-mpi.org/download/files/lam-7.0-1.src.rpm) |
---|
| 140 | - rebuild with new toolchains |
---|
| 141 | |
---|
| 142 | * Thu Dec 21 2000 Jun Nishii <jun@vinelinux.org> |
---|
| 143 | - 6.3.3b47-1vl2 |
---|
| 144 | - build with gcc |
---|
| 145 | |
---|
| 146 | * Thu Dec 21 2000 Jun Nishii <jun@vinelinux.org> |
---|
| 147 | - 6.3.3b47-1vl1 |
---|
| 148 | - use macros for spec |
---|
| 149 | - correct path of helpfile |
---|
| 150 | |
---|
| 151 | * Tue Nov 28 2000 Trond Eivind Glomsrød <teg@redhat.com> |
---|
| 152 | - 6.3.3b47 |
---|
| 153 | |
---|
| 154 | * Thu Aug 17 2000 Trond Eivind Glomsrød <teg@redhat.com> |
---|
| 155 | - 6.3.3b28, which should match the release. One known |
---|
| 156 | problem on SCO, otherwise none. This includes |
---|
| 157 | fixing some programs which didn't work in the |
---|
| 158 | last build. |
---|
| 159 | |
---|
| 160 | * Thu Jul 27 2000 Harald Hoyer <harald@redhat.com> |
---|
| 161 | - fixed the install process, that the lam tools have the |
---|
| 162 | right path set. make all;make DESTDIR install is |
---|
| 163 | our friend. |
---|
| 164 | |
---|
| 165 | * Wed Jul 19 2000 Trond Eivind Glomsrød <teg@redhat.com> |
---|
| 166 | - a new and better world without dirty tricks necesarry. |
---|
| 167 | All hail the 6.3.3beta (beta 20 - all my requests and |
---|
| 168 | patches seem to be in now :) |
---|
| 169 | |
---|
| 170 | * Fri Jun 16 2000 Trond Eivind Glomsrød <teg@redhat.com> |
---|
| 171 | - substituted some old dirty tricks for new ones to make |
---|
| 172 | it build. More needed. |
---|
| 173 | - Removed C++ (won't build) and ROMIO (who cares) support |
---|
| 174 | |
---|
| 175 | * Thu Jun 15 2000 Trond Eivind Glomsrød <teg@redhat.com> |
---|
| 176 | - ugly tricks to make it use %%{_mandir} |
---|
| 177 | - patch to make it build with current compiler and glibc |
---|
| 178 | - don't build on IA64 |
---|
| 179 | |
---|
| 180 | * Tue Apr 25 2000 Trond Eivind Glomsrød <teg@redhat.com> |
---|
| 181 | - changed RPI to usysv - this should be good for |
---|
| 182 | (clusters of) SMPs. |
---|
| 183 | |
---|
| 184 | * Wed Mar 28 2000 Harald Hoyer <harald@redhat.com> |
---|
| 185 | - patched scheme Makefile |
---|
| 186 | |
---|
| 187 | * Tue Mar 28 2000 Harald Hoyer <harald@redhat.com> |
---|
| 188 | - new subminor version |
---|
| 189 | - patched Makefile to build otb daemons, to satisfy conf.otb and build all |
---|
| 190 | stuff |
---|
| 191 | |
---|
| 192 | * Sat Mar 04 2000 Cristian Gafton <gafton@redhat.com> |
---|
| 193 | - fixed the whole tree the hard way - get into each Makefile and fix |
---|
| 194 | brokeness on a case by case basis. Traces of Buildroot should be |
---|
| 195 | erradicated by now. |
---|
| 196 | |
---|
| 197 | * Thu Mar 02 2000 Cristian Gafton <gafton@redhat.com> |
---|
| 198 | - put back the mpi2c++ stuff. |
---|
| 199 | |
---|
| 200 | * Tue Feb 29 2000 Cristian Gafton <gafton@redhat.com> |
---|
| 201 | - take out the mpi2c++ in a separate package |
---|
| 202 | |
---|
| 203 | * Fri Feb 04 2000 Cristian Gafton <gafton@redhat.com> |
---|
| 204 | - first version of the package |
---|