diff --git a/xCAT-IBMhpc/share/xcat/IBMhpc/essl/essl_install b/xCAT-IBMhpc/share/xcat/IBMhpc/essl/essl_install index 540efba28..9033c49f7 100755 --- a/xCAT-IBMhpc/share/xcat/IBMhpc/essl/essl_install +++ b/xCAT-IBMhpc/share/xcat/IBMhpc/essl/essl_install @@ -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