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

Any Procedure to setup parallel computation??

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 14, 2013, 11:37
Default Any Procedure to setup parallel computation??
  #1
Member
 
mike
Join Date: Jun 2011
Posts: 42
Rep Power: 15
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, 06:47
Default
  #2
New Member
 
Yonatan Afework Tesfahunegn
Join Date: Mar 2013
Posts: 15
Rep Power: 13
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
Attached Files
File Type: zip How to install and run SU2 in parallel in Windiows 7.zip (89.2 KB, 178 views)
yona is offline   Reply With Quote

Old   June 26, 2013, 22:12
Default
  #3
Senior Member
 
Cean
Join Date: Feb 2010
Posts: 128
Rep Power: 16
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, 09:49
Default
  #4
Member
 
mike
Join Date: Jun 2011
Posts: 42
Rep Power: 15
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, 11:40
Default
  #5
New Member
 
Yonatan Afework Tesfahunegn
Join Date: Mar 2013
Posts: 15
Rep Power: 13
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, 17:17
Default
  #6
Member
 
mike
Join Date: Jun 2011
Posts: 42
Rep Power: 15
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, 26 views)
fluidmechanics is offline   Reply With Quote

Old   July 2, 2013, 17:47
Default
  #7
New Member
 
Yonatan Afework Tesfahunegn
Join Date: Mar 2013
Posts: 15
Rep Power: 13
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, 21 views)
yona is offline   Reply With Quote

Old   July 3, 2013, 11:45
Default
  #8
Member
 
mike
Join Date: Jun 2011
Posts: 42
Rep Power: 15
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, 11:51
Default
  #9
Member
 
mike
Join Date: Jun 2011
Posts: 42
Rep Power: 15
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

Old   July 19, 2017, 10:52
Default
  #10
New Member
 
jared
Join Date: Mar 2015
Posts: 17
Rep Power: 11
jsagaga 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
Hello Yona,

I followed the guide you provided, however, I can seem to find the SU2_RUN file which you added an environment variable for. That seems to be the only step I'm unable to complete. I get this error:

C:\Users\spl4ckd>python D:\Programs\SU2_Para\SU2\SU2_PY\parallel_computati on.py -f turb_ONERAM6.cfg -p 4
Traceback (most recent call last):
File "D:\Programs\SU2_Para\SU2\SU2_PY\parallel_computat ion.py", line 36, in <module>
sys.path.append(os.environ['SU2_RUN'])
File "C:\Python34\lib\os.py", line 635, in __getitem__
raise KeyError(key) from None
KeyError: 'SU2_RUN'

Could you direct where exactly SU2_RUN is so that I can create an environment variable for it?

Thank you,
Jared
jsagaga is offline   Reply With Quote

Old   July 21, 2017, 05:31
Default
  #11
Super Moderator
 
Tim Albring
Join Date: Sep 2015
Posts: 195
Rep Power: 11
talbring is on a distinguished road
Hi Jared,

have you followed already the steps outlined here: https://github.com/su2code/SU2/wiki/...s-Installation ?

Tim
talbring 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
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 09:40
parallel computation lenson Siemens 6 April 11, 2005 10:14
how to parallel computation Jane Siemens 2 April 28, 2004 07:11


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