BwUniCluster2.0/Software/Ansys: Difference between revisions

From bwHPC Wiki
Jump to navigation Jump to search
Line 32: Line 32:


= Versions and Availability =
= Versions and Availability =
A current list of the versions available on the bwUniCluster and bwForclusters can be obtained from the Cluster Information System: [http://cis-hpc.uni-konstanz.de/prod.cis/ CIS Information on ANSYS]
A list of versions currently available on all bwHPC-C5-Clusters can be obtained from the
<br>
<big>


[https://cis-hpc.uni-konstanz.de/prod.cis/ Cluster Information System CIS]

</big>
{{#widget:Iframe
|url=https://cis-hpc.uni-konstanz.de/prod.cis/bwUniCluster/cae/ansys
|width=99%
|height=350
|border=1
}}
<big><p style="color: red;">Open the above links by using the right mouse button and select "open in a new window" or "open in a new tab".</p></big>


<br>
On the command line interface of a particular bwHPC cluster a list of all available ANSYS versions can be inquired as followed
On the command line interface of a particular bwHPC cluster a list of all available ANSYS versions can be inquired as followed
<pre>
<pre>

Revision as of 11:20, 26 November 2015

Name
module load cae/ansys
Availability bwUniCluster
License academic
Links Homepage
Graphical Interface Yes

Description

ANSYS is a general purpose software to simulate interactions of all disciplines of physics, structural, fluid dynamics, heat transfer, electromagnetic etc. For more information about ANSYS products please visit http://www.ansys.com/Industries/Academic/

Versions and Availability

A list of versions currently available on all bwHPC-C5-Clusters can be obtained from the

Cluster Information System CIS

{{#widget:Iframe |url=https://cis-hpc.uni-konstanz.de/prod.cis/bwUniCluster/cae/ansys |width=99% |height=350 |border=1 }}

Open the above links by using the right mouse button and select "open in a new window" or "open in a new tab".



On the command line interface of a particular bwHPC cluster a list of all available ANSYS versions can be inquired as followed

$ module avail cae/ansys
-------------------------- /opt/bwhpc/kit/modulefiles --------------------------
cae/ansys/15.0

------------------------ /opt/bwhpc/common/modulefiles -------------------------
cae/ansys/15.0_bw

There are two licenses. The module

cae/ansys/15.0_bw

uses the BW license server (25 academic research, 69 parallel processes) and

cae/ansys/15.0

uses the KIT license server (only members of the KIT can use it).


Usage

Loading the Module

If you wish to load a specific version of ANSYS you can do so by executing e.g.:

$ module load cae/ansys/15.0_bw

to load the version 15.0 with the BW license.

You can load the default version of ANSYS with the command:

$ module load cae/ansys

Start commands

To start an ANSYS Mechanical session enter

$ ansys150

To launch an ANSYS FLUENT session enter

$ fluent

The following command is to run the ANSYS Workbench

$ runwb2

Online documention is available from the help menu or by using the command

$ anshelp150

As with all processes that require more than a few minutes to run, non-trivial ANSYS solver jobs must be submitted to the cluster queueing system.

Examples

ANSYS Mechanical batch jobs

The following script could be submitted to the queueing system to run an ANSYS Mechanical job in parallel:

#!/bin/bash
module load cae/ansys
export MPIRUN_OPTIONS="-prot"
export MPI_USESRUN=1
cd Arbeitsverzeichnis
export MACHINES=`/software/bwhpc/common/cae/ansys_inc150/scc/machines.pl`
ansys150 -dis -b -j lal -machines $MACHINES < input.f18


working_dir could start with $HOME or $WORK .

To submit the example script to the queueing system execute the following (32 cores, 1 GB of memory per core, max. time 600 seconds) :

msub -l nodes=2:ppn=16,pmem=1000mb,walltime=600 Shell-Script

ANSYS Fluent batch jobs

The following script "run_fluent.sh" could be submitted to the queueing system to run an ANSYS Fluent job in parallel using 4 cores on a single node:

#!/bin/sh
#MSUB -l nodes=1:ppn=4
#MSUB -l walltime=0:10:00
#MSUB -l mem=16000mb

## setup environment
export MPI_USESRUN=1

## generate hosts list
export run_nodes=$(srun hostname)
echo $run_nodes | sed "s/ /\n/g" > fluent.hosts
echo "" >> fluent.hosts

## load ansys module
module load cae/ansys

## start fluent job
time fluent 3d -rsh=ssh -g -pib -cnf=fluent.hosts -i test.inp

To submit the example script to the queueing system execute the following:

$ msub run_fluent.sh


ANSYS CFX batch jobs

With the script "run_cfx.sh" you can submit a CFX job to the queueing system to run in parallel using 8 cores on two node with the start-method 'Platform MPI Parallel':

#!/bin/sh
#MSUB -l nodes=2:ppn=4
#MSUB -l walltime=0:10:00
#MSUB -l mem=32000mb

## setup environment
export MPI_USESRUN=1

## load ansys module
module load cae/ansys

## start job
cfx5solve -def  test.def -part 8 -start-method 'Platform MPI Parallel'

To submit the example script to the queueing system execute:

$ msub run_cfx.sh