|
[Sponsors] |
![]() |
![]() |
#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 |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Super Moderator
Tim Albring
Join Date: Sep 2015
Posts: 195
Rep Power: 10 ![]() |
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=..."). |
|
![]() |
![]() |
![]() |
![]() |
#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 |
|
![]() |
![]() |
![]() |
![]() |
#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
|
|
![]() |
![]() |
![]() |
![]() |
#5 |
New Member
Martin Simon
Join Date: Feb 2015
Posts: 5
Rep Power: 11 ![]() |
Did anyone get the solution for the mp optim run?
|
|
![]() |
![]() |
![]() |
![]() |
#6 |
Member
Join Date: Nov 2013
Posts: 35
Rep Power: 12 ![]() |
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 |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
stop when I run in parallel | Nolwenn | OpenFOAM | 36 | March 21, 2021 04:56 |
How to run SU2 on cluster of computers (How to specify nodes ?) | aero_amit | SU2 | 29 | February 24, 2020 13:44 |
problem during mpi in server: expected Scalar, found on line 0 the word 'nan' | muth | OpenFOAM Running, Solving & CFD | 3 | August 27, 2018 04:18 |
Some questions about a multi region case run in parallel | zfaraday | OpenFOAM Running, Solving & CFD | 5 | February 23, 2017 10:25 |
Transient run continues from last time (when startover is desired) | bongbang | CFX | 2 | March 22, 2015 23:05 |