BwUniCluster2.0/Software/Ansys: Difference between revisions
No edit summary |
No edit summary |
||
Line 13: | Line 13: | ||
| academic |
| academic |
||
|- |
|- |
||
|Citing |
<!--|Citing |
||
| |
| |
||
|- |
|- --> |
||
| Links |
| Links |
||
| [http://www.ansys.com/ Homepage] |
| [http://www.ansys.com/ Homepage] |
||
Line 22: | Line 22: | ||
| Yes |
| Yes |
||
|- |
|- |
||
| User Forum |
<!--| User Forum |
||
| |
| --> |
||
|} |
|} |
||
Line 77: | Line 77: | ||
== ANSYS Fluent batch jobs == |
== 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: |
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: |
||
{{bwFrameA| |
|||
<pre> |
|||
<source lang="bash"> |
|||
#!/bin/sh |
#!/bin/sh |
||
#MSUB -l nodes=1:ppn=4 |
#MSUB -l nodes=1:ppn=4 |
||
Line 87: | Line 88: | ||
echo "" >> fluent.hosts |
echo "" >> fluent.hosts |
||
time fluent 3d -g -t4 -pib -cnf=fluent.hosts -i test.inp |
time fluent 3d -g -t4 -pib -cnf=fluent.hosts -i test.inp |
||
</ |
</source> |
||
}} |
|||
To submit the example script to the queueing system execute the following: |
To submit the example script to the queueing system execute the following: |
||
<pre> |
<pre> |
||
Line 97: | Line 99: | ||
== ANSYS CFX batch jobs == |
== 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': |
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': |
||
{{bwFrameA| |
|||
<pre> |
|||
<source lang="bash"> |
|||
#!/bin/sh |
#!/bin/sh |
||
#MSUB -l nodes=2:ppn=4 |
#MSUB -l nodes=2:ppn=4 |
||
Line 103: | Line 106: | ||
#MSUB -l mem=32000mb |
#MSUB -l mem=32000mb |
||
export MPI_USESRUN=1 |
export MPI_USESRUN=1 |
||
export PATH=/software/bwhpc/kit/cae/ansys_inc15/v150/CFX/bin:$PATH |
|||
cfx5solve -def test.def -part 8 -start-method 'Platform MPI Parallel' |
cfx5solve -def test.def -part 8 -start-method 'Platform MPI Parallel' |
||
</source> |
|||
}} |
|||
</pre> |
|||
To submit the example script to the queueing system execute: |
To submit the example script to the queueing system execute: |
||
<pre> |
<pre> |
Revision as of 19:18, 16 May 2014
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 current list of the versions available on the bwUniCluster and bwForclusters can be obtained from the Cluster Information System: CIS Information on ANSYS
On the command line interface (CLI) of a particular bwHPC cluster a list of all available ANSYS versions can be inquired as followed
$ module avail cae/ansys
Usage
Loading the Module
You can load the default version of ANSYS with the command:
$ module load cae/ansys
If you wish to load a specific (older) version of "ANSYS" you can do so by executing e.g.:
$ module load cae/ansys/15.0
to load the version 15.0
Start commands
To start an ANSYS 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 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
export MPI_USESRUN=1
export run_nodes=`srun hostname`
echo $run_nodes | sed "s/ /\n/g" > fluent.hosts
echo "" >> fluent.hosts
time fluent 3d -g -t4 -pib -cnf=fluent.hosts -i test.inp
|
To submit the example script to the queueing system execute the following:
$ module load cae/ansys/15.0 $ 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
export MPI_USESRUN=1
cfx5solve -def test.def -part 8 -start-method 'Platform MPI Parallel'
|
To submit the example script to the queueing system execute:
$ module load cae/ansys/15.0 $ msub run_cfx.sh