Difference between revisions of "Applications/Star-ccm+"

From HPC
Jump to: navigation , search
m
m
Line 4: Line 4:
 
* Description : Produced by CD-adapco (Computational Dynamics-Analysis & Design Application Company Ltd), star-ccm+ is used for computer-aided engineering, in particular computational fluid dynamics (CFD).
 
* Description : Produced by CD-adapco (Computational Dynamics-Analysis & Design Application Company Ltd), star-ccm+ is used for computer-aided engineering, in particular computational fluid dynamics (CFD).
 
* Versions : 11.02.010/12.04.011
 
* Versions : 11.02.010/12.04.011
* Module names : starccm+/11.02.010 and starccm+/12.04.011
+
* Module names : starccm+/11.02.010, starccm+/12.04.011, starccm+/12.06.011 and starccm+/13.04.011
 
* License: University of Hull Engineering department, restricted by POD license
 
* License: University of Hull Engineering department, restricted by POD license
  
  
 
== Usage Examples ==
 
== Usage Examples ==
 +
 +
'''Important''': where possible it is recommended to use version 13.04.011
  
 
=== Batch Submission ===
 
=== Batch Submission ===
Line 14: Line 16:
 
<pre style="background-color: #C8C8C8; color: black; border: 2px solid #C8C8C8; font-family: monospace, sans-serif;">
 
<pre style="background-color: #C8C8C8; color: black; border: 2px solid #C8C8C8; font-family: monospace, sans-serif;">
  
#!/bin/bash
+
#SBATCH -J STAR_TEST
 
 
#SBATCH -J TESTJOB
 
 
#SBATCH --nodes=3
 
#SBATCH --nodes=3
 
#SBATCH --ntasks-per-node=28
 
#SBATCH --ntasks-per-node=28
  
#SBATCH -D /home/user/TESTCASE/
+
#SBATCH -D /home/username/TESTCASE/
 
#SBATCH -o DB.%N.%j.%a.out
 
#SBATCH -o DB.%N.%j.%a.out
 
#SBATCH -e DB.%N.%j.%a.err
 
#SBATCH -e DB.%N.%j.%a.err
Line 31: Line 31:
  
 
module purge
 
module purge
module add starccm+/12.04.011
+
module load starccm+/13.04.011
 +
module load openmpi/3.0.0/gcc-7.3.0
  
 
export I_MPI_DEBUG=5
 
export I_MPI_DEBUG=5
Line 39: Line 40:
 
srun hostname -s | sort | uniq -c | awk '{ print $2":"$1 }' > hosts
 
srun hostname -s | sort | uniq -c | awk '{ print $2":"$1 }' > hosts
  
sim_file="Fluid_Film_On_An_Incline_we_101_SF05_TESTING_video6.sim"
+
sim_file="Fluid_Film_On_An_Incline_we_005_SF05_TESTING.sim"
STARTMACRO="/home/user/TESTCASE/runsim.java"
+
STARTMACRO="/home/username/TESTCASE/runsim.java"
MACHINEFILE="/home/user/TESTCASE/machinefile"
+
MACHINEFILE="/home/username/TESTCASE/machinefile"
  
starccm+ -podkey <pod_license> -licpath 1999[at]flex.cd-adapco.com -mpi platform -power -np $SLURM_NTASKS -machinefile hosts Fluid_Film_On_An_Incline_we_101_SF05_TESTING_video6.sim -batch mesh,run
+
starccm+ -podkey <license_key> -licpath 1999@flex.cd-adapco.com -mpi platform -power -np $SLURM_NTASKS -machinefile hosts Fluid_Film_On_An_Incline_we_005_SF05_TESTING.sim -batch mesh,run
 +
</pre>
  
</pre>
 
 
* '''Note''' : [at] = @
 
* '''Note''' : [at] = @
 +
* username your login ID
  
  
Line 65: Line 67:
 
Last login: Wed Nov 19 09:40:23 2017 from 10.254.5.246
 
Last login: Wed Nov 19 09:40:23 2017 from 10.254.5.246
  
[username@c143 ~]$ module add starccm+/11.02.010
+
[username@c143 ~]$ module add starccm+/13.04.011
 +
[username@c143 ~]$ module add openmpi/3.0.0/gcc-7.3.0
 
