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

Stop SU2 during a run

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools 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: 11
Rep Power: 5
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: 144
Rep Power: 4
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: 11
Rep Power: 5
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: 4
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: 5
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, 07:38
Default
  #6
New Member
 
Join Date: Nov 2013
Posts: 19
Rep Power: 6
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

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
stop when I run in parallel Nolwenn OpenFOAM 35 May 26, 2017 17:36
Some questions about a multi region case run in parallel zfaraday OpenFOAM Running, Solving & CFD 5 February 23, 2017 11:25
How to run SU2 on cluster of computers (How to specify nodes ?) aero_amit SU2 22 May 15, 2016 23:00
problem during mpi in server: expected Scalar, found on line 0 the word 'nan' muth OpenFOAM Running, Solving & CFD 2 April 10, 2015 05:42
Transient run continues from last time (when startover is desired) bongbang CFX 2 March 23, 2015 00:05


All times are GMT -4. The time now is 13:18.