Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

From: Joe Landman (landman_at_[hidden])
Date: 2006-10-23 19:14:06


--- buildrpm.sh 2006-10-23 17:59:33.729764603 -0400
+++ buildrpm-fixed.sh 2006-10-23 17:58:33.145635240 -0400
@@ -11,6 +11,7 @@
 #

 prefix="/opt/openmpi"
+#/1.1.2/pgi"
 specfile="openmpi.spec"
 rpmbuild_options="--define 'mflags -j4'"
 configure_options=
@@ -22,10 +23,10 @@
 # Some distro's will attempt to force using bizarre, custom compiler
 # names (e.g., i386-redhat-linux-gnu-gcc). So hardwire them to use
 # "normal" names.
-#export CC=gcc
-#export CXX=g++
-#export F77=f77
-#export FC=
+#export CC=pgcc
+#export CXX=pgCC
+#export F77=pgf77
+#export FC=pgf90

 # Note that this script can build one or all of the following RPMs:
 # SRPM, all-in-one, multiple.
@@ -35,7 +36,7 @@
 # If you want to build the "all in one RPM", put "yes" here
 build_single=no
 # If you want to build the "multiple" RPMs, put "yes" here
-build_multiple=no
+build_multiple=yes

 #########################################################################
 # You should not need to change anything below this line
@@ -109,6 +110,9 @@
 elif test -d /usr/src/RPM; then
     need_root=1
     rpmtopdir="/usr/src/RPM"
+elif test -d /usr/src/packages; then
+ need_root=1
+ rpmtopdir="/usr/src/packages"
 else
     need_root=1
     rpmtopdir="/usr/src/redhat"

-- 
Joe Landman
landman |at| scalableinformatics |dot| com