CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   SU2 (https://www.cfd-online.com/Forums/su2/)
-   -   No moduled named 'pysu2' (https://www.cfd-online.com/Forums/su2/237886-no-moduled-named-pysu2.html)

Bianca Carnielo August 10, 2021 13:30

No moduled named 'pysu2'
 
Hello, I am trying to run the "Dynamic Fluid-Structure Interaction (FSI) using the Python wrapper and a Nastran structural model" tutorial. However, I'm receiving the following error message:

Traceback (most recent call last):
File "/home/bianca/SU2/SU2_PY/fsi_computation.py", line 41, in <module>
import pysu2
ModuleNotFoundError: No module named 'pysu2'
Traceback (most recent call last):
File "/home/bianca/SU2/SU2_PY/fsi_computation.py", line 41, in <module>
import pysu2
ModuleNotFoundError: No module named 'pysu2'
--------------------------------------------------------------------------
Primary job terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborted.
--------------------------------------------------------------------------
--------------------------------------------------------------------------
mpirun detected that one or more processes exited with non-zero status, thus causing
the job to be terminated. The first process to do so was:

Process name: [[53643,1],0]
Exit code: 1


How can I solve this problem?
Thank you.

jdp810 August 30, 2021 04:42

Try running it from the bin folder instead of the SU2_PY folder. You should have the pysu2.py file next to the fsi_computation.py file in that folder


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