зеркало из https://github.com/Azure/azurehpc.git
initial installer
This commit is contained in:
Родитель
c8f2e2930a
Коммит
4c2371d27a
|
@ -0,0 +1,24 @@
|
|||
#!/bin/bash
|
||||
|
||||
# parameters that can be overridden
|
||||
APP_INSTALL_DIR=${APP_INSTALL_DIR:-/apps}
|
||||
TMP_DIR=${TMP_DIR:-/mnt/resource}
|
||||
RADIOSS_INSTALLER_FILE=${RADIOSS_INSTALLER_FILE:-/mnt/resource/hwSolvers2018_linux64.bin}
|
||||
RADIOSS_HOTFIX_FILE=${RADIOSS_HOTFIX_FILE:-/mnt/resource/hwSolvers2018.0.1_hotfix_linux64.bin}
|
||||
|
||||
if [ ! -e $RADIOSS_INSTALLER_FILE ]; then
|
||||
echo "Error: $RADIOSS_INSTALLER_FILE does not exist"
|
||||
echo "You can set the path to the file with the RADIOSS_INSTALLER_FILE"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ ! -e $RADIOSS_HOTFIX_FILE ]; then
|
||||
echo "Error: $RADIOSS_HOTFIX_FILE does not exist"
|
||||
echo "You can set the path to the file with the RADIOSS_HOTFIX_FILE"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
install_dir=$APP_INSTALL_DIR/altair/2018
|
||||
|
||||
sudo $RADIOSS_INSTALLER_FILE -i silent -DUSER_INSTALL_DIR=$install_dir
|
||||
sudo $RADIOSS_HOTFIX_FILE -i silent -DUSER_INSTALL_DIR=$install_dir/
|
|
@ -0,0 +1,45 @@
|
|||
## Install and run Radioss Benchmarks
|
||||
|
||||
## Prerequisites
|
||||
|
||||
Cluster is built with the desired configuration for networking, storage, compute etc. You can see the tutorial or examples folder in this repo for how to set this up.
|
||||
|
||||
Dependencies for binary version:
|
||||
|
||||
* None
|
||||
|
||||
NOTE: Update the path to the Radioss installer storageendpoint, sasurl and license server in $azhpc_dir/apps/radioss/install_radioss.sh
|
||||
|
||||
First copy the apps directory to the cluster. The `azhpc-scp` can be used to do this:
|
||||
|
||||
```
|
||||
azhpc-scp -r $azhpc_dir/apps hpcuser@headnode:.
|
||||
```n
|
||||
|
||||
> Alternatively you can checkout the azurehpc repository but you will need to update the paths according to where you put it.
|
||||
|
||||
## Connect to the headnode
|
||||
|
||||
```
|
||||
azhpc-connect -u hpcuser headnode
|
||||
```
|
||||
|
||||
## Installation
|
||||
|
||||
```
|
||||
apps/radioss/install_radioss.sh
|
||||
|
||||
```
|
||||
|
||||
> Note: This will install into `/apps`.
|
||||
|
||||
## Running
|
||||
|
||||
NOTE: Update the path to the radioss benchmark storageendpoint, saskey and license server in $azhpc_dir/apps/radioss/run_radioss.pbs
|
||||
|
||||
Now, you can run as follows:
|
||||
|
||||
```
|
||||
qsub -v "MODEL=<model name>" -l select=2:ncpus=15:mpiprocs=15,place=scatter:excl apps/radioss/run_radioss.pbs
|
||||
|
||||
```
|
Загрузка…
Ссылка в новой задаче