pysu2 not found, openBLAS not found, Apple clang instead of gcc #1253
Unanswered
bakakouhai
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Hi, not sure what might be the problem with python. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Good morning.
I successfully compiled SU2 with:
a. autodiff = true
b. directdiff = true
c. pywrapper = true
d. enable-tests = true.
However, when I finished the serial regression test, all pywrapper test have failed.
Running flatPlate_rigidMotion case via launch_flatPlate_rigidMotion.py returns:
ModuleNotFoundError: No module named '_pysu2'
My Desktop is as follows:
Macos BigSur 11.2.1
Apple clang version 12.0.0 (clang-1200.0.32.29)
gcc [homebrew]
OpenMPI 4.1.0 [homebrew]
SU2 7.1.1 Blackbird
Python 3.9.2 [homebrew]
in the bash.profile I have these lines:
default to python3 homebrew
alias python="python3"
alias pip="pip3"
default to homebrew gcc
alias gcc="gcc-10"
alias cc="gcc-10"
alias g++="g++-10"
alias c++="c++-10"
alias gfortran="gfortran-10"
SU2
export SU2_RUN=/usr/local/bin
export SU2_HOME=/Users/iwan/SU2
export PATH=$PATH:$SU2_RUN
export PYTHONPATH=$PYTHONPATH:$SU2_RUN
Other issues that I notice:
Is there anything wrong with my setting that cause the module cannot be found?
I have SU2 folder containing the python script in usr/local/bin/SU2.
I also have SU2_CFD.py in usr/local/bin
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions