зеркало из https://github.com/Azure/azurehpc.git
Removed sudo
This commit is contained in:
Родитель
460ccc755e
Коммит
c608fe72d1
|
@ -13,55 +13,55 @@ cd ${WORKING_DIR}
|
|||
install_required_packages()
|
||||
{
|
||||
echo "----------------------installing required packages."
|
||||
sudo yum -y install ksh
|
||||
sudo yum -y install mesa-libGLU
|
||||
sudo yum -y install motif
|
||||
sudo yum -y redhat-lsb
|
||||
sudo yum -y install glibc.i686
|
||||
sudo yum -y install elfutils-libelf.i686
|
||||
sudo yum -y install mesa-libGL.i686
|
||||
sudo yum -y install mesa-libGLU.i686
|
||||
sudo yum -y install motif.i686
|
||||
sudo yum -y install redhat-lsb.i686
|
||||
sudo yum -y install glibc-devel.i686
|
||||
sudo yum -y install libXScrnSaver.i686
|
||||
sudo yum -y install libXScrnSaver.x86_64
|
||||
sudo yum -y install java-1.8.0-openjdk
|
||||
yum -y install ksh
|
||||
yum -y install mesa-libGLU
|
||||
yum -y install motif
|
||||
yum -y redhat-lsb
|
||||
yum -y install glibc.i686
|
||||
yum -y install elfutils-libelf.i686
|
||||
yum -y install mesa-libGL.i686
|
||||
yum -y install mesa-libGLU.i686
|
||||
yum -y install motif.i686
|
||||
yum -y install redhat-lsb.i686
|
||||
yum -y install glibc-devel.i686
|
||||
yum -y install libXScrnSaver.i686
|
||||
yum -y install libXScrnSaver.x86_64
|
||||
yum -y install java-1.8.0-openjdk
|
||||
}
|
||||
|
||||
install_iscape()
|
||||
{
|
||||
echo "----------------------installing IScape."
|
||||
sudo wget ${CADENCE_TOOLS_BLOB}/${ISCAPE_FILE}
|
||||
sudo zcat ${ISCAPE_FILE} | sudo tar -xvf -
|
||||
wget ${CADENCE_TOOLS_BLOB}/${ISCAPE_FILE}
|
||||
zcat ${ISCAPE_FILE} | sudo tar -xvf -
|
||||
}
|
||||
|
||||
download_archive()
|
||||
{
|
||||
echo "----------------------downloading archive."
|
||||
cd ${WORKING_DIR}
|
||||
sudo wget ${CADENCE_TOOLS_BLOB}/SpectreXArchive.tgz
|
||||
sudo tar -xzvf SpectreXArchive.tgz
|
||||
wget ${CADENCE_TOOLS_BLOB}/SpectreXArchive.tgz
|
||||
tar -xzvf SpectreXArchive.tgz
|
||||
}
|
||||
|
||||
install_from_archive()
|
||||
{
|
||||
echo "---------------------installing from archive."
|
||||
cd ${WORKING_DIR}/iscape.04.23-s012/bin
|
||||
sudo ./iscape.sh -batch majorAction=installfromarchive ArchiveDirectory=${WORKING_DIR}/SpectreXArchive/ InstallDirectory=${INSTALL_DIR}
|
||||
./iscape.sh -batch majorAction=installfromarchive ArchiveDirectory=${WORKING_DIR}/SpectreXArchive/ InstallDirectory=${INSTALL_DIR}
|
||||
|
||||
# generate configuration scripts
|
||||
sudo ./iscape.sh -batch majorAction=configure InstallDirectory=${INSTALL_DIR}
|
||||
./iscape.sh -batch majorAction=configure InstallDirectory=${INSTALL_DIR}
|
||||
|
||||
# complete configuration
|
||||
sudo /bin/sh ${INSTALL_DIR}installData/SPECTRE191_lnx86/batch_configure.sh
|
||||
/bin/sh ${INSTALL_DIR}installData/SPECTRE191_lnx86/batch_configure.sh
|
||||
# test
|
||||
sudo ./iscape.sh -batch majorAction=test InstallDirectory=${INSTALL_DIR}
|
||||
./iscape.sh -batch majorAction=test InstallDirectory=${INSTALL_DIR}
|
||||
|
||||
# example
|
||||
cd ${INSTALL_DIR}
|
||||
sudo wget ${CADENCE_TOOLS_BLOB}/spectre_example.tgz
|
||||
sudo tar -xzvf spectre_example.tgz
|
||||
wget ${CADENCE_TOOLS_BLOB}/spectre_example.tgz
|
||||
tar -xzvf spectre_example.tgz
|
||||
}
|
||||
|
||||
install_required_packages
|
||||
|
|
Загрузка…
Ссылка в новой задаче