|
[Sponsors] |
![]() |
![]() |
#1 |
Senior Member
Cean
Join Date: Feb 2010
Posts: 128
Rep Power: 16 ![]() |
Hi,
After install Python2.6.6, NumPy and SciPy on Win7@32, I am trying the new Tutorial 13. When I run the command: "mesh_adaptation.py -f adapt_NACA0012.cfg", I got an error saying in mesh_adaptation.py line 24 : import ..., libSU2, libSU2_run,... ImportError: No module named libSU2_run. can't find libsu2_run.py under the SU2py folder. This folder is in my PATH. What can I do now? Regards, Cean Last edited by shirazbj; February 6, 2013 at 20:07. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Member
Trent Lukaczyk
Join Date: Feb 2011
Location: Stanford, CA
Posts: 75
Rep Power: 15 ![]() |
Hello Cean!
This file was missed while updating the windows installer. Please add this file to your install directory. <libSU2_run.zip> -Trent |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Member
Eduardo Molina
Join Date: Sep 2010
Location: Brazil
Posts: 35
Rep Power: 15 ![]() |
Hi Trent...
I am getting the following error after running the mesh adaption tutorial. I replaced the files on SU2_RUN including also the one you posted on the optimization topic (libsu2.py). It seems to me that it is an error on SU2_MAC application, as you can see I have tried to run it alone and the problem persists. Just in case, I compiled the SU2 code with MPI and Metis options. Do you have any idea of what is happeing? Thanks in advance Eduardo. ------------------------- Exit Success (SU2_CFD) ------------------------ *** The MPI_Comm_rank() function was called before MPI_INIT was invoked. *** This is disallowed by the MPI standard. *** Your MPI job will now abort. [Desktop-Molina:4611] Abort before MPI_INIT completed successfully; not able to guarantee that all other processes were killed! Traceback (most recent call last): File "mesh_adaptation.py", line 387, in <module> main() File "mesh_adaptation.py", line 59, in main options.save_all ) File "mesh_adaptation.py", line 354, in mesh_adaptation libSU2_run.SU2_MAC( Config_MAC_filename, partitions ) File "/home/molina/Documentos/Programas/SU2v2.0/TestCases/mesh_adaptation/libSU2_run.py", line 37, in SU2_MAC run_command( the_Command ) File "/home/molina/Documentos/Programas/SU2v2.0/TestCases/mesh_adaptation/libSU2_run.py", line 106, in run_command raise Exception , "SU2 process returned error '%s'" % return_code Exception: SU2 process returned error '1' molina@Desktop-Molina:~/Documentos/Programas/SU2v2.0/TestCases/mesh_adaptation$ SU2_MAC adapt_NACA0012.cfg *** The MPI_Comm_rank() function was called before MPI_INIT was invoked. *** This is disallowed by the MPI standard. *** Your MPI job will now abort. [Desktop-Molina:4619] Abort before MPI_INIT completed successfully; not able to guarantee that all other processes were killed! molina@Desktop-Molina:~/Documentos/Programas/SU2v2.0/TestCases/mesh_adaptation$ SU2_MAC adapt_NACA0012.cfg *** The MPI_Comm_rank() function was called before MPI_INIT was invoked. *** This is disallowed by the MPI standard. *** Your MPI job will now abort. [Desktop-Molina:4631] Abort before MPI_INIT completed successfully; not able to guarantee that all other processes were killed! molina@Desktop-Molina:~/Documentos/Programas/SU2v2.0/TestCases/mesh_adaptation$ |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Member
Trent Lukaczyk
Join Date: Feb 2011
Location: Stanford, CA
Posts: 75
Rep Power: 15 ![]() |
Hi Eduardo,
You might have an older version of SU2v2.0, can you please download a new copy and try to recompile it? You won't need to copy libSU2 again. Let me know if you still have trouble. -Trent ps - this question probably should have gone on its own thread |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
y+ and u+ values with low-Re RANS turbulence models: utility + testcase | florian_krause | OpenFOAM | 114 | August 23, 2023 05:37 |
[OpenFOAM] Native ParaView Reader Bugs | tj22 | ParaView | 270 | January 4, 2016 11:39 |
Can someone PLEASE document the development version installation | bernd | OpenFOAM Installation | 76 | November 14, 2008 21:51 |
Problem with compile the setParabolicInlet | ivanyao | OpenFOAM Running, Solving & CFD | 6 | September 5, 2008 20:50 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 17:51 |