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

SU2 Installation failed

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 4, 2024, 09:31
Post SU2 Installation failed
  #1
rk1
New Member
 
rks231
Join Date: Mar 2024
Posts: 2
Rep Power: 0
rk1 is on a distinguished road
Hello guys, I am facing the following issue while installing the SU2; what should I do, I want to use FSI and pywrapper for the python function. Thank you so much in advancd. I follow in the following way;
$ python3.9 -m venv venv
$ source venv/bin/activate
(venv) $ export MPICC=/opt/intel/oneapi/mpi/2021.6.0/bin/mpicc
(venv) $ export MPICXX=/opt/intel/oneapi/mpi/2021.6.0/bin/mpicxx
(venv) $ export CC=$MPICC
(venv) $ export CXX=$MPICXX
(venv) $ pip install --upgrade pip
(venv) $ pip install mpi4py
Requirement already satisfied: mpi4py in ./venv/lib/python3.9/site-packages (3.1.5)
(venv) $ ./meson.py build -Denable-autodiff=true -Denable-directdiff=true -Denable-pywrapper=true -Dcustom-mpi=true

Message: Using mpi4py from /data/home/rashmi/local/SU2/venv/lib/python3.9/site-packages/mpi4py/include
WARNING: extract_all_objects called without setting recursive
keyword argument. Meson currently defaults to
non-recursive to maintain backward compatibility but
the default will be changed in the future.


SU2_PY/pySU2/meson.build:36:2: ERROR: Tried to form an absolute path to a source dir.
You should not do that but use relative paths instead.

To get include path to any directory relative to the current dir do

incdir = include_directories(dirname)

After this incdir will contain both the current source dir as well as the
corresponding build dir. It can then be used in any subdirectory and
Meson will take care of all the busywork to make paths work.

Dirname can even be '.' to mark the current directory. Though you should
remember that the current source and build directories are always
put in the include directories by default so you only need to do
include_directories('.') if you intend to use the result in a
different subdirectory.
rk1 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
Installation error with SU2 - Adjoint cfd-jg SU2 Installation 0 December 18, 2023 06:55
SU2 parallel install build from source failed steadyman SU2 Installation 19 April 25, 2021 16:50
[foam-extend.org] 3.2 Installation in Debian 8.5 jsm OpenFOAM Installation 2 June 19, 2016 10:53
Problems installing OpenFOAM 2.3.0, 1.6-ext and foam-extend 3.0 sam.ho OpenFOAM Installation 35 April 5, 2014 15:31
DeardorffDiffStress turbulence model Zuixy OpenFOAM Running, Solving & CFD 0 November 14, 2011 08:44


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