CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   SU2 Installation (http://www.cfd-online.com/Forums/su2-installation/)
-   -   Any Procedure to setup parallel computation?? (http://www.cfd-online.com/Forums/su2-installation/119329-any-procedure-setup-parallel-computation.html)

fluidmechanics June 14, 2013 10:37

Any Procedure to setup parallel computation??
 
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.

yona June 26, 2013 05:47

1 Attachment(s)
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

shirazbj June 26, 2013 21:12

Quote:

Originally Posted by yona (Post 436042)
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.

fluidmechanics July 1, 2013 08:49

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.

yona July 2, 2013 10:40

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

fluidmechanics July 2, 2013 16:17

1 Attachment(s)
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

yona July 2, 2013 16:47

1 Attachment(s)
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

fluidmechanics July 3, 2013 10:45

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 July 3, 2013 10:51

Thanks Yonatan. It works. You are one of the bests. I will send you a private message. Thanks my friend.:)


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