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 Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 8, 2020, 09:39
Default
  #21
Senior Member
 
MA
Join Date: Mar 2020
Posts: 163
Rep Power: 6
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+


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 22:33
abaqus star ccm co simulation Mustafalboro STAR-CCM+ 0 July 25, 2017 17:13
Run STAR CCM+ with -power by default Jorgror STAR-CCM+ 2 February 16, 2016 09:46
Thermal Comfort Simulation in STAR CCM+ anupmu STAR-CCM+ 1 February 27, 2013 15:25
Procedure to run unsteady simulation? STN Main CFD Forum 2 February 16, 2002 05:37


All times are GMT -4. The time now is 10:59.