Altair HyperWorks
Overview
Available on | Mesocomte cluster |
---|---|
Installed version | 14.0 |
Location on the cluster | /Softs/lumiere/Hyperworks |
Web links | User guide |
Licensing | Licensed to S.Roth |
Usage
To load the software just type:
$ module load altair/HyperWorks/14.0
The launcher scripts are located in /Softs/HyperWorks/11/altair/scripts. When using modules
this location is added to your PATH
along with the license server information.
Use $ALTAIR_HOME
environment variable to access to the installation folder.
Interactive mode
Interactive mode is like starting graphical user interface for post/pre processing. You need to used a dedicated node for that:
Connect to : mesoshared@univ-fcomte.fr
using NXClient
To start HyperMesh for example, after loading module hyperworks with modules, juste type :
$ hm
Batch mode with SGE
Connect to cluster to submit jobs: mesologin1.univ-fcomte.fr
MPI Execution
We need to start 2 jobs, for compilation and for computation.
Compilation jobs will generate necessary files for the execution part.
Compilation part
This phase needs a lot of memory depending on the number of SPMD parameters (-np)
- radioss_compile.sge
#!/bin/bash #$ -N radioss_compile ## script name #$ -q all.q ## queue to use #$ -l h_vmem=12G ## request memory 12g/core export OMPI_NUM_THREADS=1 ## load the software module load altair/HyperWorks/14.0 ##Number of SPMD part to generate SPMD=16 cp $ALTAIR_HOME/hwsolvers/bin/linux64/radflex_14_linux64 . s_14.0.240_linux64 -input hubys_2m3_0000.rad -np $SPMD
This will generate 16 files for the computation part (.rst).
Submit your job
$ qsub radioss_compile.sge
Computation part (MPI)
- radioss_compute.sge
#!/bin/bash #$ -N radioss_compute ## script name #$ -q parallel.q ## queue to use #$ -pe mpi 16 ## request 16 MPI cores #$ -l h_vmem=4G ## request memory 2g/core #$ -l radioss=1 ## for licence #$ -o compute.$JOB_ID.out #$ -V export OMPI_NUM_THREADS=1 ## load the software module load altair/HyperWorks/14.0 cp $ALTAIR_HOME/hwsolvers/bin/linux64/radflex_14_linux64 . mpiexec.hydra -np $NSLOTS e_14.0.240_linux64_impi -input hubys_2m3_0001.rad
Submission
$ qsub radioss_compute.sge
Tips
Note that computation job depends on compilation one.
SGE allows to run jobs in sequence.
We first run the compilation part with name radioss_compile
qsub -N radioss_compile radioss_compile.sge
And just after :
qsub -hold_jid radioss_compile radioss_compute.sge