0ba47105ed
finally brings in functionality that is already on the 1.2 branch, and was developed and tested in the v1.2ofed branch (and other places). Short version of new features: * Support for ibv_fork_init() * Automatically fill in the openib BTL bandwidth value by querying the HCA port * Installdirs functionality * Fixes to always use -I in the Fortran wrapper compilers (#924) * Gleb's mpool updates * Remove some kruft in btl/openib/configure.m4, therefore fixing the harmless warnings noted in #665 * Bunches of updates to the Linux RPM spec file I.e., effectively the same thing that r14411 brought to the v1.2 branch. Also effectively brought in r14432 and r14433 (some fixes on top of the original r14411 commit to v1.2). Still need to bring in the moral equivalent of r14445 after this commit (fixes to installdirs). This commit was SVN r14449. The following SVN revision numbers were found above: r14411 --> open-mpi/ompi@83b31314ae r14432 --> open-mpi/ompi@a48f160595 r14433 --> open-mpi/ompi@68f346d2bc r14445 --> open-mpi/ompi@13d366b827
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. Copyright (c) 2004-2006 High Performance Computing Center Stuttgart, University of Stuttgart. All rights reserved. Copyright (c) 2004-2006 The Regents of the University of California. All rights reserved. Copyright (c) 2006 Cisco Systems, Inc. All rights reserved. $COPYRIGHT$ Additional copyrights may follow $HEADER$ =========================================================================== 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 - openmpi-docs (not currently generated because we have no docs; to be rectified soon!) 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 or SRPM directly. The following options are permissable on the "rpmbuild" command line via the --define option: - lanl: 0 or 1 (default: 0) A shortcut for several Los Alamos-specific options (see specfile for current list of values -- look for "%if %{lanl}"). - install_in_opt: 0 or 1 (default: 0) If 1, use a prefix of /opt/openmpi/<version>-<release>. - install_profile_d_scripts: 0 or 1 (default: 0) If 1, and install_in_opt is 1, then install the /etc/profile.d scripts. - install_modulefile: 0 or 1 (default: 0) If 1 and if install_in_opt is 1, then install a modulefile in %{modulefile_path}/%{modulefile_subdir}/%{modulefile_name} - modulefile_path: string (default: "/etc/modulefiles") Defaults to /etc/modulefiles - modulefile_subdir: string (default: "openmpi") Defaults to openmpi - modulefile_name: string (default: "%{version}") Defaults to %{version} - modules_rpm_name: string ("modules") Name of the environment modules RPM to "require". - build_debuginfo_rpm: 0 or 1 (default: 0) If 1, builds a corresponding debuginfo rpm. - _prefix (etc.): string (default: supplied by rpmbuild) Prefix directory (all other standard names are also supported, such as _libdir, _sysconfdir, _includedir, etc.). - configure_options: string (default: "") String to pass directly to the ./configure script. - _packager: string (default: supplied by rpmbuild) Name of the packager - _vendor: string (default: supplied by rpmbuild) Name of the vendor - cflags: string (default: supplied by rpmbuild: $RPM_OPT_FLAGS) CFLAGS value to use - cxxflags: string (default: supplied by rpmbuild: $RPM_OPT_FLAGS) CXXFLAGS value to use - f77flags: string (default: supplied by rpmbuild: $RPM_OPT_FLAGS) F77FLAGS value to use - fcflags: string (default: supplied by rpmbuild: $RPM_OPT_FLAGS) F90FLAGS value to use - mflags: string (default: "") Flags to pass to the "make" [default] target during %build - mflags_install: string (default: "") Flags to pass to the "make install" target during %install - build_all_in_one_rpm: 0 or 1 (default: 1) If 1 (the default), make a single RPM that contains all of the Open MPI software. If 0, build multiple sub-package RPMs to split up the Open MPI code into separate functional areas. See the spec file for the exact division and subpackage definitions. - name: string (default "openmpi") If set, used as the name of the RPM (useful if you want to add a compiler name -- or some other qualifier -- to the RPM name).