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

SU2 parallel optimization problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 31, 2019, 13:28
Default SU2 parallel optimization problem
  #1
New Member
 
Nikita Ageev
Join Date: May 2017
Posts: 11
Rep Power: 9
n.d.ageev@gmail.com is on a distinguished road
Hello everybody!
I am trying to perform simple tutorial on optimization (inv_naca0012_basic.cfg) on Windows machine with precompiled binaries (v. 6.0.0). In serial mode it works well, but in parallel i've got some problems. The optimization starts, but only restart_flow.dat file is generated. It looks like SU2 _SOL.exe don't work (I don't know why, if I run it from DSN directory for config_SOL.cfd everything is OK). Where I can find the place in the script where SU2_SOL.exe is called?

With version 5.0.0 everything is good with the optimization.

Best regards
n.d.ageev@gmail.com is offline   Reply With Quote

Old   February 1, 2019, 03:03
Default Solved
  #2
New Member
 
Nikita Ageev
Join Date: May 2017
Posts: 11
Rep Power: 9
n.d.ageev@gmail.com is on a distinguished road
I solved this issue by replacing line 237 in the /SU2/SU2/run/interface.py from "the_Command = 'SU2_SOL ' + tempname" to "the_Command='SU2_SOL%s
%s' % (quote, tempname)"

I will be glad if somebody helps me to post this on github.

Update: the same thing with SU2_GEO.

Last edited by n.d.ageev@gmail.com; February 1, 2019 at 04:09.
n.d.ageev@gmail.com is offline   Reply With Quote

Old   February 2, 2019, 07:21
Default
  #3
New Member
 
akay bayat
Join Date: Dec 2018
Posts: 8
Rep Power: 8
akaybayat is on a distinguished road
Hi,
In paralel mode, in order to decrease solution time program does not write flow.dat file. You can write solution file by using su2_sol.exe manually.
akaybayat is offline   Reply With Quote

Old   February 2, 2019, 07:39
Default
  #4
New Member
 
Nikita Ageev
Join Date: May 2017
Posts: 11
Rep Power: 9
n.d.ageev@gmail.com is on a distinguished road
Quote:
Originally Posted by akaybayat View Post
Hi,
In paralel mode, in order to decrease solution time program does not write flow.dat file. You can write solution file by using su2_sol.exe manually.
I know. But for optimization as I understand the flow.dat is necessary.
n.d.ageev@gmail.com is offline   Reply With Quote

Old   February 3, 2019, 10:07
Default
  #5
New Member
 
akay bayat
Join Date: Dec 2018
Posts: 8
Rep Power: 8
akaybayat is on a distinguished road
Oh sorry, i do not notice optimization. I have similar problem with you. After i solved a problem with 3000 iteration in parallel mode, program gives an error when i try to continue solution with restart file. If you find a solution, can you share with ne?
akaybayat is offline   Reply With Quote

Reply


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
The problem when i use parallel computation for mesh deforming. Hiroaki Sumikawa OpenFOAM Running, Solving & CFD 0 November 20, 2018 03:58
Problem Building Parallel SU2 StanislavKarpuk SU2 4 October 23, 2018 18:05
problem for parallel processing minaret OpenFOAM Running, Solving & CFD 14 January 20, 2015 00:41
SU2 Parallel - cannot access or exectute dbaldzhiev SU2 3 November 24, 2014 18:02
problem about running parallel on cluster killsecond OpenFOAM Running, Solving & CFD 3 July 23, 2014 22:13


All times are GMT -4. The time now is 02:17.