to support the upc compliers
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10783 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
dd7e9ce1cb
commit
4596a4adeb
@ -0,0 +1,6 @@
|
||||
compilers/vac.upc.cmp
|
||||
compilers/vac.upc.help
|
||||
compilers/vac.upc.lib
|
||||
compilers/vac.upc.man
|
||||
compilers/vac.upc.rte
|
||||
compilers/vac.upc.rte.lnk
|
46
xCAT-IBMhpc/share/xcat/IBMhpc/compilers/upc_license
Normal file
46
xCAT-IBMhpc/share/xcat/IBMhpc/compilers/upc_license
Normal file
@ -0,0 +1,46 @@
|
||||
#!/bin/sh
|
||||
|
||||
#
|
||||
# Sample script to accept licenses for the IBM upc compilers
|
||||
# For AIX:
|
||||
# do nothing, license accepted with installp -Y flag
|
||||
# For Linux:
|
||||
# Assumes all compiler software has been installed
|
||||
|
||||
|
||||
OS=`uname`
|
||||
if [ $OS != "AIX" ]; then
|
||||
cd $installroot/
|
||||
upc_script=`find opt/ibmcmp/upc -name new_install -print`
|
||||
|
||||
if [ $NODESETSTATE == "install" ] || [ $NODESETSTATE == "boot" ]; then
|
||||
# Being run from a stateful install postscript
|
||||
if [ -n "$upc_script" ] ; then
|
||||
# UPC prompts for a minimum of three questions
|
||||
# on compute nodes and four on login nodes.
|
||||
# You may need modify here accordingly.
|
||||
(echo yes
|
||||
sleep 5
|
||||
echo 1
|
||||
sleep 5
|
||||
echo yes) | $upc_script
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ $NODESETSTATE == "genimage" ]; then
|
||||
# Being called from <image>.postinstall script
|
||||
# Assume we are on the same machine
|
||||
if [ -n "$upc_script" ] ; then
|
||||
# UPC prompts for a minimum of three questions
|
||||
# on compute nodes and four on login nodes.
|
||||
# You may need modify here accordingly.
|
||||
(echo yes
|
||||
sleep 5
|
||||
echo 1
|
||||
sleep 5
|
||||
echo yes) | chroot $installroot /$upc_script
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user