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

Error while running shape optimization with high number of processors

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 15, 2020, 11:24
Default Error while running shape optimization with high number of processors
  #1
New Member
 
M. M.
Join Date: Feb 2020
Posts: 1
Rep Power: 0
Massimo_ is on a distinguished road
Hi everyone,

I am trying to perform a shape optimization with continuous adjoint method based on displacement of FFD points. I am working with SU2 Falcon on Windows 10.

The geometry and the FFD are shown in the following image.



During the first optimization iteration, while SU2_CFD is running for adjoint computation, I get the following error. The error disappears if the code is executed with a low number of processor (less than 5).

Quote:
Traceback (most recent call last):
File "c:\su2-windows-latest\ExecParallel\bin\shape_optimization.py", line 187, in <module>
main()
File "c:\su2-windows-latest\ExecParallel\bin\shape_optimization.py", line 118, in main
options.nzones )
File "c:\su2-windows-latest\ExecParallel\bin\shape_optimization.py", line 163, in shape_optimization
SU2.opt.SLSQP(project,x0,xb,its,accu)
File "c:\su2-windows-latest\ExecParallel\bin\SU2\opt\scipy_tools.py", line 143, in scipy_slsqp
epsilon = eps )
File "c:\ProgramData\Anaconda3\envs\py35\lib\site-packages\scipy\optimize\slsqp.py", line 208, in fmin_slsqp
constraints=cons, **opts)
File "c:\ProgramData\Anaconda3\envs\py35\lib\site-packages\scipy\optimize\slsqp.py", line 403, in _minimize_slsqp
g = append(fprime(x), 0.0)
File "c:\ProgramData\Anaconda3\envs\py35\lib\site-packages\scipy\optimize\optimize.py", line 293, in function_wrapper
return function(*(wrapper_args + args))
File "c:\su2-windows-latest\ExecParallel\bin\SU2\opt\scipy_tools.py", line 410, in obj_df
dobj_list = project.obj_df(x)
File "c:\su2-windows-latest\ExecParallel\bin\SU2\opt\project.py", line 241, in obj_df
return self._eval(konfig, func,dvs)
File "c:\su2-windows-latest\ExecParallel\bin\SU2\opt\project.py", line 205, in _eval
vals = design._eval(func,*args)
File "c:\su2-windows-latest\ExecParallel\bin\SU2\eval\design.py", line 146, in _eval
vals = eval_func(*inputs)
File "c:\su2-windows-latest\ExecParallel\bin\SU2\eval\design.py", line 379, in obj_df
grad = su2grad(this_obj,grad_method,config,state)
File "c:\su2-windows-latest\ExecParallel\bin\SU2\eval\gradients.py", line 105, in gradient
grads = adjoint( func_name, config, state )
File "c:\su2-windows-latest\ExecParallel\bin\SU2\eval\gradients.py", line 280, in adjoint
info = su2run.adjoint(config)
File "c:\su2-windows-latest\ExecParallel\bin\SU2\run\adjoint.py", line 89, in adjoint
SU2_CFD(konfig)
File "c:\su2-windows-latest\ExecParallel\bin\SU2\run\interface.py", line 123, in CFD
run_command( the_Command )
File "c:\su2-windows-latest\ExecParallel\bin\SU2\run\interface.py", line 304, in run_command
raise exception(message)
RuntimeError: Path = d:\Shape_Optimization_run\DESIGNS\DSN_001\ADJOINT_ DRAG\,
Command = mpiexec -n 32 "c:\su2-windows-latest\ExecParallel\bin"\SU2_CFD config_CFD.cfg
SU2 process returned error '4294967293'
I attach also the configuration file and log_adjoint.dot file where the following error appears.

Quote:
job aborted:
[ranks] message
[0] process exited without calling finalize
[1-31] terminated
---- error analysis -----
[0] on DAF
c:\su2-windows-latest\ExecParallel\bin\SU2_CFD ended prematurely and may have crashed. exit code 0xc0000005
---- error analysis -----
ConfigFile_opt.zip

log_Adjoint.zip

Do you have any suggestion? How can I solve this problem? Thank you in advance.
Massimo_ is offline   Reply With Quote

Reply

Tags
high number of processors, shape optimization


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
decomposePar no field transfert Jeanp OpenFOAM Pre-Processing 3 June 18, 2022 12:01
decomposePar problem: Cell 0contains face labels out of range vaina74 OpenFOAM Pre-Processing 37 July 20, 2020 05:38
SimpleFoam & Theater jipai OpenFOAM Running, Solving & CFD 3 June 18, 2019 10:11
parallel run OpenFoam Srinath Reddy OpenFOAM Running, Solving & CFD 13 February 27, 2019 09:15
decomposePar pointfield flying OpenFOAM Running, Solving & CFD 28 December 30, 2013 15:05


All times are GMT -4. The time now is 04:28.