Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
| hyperworks [2016/02/26 13:44] – admin | hyperworks [2020/11/25 09:56] (Version actuelle) – [Overview] admin | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| ====== Altair HyperWorks | ====== Altair HyperWorks | ||
| - | |||
| - | FIXME | ||
| ===== Overview ===== | ===== Overview ===== | ||
| - | ^Available on|Mesocomte | + | ^Available on|Lumiere |
| - | ^Installed version|11.0| | + | ^Installed version|[[hyperworks: |
| - | ^Location on the cluster|/ | + | ^Location on the cluster|/ |
| ^Web links|[[http:// | ^Web links|[[http:// | ||
| ^Licensing|Licensed to S.Roth | | ^Licensing|Licensed to S.Roth | | ||
| - | ===== Usage ===== | ||
| - | |||
| - | |||
| - | To load the software just type: | ||
| - | |||
| - | <code bash> | ||
| - | |||
| - | $ module load altair/ | ||
| - | </ | ||
| - | |||
| - | |||
| - | <WRAP center round tip 60%> | ||
| - | |||
| - | The launcher scripts are located in / | ||
| - | this location is added to your '' | ||
| - | |||
| - | </ | ||
| - | |||
| - | |||
| - | |||
| - | <WRAP center round help 60%> | ||
| - | |||
| - | Use '' | ||
| - | |||
| - | </ | ||
| - | |||
| - | ===== 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 : '' | ||
| - | |||
| - | |||
| - | To start HyperMesh for example, after loading module hyperworks with modules, juste type : | ||
| - | |||
| - | <code bash> | ||
| - | |||
| - | $ hm | ||
| - | |||
| - | </ | ||
| - | |||
| - | ===== Batch mode with SGE ===== | ||
| - | Connect to cluster to submit jobs: '' | ||
| - | |||
| - | |||
| - | ==== Multi-threaded Execution (SMP) ==== | ||
| - | |||
| - | A template example to run radioss in SMP machine: | ||
| - | |||
| - | <file bash hyperworks_SMP.sge> | ||
| - | #!/bin/bash -l | ||
| - | |||
| - | #$ -N scriptName | ||
| - | |||
| - | #$ -pe openmp 8 ## request 8 threads | ||
| - | #$ -l h_vmem=4G | ||
| - | |||
| - | |||
| - | ## load the software | ||
| - | |||
| - | module load altair/ | ||
| - | |||
| - | radioss | ||
| - | |||
| - | </ | ||
| - | |||
| - | Required options: | ||
| - | |||
| - | ^Option^ Description^ | ||
| - | |-nthread|This is the number of parallel threads to use. It should be the same as the '' | ||
| - | |< | ||
| - | |||
| - | You can supply additional options for each script use the '' | ||
| - | |||
| - | Also see the [[http:// | ||
| - | |||
| - | ===== 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**) | ||
| - | |||
| - | <file bash radioss_compile.sge> | ||
| - | #!/bin/bash -l | ||
| - | |||
| - | #$ -N radioss_compile | ||
| - | |||
| - | #$ -q all.q ## queue to use | ||
| - | |||
| - | #$ -l h_vmem=12G | ||
| - | |||
| - | export OMPI_NUM_THREADS=1 | ||
| - | |||
| - | ## load the software | ||
| - | |||
| - | module load altair/ | ||
| - | |||
| - | ##Number of SPMD part to generate | ||
| - | |||
| - | SPMD=16 | ||
| - | |||
| - | cp $ALTAIR_HOME/ | ||
| - | |||
| - | s_11.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)** | ||
| - | |||
| - | <note important> | ||
| - | |||
| - | <note tip>This job will be executed in parallel using MPI using 16 cores</ | ||
| - | |||
| - | |||
| - | <file bash radioss_compute.sge> | ||
| - | |||
| - | |||
| - | #!/bin/bash -l | ||
| - | |||
| - | #$ -N radioss_compute | ||
| - | |||
| - | #$ -q parallel.q | ||
| - | |||
| - | #$ -pe mpi 16 ## request 16 MPI cores | ||
| - | |||
| - | #$ -l h_vmem=4G | ||
| - | |||
| - | #$ -l radioss=1 | ||
| - | |||
| - | #$ -o compute.$JOB_ID.out | ||
| - | |||
| - | #$ -V | ||
| - | |||
| - | export OMPI_NUM_THREADS=1 | ||
| - | |||
| - | ## load the software | ||
| - | |||
| - | module load altair/ | ||
| - | |||
| - | |||
| - | cp $ALTAIR_HOME/ | ||
| - | |||
| - | echo " | ||
| - | |||
| - | mpiexec.hydra -np $NSLOTS e_11.0.240_linux64_impi -input hubys_2m3_0001.rad | ||
| - | |||
| - | echo " | ||
| - | |||
| - | |||
| - | </ | ||
| - | |||
| - | **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 | ||
| - | |||
| - | <code bash> | ||
| - | qsub -N radioss_compile radioss_compile.sge | ||
| - | </ | ||
| - | |||
| - | And just after : | ||
| - | |||
| - | <code bash> | ||
| - | |||
| - | qsub -hold_jid radioss_compile radioss_compute.sge | ||
| - | |||
| - | </ | ||