|
[Sponsors] |
June 5, 2013, 10:41 |
SU2 Parallel Computation
|
#1 |
Senior Member
|
================================================== =================================
= 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' Last edited by pdp.aero; June 5, 2013 at 12:44. |
|
June 13, 2013, 03:13 |
hello
|
#3 | |
New Member
何建东
Join Date: Jun 2013
Posts: 22
Rep Power: 13 |
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!! |
||
June 13, 2013, 18:16 |
|
#4 |
Member
Trent Lukaczyk
Join Date: Feb 2011
Location: Stanford, CA
Posts: 75
Rep Power: 15 |
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 |
|
June 14, 2013, 11:42 |
|
#5 | |
Senior Member
|
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 |
||
June 19, 2013, 15:02 |
|
#6 |
Member
Trent Lukaczyk
Join Date: Feb 2011
Location: Stanford, CA
Posts: 75
Rep Power: 15 |
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
problem in the CFX12.1 parallel computation | BalanceChen | ANSYS | 2 | July 7, 2011 11:26 |
Parallel computation using NUMECA 6.1 | BalanceChen | Fidelity CFD | 1 | June 5, 2011 07:24 |
load balancing in parallel computation | shyamdsundar | Main CFD Forum | 0 | September 3, 2009 00:53 |
Why the parallel computation is slow | ztdep | OpenFOAM Running, Solving & CFD | 1 | May 1, 2008 05:55 |
how to parallel computation | Jane | Siemens | 2 | April 28, 2004 07:11 |