Ceci est une ancienne révision du document !


Ansys

The Ansys suite of programs can be used to numerically simulate a large variety of structural and fluid dynamics problems found in many engineering, physics, medical, aeronotics and automative industry applications.

  • 19.2

Use the command

$ module avail ansys_inc

to show available versions.

This documentation is dedicated only to ansys workbench

Connect to the interactive node mesoshared using X2GO as explained here.

Open a terminal and load the ansys_inc module:

$ module load ansys_inc/19.2

You can then access to the all ansys software components, for example launcher, cfxsove.

To run ansys with grapical mode:

$ ansys192 -g

Batch mode will execute ansys in command line using Grid Engine batch scheduler.

Notice that jobs must be started within WORK directory.
Change directory to WORK before submitting jobs.
$ cd WORK

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).
ansy.sge
#!/bin/bash
 
#$ -N test_ansy
 
#$ -q all.q
 
#$ -pe openmp 8  ## we request 8 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.2
 
## start application
 
ansys192 -np $NSLOTS -j inputansys23 < inputansys23.txt  >& inputansys23${JOB_ID}.out 
 
# delete rst files
rm *.rst

Submit the script to SGE :

$ qsub ansy.sge

FIXME TODO

  • ansys.1576248730.txt.gz
  • Dernière modification : 2019/12/13 14:52
  • de admin