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

Installation error with SU2 - Adjoint

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 18, 2023, 07:55
Default Installation error with SU2 - Adjoint
  #1
New Member
 
Join Date: Dec 2023
Posts: 14
Rep Power: 2
cfd-jg is on a distinguished road
Hello SU2 community,


I am relatively new to SU2 and have encountered challenges during the installation process, specifically when attempting to set up SU2 (v8.0.0) with adjoint shape optimization on Ubuntu 20.04. Despite following the documentation available on the website and building the code from source successfully, I am consistently facing errors when running the shape optimization tutorials.


Here is a summary of the steps I've taken for installation:

Build from source using: ./meson.py build -Denable-autodiff=true -Denable-directdiff=true -Dwith-mpi=enabled -Denable-tests=true
Install using: ./ninja -C build install

The compilation appears to be successful as it creates all the necessary executable files in the 'bin' folder. However, when running the shape optimization tutorials, I encounter different errors (for example: related to missing folders on the path, even when the folders exist. I have checked that I have exported the path correctly and that doesn't seem to be the issue).


Additionally, when running unit tests, I get an error similar to the following:


-------------------------------------------------------------------------------
Geometry constructor
-------------------------------------------------------------------------------
../UnitTests/Common/geometry/CGeometry_test.cpp:33
.................................................. .............................

../UnitTests/Common/geometry/CGeometry_test.cpp:42: FAILED:
CHECK( aux_geometry->GetnPoint() == 125 )
with expansion:
63 == 125

../UnitTests/Common/geometry/CGeometry_test.cpp:44: FAILED:
{Unknown expression after the reported line}
due to a fatal error condition:
SIGSEGV - Segmentation violation signal

../UnitTests/Common/geometry/CGeometry_test.cpp:43: FAILED:
CHECK( aux_geometry->GetnElem() == 64 )
with expansion:
43 == 64

../UnitTests/Common/geometry/CGeometry_test.cpp:44: FAILED:
CHECK( aux_geometry->GetnElemHexa() == 64 )
with expansion:
43 == 64

================================================== =============================
test cases: 3 | 2 passed | 1 failed
assertions: 15 | 11 passed | 4 failed



It's worth mentioning that the unit tests related to shape optimization pass successfully.


Furthermore, I face difficulties running test cases in parallel due to the MPI configuration. Is there a recommended way to run test cases in parallel when SU2 is compiled with MPI?


I have successfully executed tutorials for compressible and incompressible flow without issues, but encounter problems when attempting more advanced tasks.


Any insights or guidance on resolving these issues and how to install would be greatly appreciated. Thank you in advance for your assistance!
cfd-jg is offline   Reply With Quote

Reply

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
SU2 NEMO with adjoint method Apoale SU2 Shape Design 0 August 7, 2023 17:16
Shape optimization doesn't converge - Adjoint log file JPBLourenco SU2 Shape Design 0 December 11, 2017 09:41
SU2 Installation on Windows 32 bit niddaas SU2 Installation 3 May 6, 2016 18:03
hard to convergent with SU2 4.0 for Euler adjoint Xianguu SU2 1 July 14, 2015 18:09


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