[username@c143 ~]$ srun hostname -s | sort | uniq -c | awk '{ print $2":"$1 }' > hostfile
 
[username@c143 ~]$ srun hostname -s | sort | uniq -c | awk '{ print $2":"$1 }' > hostfile
 
[username@c143 ~]$ starccm+ -fabricverbose -power -podkey <pod-licence code here> -np 12 -machinefile hostfile -licpath 1999[at]flex.cd-adapco.com testmesh.sim  -batch runsim.java -batch-report
 
[username@c143 ~]$ starccm+ -fabricverbose -power -podkey <pod-licence code here> -np 12 -machinefile hostfile -licpath 1999[at]flex.cd-adapco.com testmesh.sim  -batch runsim.java -batch-report
Line 71: Line 74:
 
* '''Note''' : [at] = @
 
* '''Note''' : [at] = @
  
 +
==Known Issues==
 +
 +
* It would appear that this application does not scale across multi nodes on versions 11 and 12, although version 13 does with the openMPI module also loaded.
  
 
== Further information ==  
 
== Further information ==  
  
 
* [http://mdx.plm.automation.siemens.com/ http://mdx.plm.automation.siemens.com/]
 
* [http://mdx.plm.automation.siemens.com/ http://mdx.plm.automation.siemens.com/]
 
  
  
 
[[Category:Applications]]
 
[[Category:Applications]]

Revision as of 13:38, 18 October 2018

Application Details

  • Description : Produced by CD-adapco (Computational Dynamics-Analysis & Design Application Company Ltd), star-ccm+ is used for computer-aided engineering, in particular computational fluid dynamics (CFD).
  • Versions : 11.02.010/12.04.011
  • Module names : starccm+/11.02.010, starccm+/12.04.011, starccm+/12.06.011 and starccm+/13.04.011
  • License: University of Hull Engineering department, restricted by POD license


Usage Examples

Important: where possible it is recommended to use version 13.04.011

Batch Submission


#SBATCH -J STAR_TEST
#SBATCH --nodes=3
#SBATCH --ntasks-per-node=28

#SBATCH -D /home/username/TESTCASE/
#SBATCH -o DB.%N.%j.%a.out
#SBATCH -e DB.%N.%j.%a.err
#SBATCH -p compute
#SBATCH --exclusive

echo $SLURM_NTASKS
echo $SLURM_JOB_NODELIST
echo $SLURM_HOSTS

module purge
module load starccm+/13.04.011
module load openmpi/3.0.0/gcc-7.3.0

export I_MPI_DEBUG=5
export I_MPI_FABRICS=shm:tmi
export I_MPI_FALLBACK=no

srun hostname -s | sort | uniq -c | awk '{ print $2":"$1 }' > hosts

sim_file="Fluid_Film_On_An_Incline_we_005_SF05_TESTING.sim"
STARTMACRO="/home/username/TESTCASE/runsim.java"
MACHINEFILE="/home/username/TESTCASE/machinefile"

starccm+ -podkey <license_key> -licpath [mailto:1999@flex.cd-adapco.com 1999@flex.cd-adapco.com] -mpi platform -power -np $SLURM_NTASKS -machinefile hosts Fluid_Film_On_An_Incline_we_005_SF05_TESTING.sim -batch mesh,run
  • Note : [at] = @
  • username your login ID


[username@login01 ~]$ sbatch starccm.job
Submitted batch job 289522

Interactive

Although the recommended method as a batch session it is also possible to run this as an interactive session. While logged into a compute node (c143):

[username@login01]$ interactive
salloc: Granted job allocation 114537
Job ID 614537 connecting to c143, please wait...
Last login: Wed Nov 19 09:40:23 2017 from 10.254.5.246

[username@c143 ~]$ module add starccm+/13.04.011
[username@c143 ~]$ module add openmpi/3.0.0/gcc-7.3.0
[username@c143 ~]$ srun hostname -s | sort | uniq -c | awk '{ print $2":"$1 }' > hostfile
[username@c143 ~]$ starccm+ -fabricverbose -power -podkey <pod-licence code here> -np 12 -machinefile hostfile -licpath 1999[at]flex.cd-adapco.com testmesh.sim  -batch runsim.java -batch-report
  • Note : [at] = @

Known Issues

  • It would appear that this application does not scale across multi nodes on versions 11 and 12, although version 13 does with the openMPI module also loaded.

Further information