|
[Sponsors] |
May 25, 2016, 09:15 |
Stop SU2 during a run
|
#1 |
New Member
Eran Arad
Join Date: Jan 2015
Location: Israel
Posts: 15
Rep Power: 11 |
In a parallel SU2 run (using parallel_computation.py) on many compute nodes:
Is there a way to stop the run in a peaceful manner (that is, not ctrl C but in a way that all output and restart files are collected and written down before exit). Common practices are sending a kill command with parameters to one of the compute nodes, or touching a file with a pre-coded name (like killSU2) in the running folder, that once located, initiate ordered run termination. Could not trace any structure of that kind in the source. Did I miss something ? Thanks Eran |
|
May 30, 2016, 08:19 |
|
#2 |
Super Moderator
Tim Albring
Join Date: Sep 2015
Posts: 195
Rep Power: 11 |
Hi Arad,
you can create a file "runtime.dat" in the working folder to set the new number of external iterations (so just one line "EXT_ITER=..."). |
|
August 1, 2016, 12:32 |
Partial solution
|
#3 |
New Member
Eran Arad
Join Date: Jan 2015
Location: Israel
Posts: 15
Rep Power: 11 |
Hi Talbring
Your suggestion worked nicely for direct solution. However, in optimization run, using shape_optimization.py script, the runtime.dat file had no effect. i have set there FFD_ITERATIONS, FFD_TOLERANCE and EXT_ITER but none was read or had an effect on the running job. Is there other way to control an optimization run ? Thanks |
|
August 4, 2016, 03:48 |
|
#4 |
New Member
jit
Join Date: Jun 2015
Location: bangalore
Posts: 25
Rep Power: 11 |
I have similar situation, where I have to stop CFD solver at particular iteration and import new surface gird file and continue running CFD solver with new file
|
|
October 15, 2016, 03:36 |
|
#5 |
New Member
Martin Simon
Join Date: Feb 2015
Posts: 5
Rep Power: 11 |
Did anyone get the solution for the mp optim run?
|
|
March 7, 2017, 07:38 |
|
#6 |
Member
Join Date: Nov 2013
Posts: 35
Rep Power: 13 |
Hey Arad,
if you put the runtime.dat file into the folders : DESIGNS/0.../DIRECT/ or DESIGNS/0.../ADJOINT/ it should work ... at least EXT_ITER= ... works to finish the direct or the adjoint computation ... but it will proceed the optimization procedure .... cheers |
|
Tags |
run-time, terminate |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
stop when I run in parallel | Nolwenn | OpenFOAM | 36 | March 21, 2021 05:56 |
How to run SU2 on cluster of computers (How to specify nodes ?) | aero_amit | SU2 | 29 | February 24, 2020 14:44 |
problem during mpi in server: expected Scalar, found on line 0 the word 'nan' | muth | OpenFOAM Running, Solving & CFD | 3 | August 27, 2018 05:18 |
Some questions about a multi region case run in parallel | zfaraday | OpenFOAM Running, Solving & CFD | 5 | February 23, 2017 11:25 |
Transient run continues from last time (when startover is desired) | bongbang | CFX | 2 | March 23, 2015 00:05 |