Ansys

From SciNet Users Documentation
Revision as of 01:42, 11 August 2018 by Ejspence (talk | contribs)
Jump to navigation Jump to search

The Ansys engineering simulation tools are installed in both the Niagara and CC software stacks.

Getting a license

Licenses are provided by CMC Microsystems. Canadian students and faculty can register at this page.

Once you have an account, you must contact CMC and tell them you want to use the Ansys tools on Niagara, and give them your SciNet username.

Running using the Niagara installation

Ansys 19.0

Commercial modules can only be accessed using the 'module use' command.

module use /scinet/niagara/software/commercial/modules
module load ansys/19.0

Programs available:

  • fluent
  • ansysedt
  • mapdl
  • ...

Running ansys190

Example submission script for a job running on 4 nodes, with max walltime of 24 hours:

#!/bin/bash
#SBATCH --nodes=2
#SBATCH --ntasks-per-node=40
#SBATCH --time=11:00:00
#SBATCH --job-name test

module use /scinet/niagara/software/commercial/modules
module load ansys/19.0

# DIRECTORY TO RUN - $PBS_O_WORKDIR is directory job was submitted from
cd $SLURM_SUBMIT_DIR

machines=`srun bash -c 'hostname -s' | sort | uniq | awk '{print $1 ":" 40}' | paste -s -d ':'`
ansys190 -b -j JOBNAME -ppf aa_r -dis -machines $machines -i ansys.in

Running using the Niagara installation

Ansys 19.0

Commercial modules can only be accessed using the 'module use' command.

module use /scinet/niagara/software/commercial/modules
module load ansys/19.0

Programs available:

  • fluent
  • ansysedt
  • mapdl
  • ...

Running ansys190

Example submission script for a job running on 4 nodes, with max walltime of 24 hours:

#!/bin/bash
#SBATCH --nodes=2
#SBATCH --ntasks-per-node=40
#SBATCH --time=11:00:00
#SBATCH --job-name test

module use /scinet/niagara/software/commercial/modules
module load ansys/19.0

# DIRECTORY TO RUN - $PBS_O_WORKDIR is directory job was submitted from
cd $SLURM_SUBMIT_DIR

machines=`srun bash -c 'hostname -s' | sort | uniq | awk '{print $1 ":" 40}' | paste -s -d ':'`
ansys190 -b -j JOBNAME -ppf aa_r -dis -machines $machines -i ansys.in