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

From HPC
Jump to: navigation , search
m
m
Line 12: Line 12:
  
  
 +
== Usage Examples ==
 +
 +
=== Batch Submission ===
 +
 +
<pre style="background-color: #C8C8C8; color: black; border: 2px solid blue; font-family: monospace, sans-serif;">
 +
 +
#!/bin/bash
 +
 +
#SBATCH -J TM-40
 +
#SBATCH -N 2
 +
#SBATCH --ntasks-per-node=20
 +
#SBATCH -n 40
 +
 +
#SBATCH -D /home/pysdlb/Starccm20
 +
#SBATCH -o test.out
 +
#SBATCH -e test.err
 +
#SBATCH -p compute
 +
#SBATCH --exclusive
 +
#SBATCH --time=2-00:00:00
 +
 +
echo $SLURM_NTASKS
 +
echo $SLURM_JOB_NODELIST
 +
echo $SLURM_HOSTS
 +
 +
module purge
 +
module load starccm+/11.02.010
 +
module load intel/compiler/64/2016
 +
module load intel/mpi/64/5.1.3.181
 +
 +
export I_MPI_ROOT=/trinity/clustervision/CentOS/7/apps/intel/impi/5.1.3.181
 +
export I_MPI_DEBUG=5
 +
export I_MPI_FABRICS=shm:tmi
 +
export I_MPI_FALLBACK=no
 +
export LD_LIBRARY_PATH=/usr/lib64/psm2-compat:$LD_LIBRARY_PATH
 +
export MPI_IB_PKEY=0x7fff
 +
 +
sim_file="testmesh.sim"
 +
STARTMACRO="runsim.java"
  
== Usage Examples ==
+
srun hostname -s | sort | uniq -c | awk '{ print $2":"$1 }' > hostfile
 +
 
 +
starccm+ -fabricverbose -power -podkey <pod-licence code here> -np $SLURM_NTASKS -machinefile hostfile -licpath 1999@flex.cd-adapco.com $sim_file -batch $STARTMACRO -batch-report
 +
</pre>
 +
 
 +
 
 +
<pre style="background-color: #C8C8C8; color: black; border: 2px solid black; font-family: monospace, sans-serif;">
 +
[username@login01 ~]$ sbatch starccm.job
 +
Submitted batch job 289522
 +
</pre>

Revision as of 09:29, 30 January 2017

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 Module names : starccm+/11.02.010 License: University of Hull Engineering department, restricted by POD license Further information: http://mdx.plm.automation.siemens.com/ star-ccm+


Toolboxes

Usage Examples

Batch Submission


#!/bin/bash

#SBATCH -J TM-40
#SBATCH -N 2
#SBATCH --ntasks-per-node=20
#SBATCH -n 40

#SBATCH -D /home/pysdlb/Starccm20
#SBATCH -o test.out
#SBATCH -e test.err
#SBATCH -p compute
#SBATCH --exclusive
#SBATCH --time=2-00:00:00

echo $SLURM_NTASKS
echo $SLURM_JOB_NODELIST
echo $SLURM_HOSTS

module purge
module load starccm+/11.02.010
module load intel/compiler/64/2016
module load intel/mpi/64/5.1.3.181

export I_MPI_ROOT=/trinity/clustervision/CentOS/7/apps/intel/impi/5.1.3.181
export I_MPI_DEBUG=5
export I_MPI_FABRICS=shm:tmi
export I_MPI_FALLBACK=no
export LD_LIBRARY_PATH=/usr/lib64/psm2-compat:$LD_LIBRARY_PATH
export MPI_IB_PKEY=0x7fff

sim_file="testmesh.sim"
STARTMACRO="runsim.java"

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

starccm+ -fabricverbose -power -podkey <pod-licence code here> -np $SLURM_NTASKS -machinefile hostfile -licpath [mailto:1999@flex.cd-adapco.com 1999@flex.cd-adapco.com] $sim_file -batch $STARTMACRO -batch-report


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