Replies: 1 comment 6 replies
-
How did you install or build the code? What OS are you on? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am a new user to SU2, I am trying to understand the code by means of the testcases and tutorials. I am following the instructions provided in the main SU2 documentation site for installation and running testcases/tutorials. I am running the code in an Linux only, Ubuntu system.
https://su2code.github.io/docs_v7/Test-Cases/
Now, after the code got installed successfully, I tried to run the regression test python file as shown in the instructions above. Most of the cases showed success, while few showed status as FAILED, due to missing python wrapper.
==================== Start Test: pywrapper_naca0012 ====================
/home/ramkr/SU2/TestCases/euler/naca0012
pywrapper_naca0012: FAILED
Output for the failed case
Traceback (most recent call last):
File "/home/ramkr/SU2/bin/SU2_CFD.py", line 35, in
import pysu2 # imports the SU2 wrapped module
ModuleNotFoundError: No module named 'pysu2'
execution command: SU2_CFD.py -f inv_NACA0012_Roe.cfg.autotest > inv_NACA0012_Roe.cfg.log 2>&1
ERROR: The code was not able to get to the "Begin solver" section.
ERROR: The iteration number 20 could not be found.
CPU architecture=x86_64
test_iter=20
test_vals (stored): -4.444941, -3.941038, 0.318998, 0.022365
sim_vals (computed):
delta_vals:
test duration: 0.00 min
==================== End Test: pywrapper_naca0012 ====================
==================== Start Test: pywrapper_turb_naca0012_sst ====================
/home/ramkr/SU2/TestCases/rans/naca0012
pywrapper_turb_naca0012_sst: FAILED
Output for the failed case
Traceback (most recent call last):
File "/home/ramkr/SU2/bin/SU2_CFD.py", line 35, in
import pysu2 # imports the SU2 wrapped module
ModuleNotFoundError: No module named 'pysu2'
execution command: SU2_CFD.py -f turb_NACA0012_sst.cfg.autotest > turb_NACA0012_sst.cfg.log 2>&1
ERROR: The code was not able to get to the "Begin solver" section.
ERROR: The iteration number 10 could not be found.
CPU architecture=x86_64
test_iter=10
test_vals (stored): -12.213755, -14.439873, -7.108062, 1.050109, 0.019148, -1.875539, -38.510000
sim_vals (computed):
delta_vals:
test duration: 0.00 min
==================== End Test: pywrapper_turb_naca0012_sst ====================
==================== Start Test: pywrapper_square_cylinder ====================
/home/ramkr/SU2/TestCases/unsteady/square_cylinder
pywrapper_square_cylinder: FAILED
Output for the failed case
Traceback (most recent call last):
File "/home/ramkr/SU2/bin/SU2_CFD.py", line 35, in
import pysu2 # imports the SU2 wrapped module
ModuleNotFoundError: No module named 'pysu2'
execution command: SU2_CFD.py -f turb_square.cfg.autotest > turb_square.cfg.log 2>&1
ERROR: The code was not able to get to the "Begin solver" section.
ERROR: The iteration number 3 could not be found.
CPU architecture=x86_64
test_iter=3
test_vals (stored): -2.557884, -1.173573, 0.058052, 1.399794, 2.220411, 1.399748, 2.218612, -0.453340
sim_vals (computed):
delta_vals:
test duration: 0.00 min
==================== End Test: pywrapper_square_cylinder ====================
==================== Start Test: pywrapper_aeroelastic ====================
/home/ramkr/SU2/TestCases/aeroelastic
pywrapper_aeroelastic: FAILED
Output for the failed case
Traceback (most recent call last):
File "/home/ramkr/SU2/bin/SU2_CFD.py", line 35, in
import pysu2 # imports the SU2 wrapped module
ModuleNotFoundError: No module named 'pysu2'
execution command: SU2_CFD.py -f aeroelastic_NACA64A010.cfg.autotest > aeroelastic_NACA64A010.cfg.log 2>&1
ERROR: The code was not able to get to the "Begin solver" section.
ERROR: The iteration number 2 could not be found.
CPU architecture=x86_64
test_iter=2
test_vals (stored): 0.074291, 0.027620, -0.001641, -0.000128
sim_vals (computed):
delta_vals:
test duration: 0.00 min
==================== End Test: pywrapper_aeroelastic ====================
==================== Start Test: pywrapper_fsi2d ====================
/home/ramkr/SU2/TestCases/fea_fsi/WallChannel_2d
pywrapper_fsi2d: FAILED
Output for the failed case
Traceback (most recent call last):
File "/home/ramkr/SU2/bin/SU2_CFD.py", line 35, in
import pysu2 # imports the SU2 wrapped module
ModuleNotFoundError: No module named 'pysu2'
execution command: SU2_CFD.py --nZone 2 --fsi True -f configFSI.cfg.autotest > configFSI.cfg.log 2>&1
ERROR: The code was not able to get to the "Begin solver" section.
ERROR: The iteration number 4 could not be found.
CPU architecture=x86_64
test_iter=4
test_vals (stored): 4.000000, 0.000000, -3.729228, -4.153949
sim_vals (computed):
delta_vals:
test duration: 0.00 min
==================== End Test: pywrapper_fsi2d ====================
==================== Start Test: pywrapper_unsteadyCHT ====================
/home/ramkr/SU2/TestCases/py_wrapper/flatPlate_unsteady_CHT
pywrapper_unsteadyCHT: FAILED
Output for the failed case
Traceback (most recent call last):
File "launch_unsteady_CHT_FlatPlate.py", line 34, in
import pysu2 # imports the SU2 wrapped module
ModuleNotFoundError: No module named 'pysu2'
execution command: python launch_unsteady_CHT_FlatPlate.py -f unsteady_CHT_FlatPlate_Conf.cfg.autotest > unsteady_CHT_FlatPlate_Conf.cfg.log 2>&1
ERROR: The code was not able to get to the "Begin solver" section.
ERROR: The iteration number 5 could not be found.
CPU architecture=x86_64
test_iter=5
test_vals (stored): -1.614167, 2.240658, 0.000772, 0.177467
sim_vals (computed):
delta_vals:
test duration: 0.00 min
==================== End Test: pywrapper_unsteadyCHT ====================
==================== Start Test: pywrapper_rigidMotion ====================
/home/ramkr/SU2/TestCases/py_wrapper/flatPlate_rigidMotion
pywrapper_rigidMotion: FAILED
Output for the failed case
Traceback (most recent call last):
File "launch_flatPlate_rigidMotion.py", line 34, in
import pysu2 # imports the SU2 wrapped module
ModuleNotFoundError: No module named 'pysu2'
execution command: python launch_flatPlate_rigidMotion.py -f flatPlate_rigidMotion_Conf.cfg.autotest > flatPlate_rigidMotion_Conf.cfg.log 2>&1
ERROR: The code was not able to get to the "Begin solver" section.
ERROR: The iteration number 5 could not be found.
CPU architecture=x86_64
test_iter=5
test_vals (stored): -1.614165, 2.238592, 0.349984, 0.095593
sim_vals (computed):
delta_vals:
test duration: 0.00 min
==================== End Test: pywrapper_rigidMotion ====================
==================== Start Test: pywrapper_custom_inlet ====================
/home/ramkr/SU2/TestCases/py_wrapper/custom_inlet
pywrapper_custom_inlet: FAILED
Output for the failed case
Traceback (most recent call last):
File "run.py", line 28, in
import pysu2
ModuleNotFoundError: No module named 'pysu2'
execution command: python run.py lam_flatplate.cfg.autotest > lam_flatplate.cfg.log 2>&1
ERROR: The code was not able to get to the "Begin solver" section.
ERROR: The iteration number 20 could not be found.
CPU architecture=x86_64
test_iter=20
test_vals (stored): -4.120494, -1.540195, -3.566114, 1.342509, -0.748827, 0.161349, -0.013214, 0.516000, -0.529220
sim_vals (computed):
delta_vals:
test duration: 0.00 min
==================== End Test: pywrapper_custom_inlet ====================
I went through a similar discussion thread in the QnA section (#1828), but it is a slightly different issue. Can someone please help?
Beta Was this translation helpful? Give feedback.
All reactions