|
[Sponsors] |
December 9, 2019, 06:47 |
Ending OpenFOAM jobs on SLURM
|
#1 | |
New Member
Join Date: May 2014
Posts: 6
Rep Power: 11 |
Hi all,
I have an issue ending openfoamn jobs submitted via a slurm SBatch script. I have the following submission script: Code:
#!/bin/bash #SBATCH --export=ALL #SBATCH -J openFoam-TH-Aft-12kts #SBATCH --nodes=1-1 #SBATCH --tasks-per-node=11 #SBATCH --time=48:00:00 #SBATCH --signal=B:18@1800 . /opt/openfoam5/etc/bashrc mpirun interFoam -parallel Code:
OptimisationSwitches { stopAtWriteNowSignal 18; } Quote:
Any assistance in getting these jobs to terminate properly would be appreciated (as I am loosing the results at the end of the job!) |
||
December 12, 2019, 04:55 |
|
#2 |
New Member
Join Date: May 2014
Posts: 6
Rep Power: 11 |
Slight update on the above. It appears that, in at least some cases that the timestep is in fact written. However the presence of orhaned processes makes me wonder how complete/reliable this is.
|
|
December 12, 2019, 15:58 |
|
#3 |
Senior Member
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 21 |
Do you know, how long SLURM waits, until it finally kills the job after sending the signal?
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Map of the OpenFOAM Forum - Understanding where to post your questions! | wyldckat | OpenFOAM | 10 | September 2, 2021 05:29 |
UNIGE February 13th-17th - 2107. OpenFOAM advaced training days | joegi.geo | OpenFOAM Announcements from Other Sources | 0 | October 1, 2016 19:20 |
OpenFOAM Training Beijing 22-26 Aug 2016 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | May 3, 2016 04:57 |
OpenFOAM Foundation releases OpenFOAM 2.2.2 | opencfd | OpenFOAM Announcements from ESI-OpenCFD | 0 | October 14, 2013 07:18 |
64bitrhel5 OF installation instructions | mirko | OpenFOAM Installation | 2 | August 12, 2008 18:07 |