SU2 Parallel Computation
================================================== =================================
= BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES = EXIT CODE: 255 = CLEANING UP REMAINING PROCESSES = YOU CAN IGNORE THE BELOW CLEANUP MESSAGES ================================================== ================================= Traceback (most recent call last): File "parallel_computation.py", line 153, in <module> main() File "parallel_computation.py", line 53, in main options.output ) File "parallel_computation.py", line 106, in parallel_computation libSU2_run.SU2_DDC(Config_DDC_filename,partitions) File "/home/payam/PDP/MyWork/SU2/SU2CODE/SU2_v2.0.1/SU2_v2.0.1/trunk/SU2Py/libSU2_run.py", line 18, in SU2_DDC run_command( the_Command ) File "/home/payam/PDP/MyWork/SU2/SU2CODE/SU2_v2.0.1/SU2_v2.0.1/trunk/SU2Py/libSU2_run.py", line 107, in run_command raise Exception , "SU2 process returned error '%s'" % return_code Exception: SU2 process returned error '255' ***also when i try the same python command with sudo "sudo python parallel_computation.py -f inv_ONERAM6.cfg -p 4" i will get this message : Traceback (most recent call last): File "parallel_computation.py", line 24, in <module> import os, time, sys, shutil, libSU2, libSU2_run File "/home/payam/PDP/MyWork/SU2/SU2CODE/SU2_v2.0.1/SU2_v2.0.1/trunk/SU2Py/libSU2_run.py", line 5, in <module> SU2_RUN = os.environ['SU2_RUN'] File "/usr/local/lib/python2.6/UserDict.py", line 22, in __getitem__ raise KeyError(key) KeyError: 'SU2_RUN' |
Thank you Developers. I figure out my problem.
|
hello
Quote:
hello! when running parallel_computation.py, i confronted the same problem with u, could u tell me how to solve this problem, thank u!! |
Glad you got it working, would be nice to know what you fixed.
Also a comment, you should not need to run sudo to execute SU2 - Trent |
Quote:
As you know building the SU2_DDC needs metis, So I have two version of metis in my system, metis-5.0.3 installed in my root and metis-4.0.3 in my trunk. When I was trying to build the code with metis-5.0.3, I got that error. I used mpicxx first and then change it to mpicc and then mpirun and nothing has been changed,So that is irrelevant to my compiler, Thus I compiled metis-4 first and then configure the code with metis-4.0.3 header and libs without cgns lib, moreover I used SU2_v2.0.1 instead of SU2_v2 and it is working great now, but still I cannot understand something, why every time that I reboot my system I have to export environment variable for SU2_RUN, Otherwise I got an error about couldn't find SU2_RUN. I would like to thank you for your great work, It would be a great honor to use your code for my research work. payam |
great, yeah metis 5 operates a bit differently from 4. glad you got it working
you can edit your bashrc file (~/.bashrc) to export SU2_RUN everytime you boot up. best, - trent |
All times are GMT -4. The time now is 19:01. |