CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens > STAR-CCM+

How to use SLURM to run STAR-CCM+ simulation

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 8, 2020, 08:22
Default
  #21
Senior Member
 
Sebastian Engel
Join Date: Jun 2011
Location: Germany
Posts: 467
Rep Power: 17
bluebase will become famous soon enough
If you have a cluster with time limits for jobs, you might like my script https://wikis.ovgu.de/lss/doku.php?i...rccm#variant_1


It tells slurm to send a signal, when a job is about to reach its time limit. The above script traps that signal and will write an ABORT file into the work directory. That way, starccm can stop gracefully.
The advantage with this method is you will not lose the computation since your last (auto)save.
As long as you have an active stop file stopping criterion this methods will work with macro-based runs as well as command-style runs.

Anyhow, this script contains some lines which are specific to my university's cluster. This includes the compute node's resources, name of queues, work directories, availability and names of modules, custom prolog and epilog scripts, and mpi settings.
Of course, you need to adapt these information to your system.
bluebase is offline   Reply With Quote

Old   August 8, 2020, 08:39
Default
  #22
Senior Member
 
MA
Join Date: Mar 2020
Posts: 162
Rep Power: 2
mazhar16823 is on a distinguished road
Quote:
Originally Posted by bluebase View Post
If you have a cluster with time limits for jobs, you might like my script https://wikis.ovgu.de/lss/doku.php?i...rccm#variant_1


It tells slurm to send a signal, when a job is about to reach its time limit. The above script traps that signal and will write an ABORT file into the work directory. That way, starccm can stop gracefully.
The advantage with this method is you will not lose the computation since your last (auto)save.
As long as you have an active stop file stopping criterion this methods will work with macro-based runs as well as command-style runs.

Anyhow, this script contains some lines which are specific to my university's cluster. This includes the compute node's resources, name of queues, work directories, availability and names of modules, custom prolog and epilog scripts, and mpi settings.
Of course, you need to adapt these information to your system.

Thanks for your kind input. I already made a SLURM file, and sorted out the issues. However, it would help someone else for sure.
mazhar16823 is offline   Reply With Quote

Reply

Tags
clusters, mpi, slurm, star-ccm+

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Marine Propeller Hydroacoustic Simulation in Star CCM BlackEagle STAR-CCM+ 1 December 8, 2017 21:33
abaqus star ccm co simulation Mustafalboro STAR-CCM+ 0 July 25, 2017 16:13
Run STAR CCM+ with -power by default Jorgror STAR-CCM+ 2 February 16, 2016 08:46
Thermal Comfort Simulation in STAR CCM+ anupmu STAR-CCM+ 1 February 27, 2013 14:25
Procedure to run unsteady simulation? STN Main CFD Forum 2 February 16, 2002 04:37


All times are GMT -4. The time now is 06:02.