CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > SU2 > SU2 Shape Design

Error while running shape optimization with high number of processors

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

LinkBack Thread Tools Search this Thread Display Modes
Old   June 15, 2020, 12:24
Default Error while running shape optimization with high number of processors
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).

Traceback (most recent call last):
File "c:\su2-windows-latest\ExecParallel\bin\", line 187, in <module>
File "c:\su2-windows-latest\ExecParallel\bin\", line 118, in main
options.nzones )
File "c:\su2-windows-latest\ExecParallel\bin\", line 163, in shape_optimization
File "c:\su2-windows-latest\ExecParallel\bin\SU2\opt\", line 143, in scipy_slsqp
epsilon = eps )
File "c:\ProgramData\Anaconda3\envs\py35\lib\site-packages\scipy\optimize\", line 208, in fmin_slsqp
constraints=cons, **opts)
File "c:\ProgramData\Anaconda3\envs\py35\lib\site-packages\scipy\optimize\", line 403, in _minimize_slsqp
g = append(fprime(x), 0.0)
File "c:\ProgramData\Anaconda3\envs\py35\lib\site-packages\scipy\optimize\", line 293, in function_wrapper
return function(*(wrapper_args + args))
File "c:\su2-windows-latest\ExecParallel\bin\SU2\opt\", line 410, in obj_df
dobj_list = project.obj_df(x)
File "c:\su2-windows-latest\ExecParallel\bin\SU2\opt\", line 241, in obj_df
return self._eval(konfig, func,dvs)
File "c:\su2-windows-latest\ExecParallel\bin\SU2\opt\", line 205, in _eval
vals = design._eval(func,*args)
File "c:\su2-windows-latest\ExecParallel\bin\SU2\eval\", line 146, in _eval
vals = eval_func(*inputs)
File "c:\su2-windows-latest\ExecParallel\bin\SU2\eval\", line 379, in obj_df
grad = su2grad(this_obj,grad_method,config,state)
File "c:\su2-windows-latest\ExecParallel\bin\SU2\eval\", line 105, in gradient
grads = adjoint( func_name, config, state )
File "c:\su2-windows-latest\ExecParallel\bin\SU2\eval\", line 280, in adjoint
info = su2run.adjoint(config)
File "c:\su2-windows-latest\ExecParallel\bin\SU2\run\", line 89, in adjoint
File "c:\su2-windows-latest\ExecParallel\bin\SU2\run\", line 123, in CFD
run_command( the_Command )
File "c:\su2-windows-latest\ExecParallel\bin\SU2\run\", 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 file where the following error appears.

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

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


high number of processors, shape optimization

Thread Tools Search this Thread
Search this Thread:

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
decomposePar no field transfert Jeanp OpenFOAM Pre-Processing 2 April 15, 2021 11:23
decomposePar problem: Cell 0contains face labels out of range vaina74 OpenFOAM Pre-Processing 37 July 20, 2020 06:38
SimpleFoam & Theater jipai OpenFOAM Running, Solving & CFD 3 June 18, 2019 11:11
parallel run OpenFoam Srinath Reddy OpenFOAM Running, Solving & CFD 13 February 27, 2019 10:15
decomposePar pointfield flying OpenFOAM Running, Solving & CFD 28 December 30, 2013 16:05

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