Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

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:17] – [Installed version] adminansys [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</code> to show available versions.   Use the command <code bash>$ module avail ansys_inc</code> to show available versions.  
 +
 +<note important>This documentation covers only to ''ansys'' workbench!</note>
  
 ===== How to use it? ===== ===== How to use it? =====
Ligne 11: Ligne 13:
 ==== Interactive or GUI interface ===== ==== Interactive or GUI interface =====
  
-Connect to mesoshared node using X2GO as explained [[here|x2go]] +Connect to the interactive node ''mesoshared'' using X2GO as explained [[x2go|here]]. 
 + 
 +Open a terminal and load the ansys_inc module: 
 +<code bash> 
 +$ module load ansys_inc/19.2b 
 +</code> 
 + 
 +You can then access to the all ansys software components, for example ''launcher'', ''cfxsove''.  
 + 
 +To run ''ansys'' with grapical mode: 
 + 
 +<code bash> 
 +$ ansys192 -g 
 +</code> 
 +  
 + 
 +==== Batch mode ===== 
 +Batch mode will execute ''ansys'' in command line using Grid Engine batch scheduler.  
 + 
 +<WRAP center round tip 60%> 
 +Notice that jobs must be started within WORK directory.\\ 
 +Change directory to WORK before submitting jobs. \\ 
 +''$ cd WORK'' 
 +</WRAP> 
 +  
 + 
 +==== Parallel ansys using multi-core (1 node)==== 
 + 
 +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  queue 
 +  * We request 4G of memory by core i.e total 64G (the whole memory in the node). 
 + 
 +<note warning>Don't copy/past the code below. Download and save the file instead </note> 
 + 
 +<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   ## we request 4G by core 
 + 
 +## load ansys module 
 + 
 + module load ansys_inc/19.2b 
 + 
 +## start application 
 + 
 +ansys192 -np $NSLOTS -j inputansys23 < inputansys23.txt  >& inputansys23${JOB_ID}.out  
 + 
 +# delete rst files 
 +rm *.rst 
 + 
 + 
 +</file> 
 + 
 +Submit the script to SGE : 
 + 
 +<code bash> 
 +$ qsub ansy.sge 
 +</code> 
 +  
 + 
 + 
 +==== Parallel ansys using MPI (distributred nodes)==== 
 + 
 +FIXME TODO \\ 
 +NO MPI VERSION AVAILABLE
  • ansys.1576246661.txt.gz
  • Dernière modification : 2019/12/13 14:17
  • de admin