CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > SU2 > SU2 Installation

SU2 Parallel Computation

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By rktchip
  • 1 Post By rktchip

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 5, 2013, 09:41
Default SU2 Parallel Computation
  #1
Senior Member
 
Pay D.
Join Date: Aug 2011
Posts: 166
Blog Entries: 1
Rep Power: 14
pdp.aero is on a distinguished road
================================================== =================================
= 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 11:44.
pdp.aero is offline   Reply With Quote

Old   June 5, 2013, 11:07
Default
  #2
Senior Member
 
Pay D.
Join Date: Aug 2011
Posts: 166
Blog Entries: 1
Rep Power: 14
pdp.aero is on a distinguished road
Thank you Developers. I figure out my problem.
pdp.aero is offline   Reply With Quote

Old   June 13, 2013, 02:13
Default hello
  #3
New Member
 
何建东
Join Date: Jun 2013
Posts: 22
Rep Power: 12
hejiandong is on a distinguished road
Quote:
Originally Posted by pdp.aero View Post
================================================== =================================
= 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'


hello! when running parallel_computation.py, i confronted the same problem with u, could u tell me how to solve this problem, thank u!!
hejiandong is offline   Reply With Quote

Old   June 13, 2013, 17:16
Default
  #4
Member
 
Trent Lukaczyk
Join Date: Feb 2011
Location: Stanford, CA
Posts: 75
Rep Power: 15
rktchip is on a distinguished road
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
pdp.aero likes this.
rktchip is offline   Reply With Quote

Old   June 14, 2013, 10:42
Default
  #5
Senior Member
 
Pay D.
Join Date: Aug 2011
Posts: 166
Blog Entries: 1
Rep Power: 14
pdp.aero is on a distinguished road
Quote:
Originally Posted by rktchip View Post
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
Thank you for a comment, yes I know, It is just a habit.

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
pdp.aero is offline   Reply With Quote

Old   June 19, 2013, 14:02
Default
  #6
Member
 
Trent Lukaczyk
Join Date: Feb 2011
Location: Stanford, CA
Posts: 75
Rep Power: 15
rktchip is on a distinguished road
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
pdp.aero likes this.
rktchip is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem in the CFX12.1 parallel computation BalanceChen ANSYS 2 July 7, 2011 10:26
Parallel computation using NUMECA 6.1 BalanceChen Fidelity CFD 1 June 5, 2011 06:24
load balancing in parallel computation shyamdsundar Main CFD Forum 0 September 2, 2009 23:53
Why the parallel computation is slow ztdep OpenFOAM Running, Solving & CFD 1 May 1, 2008 04:55
how to parallel computation Jane Siemens 2 April 28, 2004 06:11


All times are GMT -4. The time now is 01:03.