HPC Integration - change essl install to remove dependency on version numbers
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5692 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
1b30b87fb2
commit
a37439a227
@ -11,8 +11,6 @@
|
||||
OS=`uname`
|
||||
INSTALL_DIR='/install'
|
||||
ESSL_DIR=$essldir
|
||||
essl_bin=/opt/ibmmath/essl/4.3/bin
|
||||
pessl_bin=/opt/ibmmath/pessl/3.3/bin
|
||||
|
||||
if [ -z $ESSL_DIR ]; then
|
||||
# try to default
|
||||
@ -31,9 +29,11 @@ if [ $OS != "AIX" ]; then
|
||||
download_dir=`echo $ESSL_DIR | cut -d '/' -f3-`
|
||||
wget -l inf -N -r --waitretry=10 --random-wait --retry-connrefused -t 0 -T 60 -nH --cut-dirs=3 ftp://$SITEMASTER/$download_dir/*.rpm 2> /tmp/wget.log
|
||||
rpm -Uvh essl.license*.rpm
|
||||
$essl_bin/install_essl -y -d . -nodocs
|
||||
install_essl=`find /opt/ibmmath/essl -name install_essl -print`
|
||||
$install_essl -y -d . -nodocs
|
||||
rpm -Uvh pessl.license*.rpm
|
||||
$pessl_bin/install_pessl -y -d . -nodocs
|
||||
install_pessl=`find /opt/ibmmath/pessl -name install_pessl -print`
|
||||
$install_pessl -y -d . -nodocs
|
||||
rm -Rf /tmp/essl
|
||||
fi
|
||||
|
||||
@ -44,9 +44,12 @@ if [ $OS != "AIX" ]; then
|
||||
mkdir $installroot/$tmpdir
|
||||
cp -p $ESSL_DIR/* $installroot/$tmpdir
|
||||
rpm --root $installroot -Uvh $installroot/$tmpdir/essl.license*.rpm
|
||||
chroot $installroot $essl_bin/install_essl -y -nodocs -d /$tmpdir
|
||||
cd $installroot
|
||||
install_essl=`find opt/ibmmath/essl -name install_essl -print`
|
||||
chroot $installroot /$install_essl -y -nodocs -d /$tmpdir
|
||||
rpm --root $installroot -Uvh $installroot/$tmpdir/pessl.license*.rpm
|
||||
chroot $installroot $pessl_bin/install_pessl -y -nodocs -d /$tmpdir
|
||||
install_pessl=`find opt/ibmmath/pessl -name install_pessl -print`
|
||||
chroot $installroot /$install_pessl -y -nodocs -d /$tmpdir
|
||||
rm -rf $installroot/$tmpdir
|
||||
fi
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user