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 | ||
| ansys [2019/12/13 14:30] – [Batch mode] admin | ansys [2021/09/07 12:47] (Version actuelle) – admin | ||
|---|---|---|---|
| Ligne 3: | Ligne 3: | ||
| ===== Installed version ===== | ===== Installed version ===== | ||
| - | * 19.2 | + | * 19.2b |
| Use the command <code bash>$ module avail ansys_inc</ | Use the command <code bash>$ module avail ansys_inc</ | ||
| + | |||
| + | <note important> | ||
| ===== How to use it? ===== | ===== How to use it? ===== | ||
| Ligne 15: | Ligne 17: | ||
| Open a terminal and load the ansys_inc module: | Open a terminal and load the ansys_inc module: | ||
| <code bash> | <code bash> | ||
| - | $ module load ansys_inc/ | + | $ module load ansys_inc/ |
| </ | </ | ||
| Ligne 33: | Ligne 35: | ||
| Notice that jobs must be started within WORK directory.\\ | Notice that jobs must be started within WORK directory.\\ | ||
| Change directory to WORK before submitting jobs. \\ | Change directory to WORK before submitting jobs. \\ | ||
| - | '' | + | '' |
| </ | </ | ||
| - | ==== Parallel ansys using multicore | + | ==== Parallel ansys using multi-core |
| + | In this example we will execute ansys in parallel (shared memory) using 16 cores. | ||
| + | * We request 16 cores (one can request from 1 to 16 cores. harware limitation) | ||
| + | * We use default | ||
| + | * We request 4G of memory by core i.e total 64G (the whole memory in the node). | ||
| + | |||
| + | <note warning> | ||
| + | |||
| + | <file bash ansy.sge> | ||
| + | |||
| + | #!/bin/bash | ||
| + | |||
| + | #$ -N test_ansy | ||
| + | |||
| + | #$ -q all.q | ||
| + | |||
| + | #$ -pe openmp 16 ## we request 16 core # MAX is 16 (hardware limit) | ||
| + | #$ -o $JOB_NAME.$JOB_ID.out | ||
| + | |||
| + | #$ -l h_vmem=4G | ||
| + | |||
| + | ## load ansys module | ||
| + | |||
| + | | ||
| + | |||
| + | ## start application | ||
| + | |||
| + | ansys192 -np $NSLOTS -j inputansys23 < inputansys23.txt | ||
| + | |||
| + | # delete rst files | ||
| + | rm *.rst | ||
| + | |||
| + | |||
| + | </ | ||
| + | |||
| + | Submit the script to SGE : | ||
| + | |||
| + | <code bash> | ||
| + | $ qsub ansy.sge | ||
| + | </ | ||
| + | |||
| + | |||
| + | |||
| ==== Parallel ansys using MPI (distributred nodes)==== | ==== Parallel ansys using MPI (distributred nodes)==== | ||
| - | FIXME TODO | + | FIXME TODO \\ |
| + | NO MPI VERSION AVAILABLE | ||