2006-04-26 04:23:39 +04:00
|
|
|
Copyright (c) 2004-2006 The Trustees of Indiana University and Indiana
|
|
|
|
University Research and Technology
|
|
|
|
Corporation. All rights reserved.
|
|
|
|
Copyright (c) 2004-2006 The University of Tennessee and The University
|
|
|
|
of Tennessee Research Foundation. All rights
|
|
|
|
reserved.
|
2015-06-24 06:59:57 +03:00
|
|
|
Copyright (c) 2004-2006 High Performance Computing Center Stuttgart,
|
2006-04-26 04:23:39 +04:00
|
|
|
University of Stuttgart. All rights reserved.
|
|
|
|
Copyright (c) 2004-2006 The Regents of the University of California.
|
|
|
|
All rights reserved.
|
2009-12-14 22:52:23 +03:00
|
|
|
Copyright (c) 2006-2009 Cisco Systems, Inc. All rights reserved.
|
2006-04-26 04:23:39 +04:00
|
|
|
$COPYRIGHT$
|
|
|
|
|
|
|
|
Additional copyrights may follow
|
|
|
|
|
|
|
|
$HEADER$
|
|
|
|
|
|
|
|
===========================================================================
|
|
|
|
|
2012-12-12 00:41:06 +04:00
|
|
|
Note that you probably want to download the latest release of the SRPM
|
|
|
|
for any given Open MPI version. The SRPM release number is the
|
|
|
|
version after the dash in the SRPM filename. For example,
|
|
|
|
"openmpi-1.6.3-2.src.rpm" is the 2nd release of the SRPM for Open MPI
|
|
|
|
v1.6.3. Subsequent releases of SRPMs typically contain bug fixes for
|
|
|
|
the RPM packaging, but not Open MPI itself.
|
|
|
|
|
2006-04-26 04:23:39 +04:00
|
|
|
The buildrpm.sh script takes a single argument -- a filename pointing
|
|
|
|
to an Open MPI tarball (may be either .gz or .bz2). It will create
|
|
|
|
one or more RPMs from this tarball:
|
|
|
|
|
|
|
|
1. Source RPM
|
|
|
|
2. "All in one" RPM, where all of Open MPI is put into a single RPM.
|
|
|
|
3. "Multiple" RPM, where Open MPI is split into several sub-package
|
|
|
|
RPMs:
|
|
|
|
- openmpi-runtime
|
|
|
|
- openmpi-devel
|
2009-12-14 22:52:23 +03:00
|
|
|
- openmpi-docs
|
2006-04-26 04:23:39 +04:00
|
|
|
|
|
|
|
The prefix, target architecture, and choice of RPM(s) to build are all
|
|
|
|
currently hard-coded in the beginning of the buildrpm.sh script.
|
|
|
|
|
|
|
|
Alternatively, you can build directly from the openmpi.spec spec file
|
2007-04-23 23:00:29 +04:00
|
|
|
or SRPM directly. Many options can be passed to the building process
|
|
|
|
via rpmbuild's --define option (there are older versions of rpmbuild
|
|
|
|
that do not seem to handle --define'd values properly in all cases,
|
|
|
|
but we generally don't care about those old versions of rpmbuild...).
|
|
|
|
The available options are described in the comments in the beginning
|
|
|
|
of the spec file in this directory.
|