Build script
From Dcmf
Download the tarballs, but do not install or even untar.
- Download MPICH2 1.1 (tgz / web).
- Download ARMCI/GA 4-2 (tgz / web).
- Download Berkeley UPC 2.8.0 (UPC:tgz / Translator:tgz / web).
-
export DCMF_TAR=<Download location>(The comm build assumes /bgsys/downloads/comm)
V1R4M0+
Use these only if you have access to at least a V1R4M0 driver. If it is not linked by /bgsys/drivers/ppcfloor, you will have to further alter Make.rules.floor.
#!/bin/sh -xe
RELEASE=BGP/IBM_V1R4M0
DIR=$HOME/$RELEASE
renice 1 -p $$
rm -rf $DIR
mkdir -p $DIR/bgp
cd $DIR/bgp
git clone -n http://dcmf.anl-external.org/dcmf.git comm
cd comm
git checkout -b ${RELEASE} origin/${RELEASE}
perl -pi -e 's@ROOTDIR}/\.\.@FLOOR}@g' Make.rules.floor
ln -svf Make.rules.floor Make.rules
make
make docs
echo ; echo
echo BUILD DID NOT APPEAR TO FAIL
V1R3M0-
Use these if you only have access to a V1R3M0 driver.
#!/bin/sh -xe
RELEASE=BGP/IBM_V1R4M0
DIR=$HOME/$RELEASE
WEB=http://wiki.bg.anl-external.org/images
ARCH=$WEB/8/87/Bgpbase_devel_V1R4-2009.1.4-0.ppc64.rpm
RUNTIME=$WEB/6/63/Bgpruntime_devel_V1R4.1.4-0.ppc64.rpm
CNK=$WEB/e/ea/Bgpbgcnk_devel_V1R4-2009.1.4-0.ppc64.rpm
renice 1 -p $$
rm -rf $DIR
mkdir -p $DIR
cd $DIR
mkdir -p bgp tmp
cd tmp
basename_var () { eval wget -nv \$$1 || (eval echo Failed: \$$1 && exit 1) ; eval $1=\$\(basename \$$1\) ; }
basename_var ARCH
basename_var RUNTIME
basename_var CNK
rpm --checksig *.rpm
rpm --install --root $(pwd) --relocate /=$(pwd) *.rpm
cp -ai bgsys/drivers/*/ppc/* ../bgp
cd ../bgp
BASE=$(pwd)
git clone -n http://dcmf.anl-external.org/dcmf.git comm
cd comm
git checkout -b ${RELEASE} origin/${RELEASE}
ln -svf Make.rules.floor Make.rules
make
make docs
echo ; echo
echo BUILD DID NOT APPEAR TO FAIL
