June 15, 2020, 11:24
|
Error while running shape optimization with high number of processors
|
#1
|
New Member
M. M.
Join Date: Feb 2020
Posts: 1
Rep Power: 0
|
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.
|
|
|