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

Meson reconfigure issue with Autodiff enabled

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 17, 2023, 06:47
Exclamation Meson reconfigure issue with Autodiff enabled
  #1
New Member
 
Vishnu_iitb
Join Date: Oct 2020
Location: Mumbai
Posts: 16
Rep Power: 5
Vishnu Sankar is on a distinguished road
Hello there,


I encountered the following error when I tried enabling the autodiff feature in SU2:

Code:
ninja: Entering directory `build'
[1/4] Generating 'SU2_PY/pySU2/_pysu2ad.so.p/pySU2ad.cxx'.
FAILED: SU2_PY/pySU2/_pysu2ad.so.p/pySU2ad.cxx
/home/vishnu/swig/bin/swig -DHAVE_CGNS -DNDEBUG -DHAVE_MPI -DHAVE_METIS -DHAVE_PARMETIS -DHAVE_TECIO -DTECIOMPI -c++ -python -I/home/vishnu/anaconda3/lib/python3.8/site-packages/mpi4py/include -outdir /home/vishnu/SU2/build/SU2_PY/pySU2 -o ./SU2_PY/pySU2/_pysu2ad.so.p/pySU2ad.cxx ../SU2_PY/pySU2/pySU2ad.i
ninja: build stopped: subcommand failed.
I had no issue in setting up the directdiff feature. ninja builds it fine when only directdiff is enabled, similarly pysu2 also works fine, SU2 also works fine with mpi. I ran the Quickcase using a python script in parallel mode and it worked fine, I could also extract lift, drag and other values. But when I try enabling autodiff using meson and try to use ninja build, it fails completely and results in the error above:


Can someone comment on what's the issue here? I read somewhat similar issues in the github page (eg.: https://github.com/su2code/SU2/issues/1568 ) but my issue is slightly different I guess. Any help is much appreciated

--
Some additional details:
CentOS: 7.9.x
Python: 3.8.3
SU2: 7.5.1
OpenMPI: 4.1.4 & mpi4py: 3.1.4
Swig: 4.0.2
Vishnu Sankar is offline   Reply With Quote

Old   June 17, 2023, 09:05
Default
  #2
New Member
 
AAA
Join Date: Nov 2014
Posts: 7
Rep Power: 11
cfdkid is on a distinguished road
What's your compiler?
cfdkid is offline   Reply With Quote

Old   June 17, 2023, 13:03
Default
  #3
New Member
 
Vishnu_iitb
Join Date: Oct 2020
Location: Mumbai
Posts: 16
Rep Power: 5
Vishnu Sankar is on a distinguished road
It's gcc 11.2.1 20220127 (Red Hat 11.2.1-9)
Vishnu Sankar is offline   Reply With Quote

Reply

Tags
installation issue, pysu2ad, python wrapper

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
CAMWA special issue on open-source numerical solver feixu2019 OpenFOAM Announcements from Other Sources 0 October 1, 2018 11:21
CAMWA special issue on open-source numerical solver feixu2019 SU2 News & Announcements 0 October 1, 2018 11:19
[General] Building Paraview 4.1.0 with MPI and Python support reynoldsStress ParaView 10 July 27, 2017 08:38


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