CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > SU2

Stop SU2 during a run

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 25, 2016, 08:15
Default Stop SU2 during a run
  #1
New Member
 
Eran Arad
Join Date: Jan 2015
Location: Israel
Posts: 15
Rep Power: 11
Arad is on a distinguished road
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
Arad is offline   Reply With Quote

Old   May 30, 2016, 07:19
Default
  #2
Super Moderator
 
Tim Albring
Join Date: Sep 2015
Posts: 195
Rep Power: 10
talbring is on a distinguished road
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=...").
talbring is offline   Reply With Quote

Old   August 1, 2016, 11:32
Default Partial solution
  #3
New Member
 
Eran Arad
Join Date: Jan 2015
Location: Israel
Posts: 15
Rep Power: 11
Arad is on a distinguished road
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
Arad is offline   Reply With Quote

Old   August 4, 2016, 02:48
Default
  #4
New Member
 
jit
Join Date: Jun 2015
Location: bangalore
Posts: 25
Rep Power: 10
jitendraseregar@gmail.com is on a distinguished road
Quote:
Originally Posted by talbring View Post
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=...").
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
jitendraseregar@gmail.com is offline   Reply With Quote

Old   October 15, 2016, 02:36
Default
  #5
New Member
 
Martin Simon
Join Date: Feb 2015
Posts: 5
Rep Power: 11
martinsimon is on a distinguished road
Did anyone get the solution for the mp optim run?
martinsimon is offline   Reply With Quote

Old   March 7, 2017, 06:38
Default
  #6
Member
 
Join Date: Nov 2013
Posts: 35
Rep Power: 12
beatlejuice is on a distinguished road
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
beatlejuice is offline   Reply With Quote

Reply

Tags
run-time, terminate


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
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


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