Difference between revisions of "StarCCM Guide"

From Storrs HPC Wiki
Jump to: navigation, search
(Update to lastest version)
Line 5: Line 5:
  
 
Load the Star CCM+ module:
 
Load the Star CCM+ module:
  module load starccm/10.06.010
+
  module load starccm/12.04.011
  
 
To avoid always having to do this, you can add it to your startup <code>~/.bashrc</code> file:
 
To avoid always having to do this, you can add it to your startup <code>~/.bashrc</code> file:
  module initadd starccm/10.06.010
+
  module initadd starccm/12.04.011
  
 
== Multiple machine job ==
 
== Multiple machine job ==
Line 29: Line 29:
 
== Single machine job ==
 
== Single machine job ==
  
  [NetID@cn65 ~]$ module load starccm/6.06.011
+
  [NetID@cn65 ~]$ module load starccm/12.04.011
 
  [NetID@cn65 ~]$ fisbatch -p Westmere --exclusive
 
  [NetID@cn65 ~]$ fisbatch -p Westmere --exclusive
 
  FISBATCH -- the maximum time for the interactive screen is limited to 6 hours. You can add QoS to overwrite it.
 
  FISBATCH -- the maximum time for the interactive screen is limited to 6 hours. You can add QoS to overwrite it.

Revision as of 11:05, 28 September 2017

StarCCM+ Guide

At this time only GUI mode is supported

Follow our X guide to connect open a graphical session.

Load the Star CCM+ module:

module load starccm/12.04.011

To avoid always having to do this, you can add it to your startup ~/.bashrc file:

module initadd starccm/12.04.011

Multiple machine job

To run across multiple computers, we need a machinefile.

[NetID@cn65 ~]$ fisbatch -p general -N 4 -c 4 --exclusive
[NetID@cn65 ~]$ srun hostname | sort | uniq > ~/machinefile
[NetID@cn1822 ~]$ starccm+ -rsh ssh

Load simulation and specify:

  • Process Options
    • Parallel Specified by Machine File
      • Compute Processes: 16 (since we specified 4 nodes x 4 CPUS each in the fisbatch command above)
      • Machine file: <The "machinefile" you created in your home directory with the previous command>
  • License
    • Power-On-Demand
      • Power-On-Demand Key: <From your academic license>
  • File: </path/to/your/file.sim>

Single machine job

[NetID@cn65 ~]$ module load starccm/12.04.011
[NetID@cn65 ~]$ fisbatch -p Westmere --exclusive
FISBATCH -- the maximum time for the interactive screen is limited to 6 hours. You can add QoS to overwrite it.
FISBATCH -- waiting for JOBID 20248 to start on cluster=cluster and partition=Westmere
!
FISBATCH -- Connecting to head node (cn42)
[NetID@cn42 ~]$ starccm+ -rsh ssh
... # here will be the interactive commands with StarCCM
[xxx00000@cn42 ~]$ exit
[screen is terminating]
Connection to cn42 closed.
FISBATCH -- exiting job

NOTE: please DO NOT FORGET to EXIT from the nodes so that the other users can use it.

To specify the core allocation for the job use the command "-c"

[NetID@cn65 ~]$ fisbatch -c 12 -p Westmere --exclusive
FISBATCH -- the maximum time for the interactive screen is limited to 6 hours. You can add QoS to overwrite it.
FISBATCH -- waiting for JOBID 20248 to start on cluster=cluster and partition=Westmere
!
FISBATCH -- Connecting to head node (cn42)
[NetID@cn42 ~]$ starccm+ -rsh ssh
... # here will be the interactive commands with StarCCM
[xxx00000@cn42 ~]$ exit
[screen is terminating]
Connection to cn42 closed.
FISBATCH -- exiting job

NOTE: please DO NOT FORGET to EXIT from the nodes so that the other users can use it.

Where "-c 12" specifies the job to run on 12 cores, each node holds 12 cores. By using the parallel setting and specifying 12 processes in StarCCM all 12 cores can be used with no further commands required. At this point Star CCM+ will load and usage is like a standard desktop.


Java Macro Instructions

Starting Star CCM+ in batch mode is the same as starting in GUI mode. The changes in the running procedure only occur after launching StarCCM+. In batch mode the program does not start a GUI but instead runs based off a series of commands entered in the simulation launch screen. In order to run a batch mode simulation the user must have already created a macro that at minimum starts the simulation when the macro is run.