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

Any Procedure to setup parallel computation??

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   June 14, 2013, 10:37
Default Any Procedure to setup parallel computation??
  #1
New Member
 
mike
Join Date: Jun 2011
Posts: 23
Rep Power: 6
fluidmechanics is on a distinguished road
Dear all Su2 users;

I have run serial Su2 successfully, but in parallel setting,each time a new error and I am really confused!

I have installed Parallel version for windows 7 as Setup-Windows_x64-MPICH2.exe, MPICH2 64 bit, Python 2.6.6 64 bit and and Numpy-1.7.1 x64 for Python 2.6.6.

From this point what else do I have to do to configure parallel runs?
What is that SU2_RUN environment variable setting? Please say in details. I really need your help.


Thanks a lot.
fluidmechanics is offline   Reply With Quote

Old   June 26, 2013, 05:47
Default
  #2
New Member
 
Yonatan Afework Tesfahunegn
Join Date: Mar 2013
Posts: 14
Rep Power: 4
yona is on a distinguished road
Hi Mike,

Here is a procedure on how to install and run SU2 in parallel. Please look the attached zip file.

Let me know if it helps you.

Thanks,
Yonatan
yona is offline   Reply With Quote

Old   June 26, 2013, 21:12
Default
  #3
Senior Member
 
Cean
Join Date: Feb 2010
Posts: 128
Rep Power: 7
shirazbj is on a distinguished road
Quote:
Originally Posted by yona View Post
Hi Mike,

Here is a procedure on how to install and run SU2 in parallel. Please look the attached zip file.

Let me know if it helps you.

Thanks,
Yonatan
very nice one,thanks yona.

I followed this on 2.0.5, need to change mpirun to mpiexec in su2_py\su2\run\interface.py.
shirazbj is offline   Reply With Quote

Old   July 1, 2013, 08:49
Default
  #4
New Member
 
mike
Join Date: Jun 2011
Posts: 23
Rep Power: 6
fluidmechanics is on a distinguished road
dear Yonatan;

Thanks a lot for your complete and useful note. I have followed as you mentioned, but now there is a new error :

"Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Professional>cd C:\SU2\SU2Py\bin
C:\SU2\SU2Py\bin>python parallel_computation.py -f turb_ONERAM6.cfg -p 4
the command: mpirun -np 1 C:\SU2\SU2Py\bin\SU2_DDC config_DDC.cfg
the location: C:\SU2\SU2Py\bin
WARNING: unrecognized option in the config. file: MARKER_HEATFLUX.
WARNING: unrecognized option in the config. file: DECOMPOSED.
-------------------------------------------------------------------------
| SU2 Suite (Domain Decomposition Code) |
-------------------------------------------------------------------------
------------------------ Physical case definition -----------------------
Input mesh file name: mesh_ONERAM6_turb_hexa.su2
-------------------------- Output information ---------------------------
Don't visualize the partitions.
------------------- Config file boundary information --------------------
Far-field boundary marker(s): FARFIELD.
Symmetry plane boundary marker(s): SYMMETRY.
---------------------- Read grid file information -----------------------
Three dimensional problem.
43008 interior elements. 46417 points, and 0 ghost points.
3 surface markers.
2560 boundary elements in index 0 (Marker = FARFIELD).
1408 boundary elements in index 1 (Marker = WING).
The configuration file doesn't have any definition for marker WING!!
Press any key to exit...
Wait for process 0 to write port to temporary file timed out"

Do you have any idea???

Thank you.
fluidmechanics is offline   Reply With Quote

Old   July 2, 2013, 10:40
Default
  #5
New Member
 
Yonatan Afework Tesfahunegn
Join Date: Mar 2013
Posts: 14
Rep Power: 4
yona is on a distinguished road
Hi Mike,

Did you check the MPICH2 syntax in parallel_computation.py python script ? The executable file name of MPICH2 should be the same in the python script.

As an example, if the MPICH2 executable file name is msiexec, then you have to use this in the python script as follows:
run_SU2_DDC = "mpirun -np 1 %s" % (run_SU2_DDC)
(change mpirun –np to msiexec -n)



Or could you upload your configuration file and the python script so that I can try in my PC.

Thanks
Yonatan
yona is offline   Reply With Quote

Old   July 2, 2013, 16:17
Default
  #6
New Member
 
mike
Join Date: Jun 2011
Posts: 23
Rep Power: 6
fluidmechanics is on a distinguished road
Hi dear Yonatan;

My MPICH2 executable is mpiexec.exe and I have already done that change in python parallel script. Here are my *.cfg and parallel_computation.py files. Since the size of mesh_ONERAM6_turb_hexa.su2 mesh file is high, I have not sent it. It is in test case folder of SU2 under "rans" folder.

Thanks again for your kinds.

Mike
Attached Files
File Type: zip My case.zip (7.4 KB, 12 views)
fluidmechanics is offline   Reply With Quote

Old   July 2, 2013, 16:47
Default
  #7
New Member
 
Yonatan Afework Tesfahunegn
Join Date: Mar 2013
Posts: 14
Rep Power: 4
yona is on a distinguished road
Hi Mike,

Looking to your config file, I just found out that the Navier-Stokes wall boundary marker (MARKER_NS) was not defined properly. In addition to that the MARKER_HEATFLUX= ( WING, 0.0 ), is not a recognizable tag by SU2. So after I delete "MARKER_HEATFLUX= ( WING, 0.0 )" andreplace by
MARKER_NS=( WING ), it works.

You can find the config file in the zip folder.

Let me know if it works.

Thanks
Yonatan
Attached Files
File Type: zip turb_ONERAM6.zip (5.2 KB, 16 views)
yona is offline   Reply With Quote

Old   July 3, 2013, 10:45
Default
  #8
New Member
 
mike
Join Date: Jun 2011
Posts: 23
Rep Power: 6
fluidmechanics is on a distinguished road
Thanks a lot Yonatan. I am going to try it. But the cfg file was for SU2 tutorial files and supposed to be true!!!! Any way I will inform you. Again Thanks for your quick answer.

Best Regards
fluidmechanics is offline   Reply With Quote

Old   July 3, 2013, 10:51
Default
  #9
New Member
 
mike
Join Date: Jun 2011
Posts: 23
Rep Power: 6
fluidmechanics is on a distinguished road
Thanks Yonatan. It works. You are one of the bests. I will send you a private message. Thanks my friend.
fluidmechanics is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
CFX Parallel Setup on windows 7 x64 SlicedBread CFX 1 November 14, 2011 18:06
question on data access in parallel computation wangrensong FLUENT 0 January 7, 2009 04:24
Computation in parallel on AMD 64bit Red Hat Enterprise Linux AS release 3 Taroon Update 2 ztxie OpenFOAM Running, Solving & CFD 0 October 21, 2005 08:40
parallel computation lenson CD-adapco 6 April 11, 2005 09:14
how to parallel computation Jane CD-adapco 2 April 28, 2004 06:11


All times are GMT -4. The time now is 09:13.