Actions

Difference between revisions of "ANSYS"

From Montana Tech High Performance Computing

(Running ANSYS Desktop GUI)
(Sample Script (UNDER DEVELOPMENT))
Line 9: Line 9:
 
==== Sample Script (UNDER DEVELOPMENT) ====
 
==== Sample Script (UNDER DEVELOPMENT) ====
 
#Create a job script for using 4 processors (cores) - put the following in a file called fluentjob.sh
 
#Create a job script for using 4 processors (cores) - put the following in a file called fluentjob.sh
#: <code style=display:block>#!/bin/sh<br>PBS -l nodes=1:ppn=4<br>#PBS -j oe<br>#PBS -N Fluent_test<br>#PBS -S /bin/bash<br>#PBS -l walltime=02:00:00<br> <br>module load ansys<br>fluent ### OPTIONS? INPUT FILES? </code>
+
#: <code style=display:block>#!/bin/sh<br>#SBATCH -J JOB_NAME #Name of the computation<br>#SBATCH -N 1 # Total number of nodes requested<br>#SBATCH -n 4 # Total number of tasks per node requested<br>#SBATCH -t 01:00:00 # Total run time requested - 1 hour<br>#SBATCH -p normal # compute nodes partition requested<br> <br>module load ANSYS<br>fluent ### OPTIONS? INPUT FILES? </code>
 
#Submit to Moab
 
#Submit to Moab
#: <code>msub fluentjob.sh</code>
+
#: <code>sbatch fluentjob.sh</code>
#Check status with showq or qstat.
+
#Check status with <code>squeue</code> command

Revision as of 12:08, 21 July 2021

Running ANSYS Desktop GUI

The ANSYS desktop gui can be run on the management node, but long simulations should be executed on the compute nodes. To start ANSYS workbench GUI on HPC or Copper Server

module load ansys
runwb2

To start FLUENT GUI, you can use : fluent instead of : runwb2 above

Submitting batch jobs through Moab

To avoid overloading the management node, ANSYS Fluent should be used in batch mode and jobs should be submitted to the compute nodes through torque.

Sample Script (UNDER DEVELOPMENT)

  1. Create a job script for using 4 processors (cores) - put the following in a file called fluentjob.sh
    #!/bin/sh
    #SBATCH -J JOB_NAME #Name of the computation
    #SBATCH -N 1 # Total number of nodes requested
    #SBATCH -n 4 # Total number of tasks per node requested
    #SBATCH -t 01:00:00 # Total run time requested - 1 hour
    #SBATCH -p normal # compute nodes partition requested

    module load ANSYS
    fluent ### OPTIONS? INPUT FILES?
  2. Submit to Moab
    sbatch fluentjob.sh
  3. Check status with squeue command