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

MPI implementation of OpenFOAM

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 27, 2010, 06:47
Default MPI implementation of OpenFOAM
  #1
New Member
 
Z Jamshidi
Join Date: Oct 2010
Posts: 3
Rep Power: 15
Jamshidi is on a distinguished road
I need some information about MPI implementation of openFOAM. I can run openFOAM in parallel but I want to know how does it work.

Any help is appreciated.
Jamshidi is offline   Reply With Quote

Old   October 27, 2010, 07:06
Default
  #2
Member
 
Rasoul
Join Date: Feb 2010
Posts: 32
Rep Power: 16
aut_iut is on a distinguished road
Have you seen available tutorials yet?
Take a look at the wingMotion tutorial in pimpleDyMFoam directory.
regards,
Rasoul
aut_iut is offline   Reply With Quote

Old   October 27, 2010, 08:27
Default
  #3
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
look at user guide page 65 & page 84
of course it shows only how to use decompose utility in openFoam not details, if u want to have more knowledge in general about parallel processing not what modified in openFoam, you can search for key words MPI , openMP or domain decomposition
nimasam is offline   Reply With Quote

Old   October 30, 2010, 14:22
Default
  #4
New Member
 
Z Jamshidi
Join Date: Oct 2010
Posts: 3
Rep Power: 15
Jamshidi is on a distinguished road
Thanks.

I could find some clues in "Pstream.C" by searching MPI functions in "src" folder. I have also understand that "argList" which process argument will call "init" method of "Pstream" Class. But I don't know at the end how information are gather together to reach the final answer. I should explore code more.
Jamshidi is offline   Reply With Quote

Old   October 31, 2010, 10:33
Default
  #5
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,684
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
Quote:
Originally Posted by Jamshidi View Post
Thanks.

I could find some clues in "Pstream.C" by searching MPI functions in "src" folder. I have also understand that "argList" which process argument will call "init" method of "Pstream" Class. But I don't know at the end how information are gather together to reach the final answer. I should explore code more.
You should look for OpenFOAM source that uses 'scatter'/'gather' and 'reduce'. This should help you get started the most (I think).
olesen is offline   Reply With Quote

Old   November 5, 2010, 14:39
Default
  #6
New Member
 
Z Jamshidi
Join Date: Oct 2010
Posts: 3
Rep Power: 15
Jamshidi is on a distinguished road
I have understand how OpenFOAM is parallelized with mpi completely. If some one else knows this implementation, let me know if he thinks I can parallelize it with openmp in the same way.
Jamshidi is offline   Reply With Quote

Old   June 23, 2011, 21:56
Default
  #7
Senior Member
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0
chegdan will become famous soon enoughchegdan will become famous soon enough
Quote:
Originally Posted by Jamshidi View Post
I have understand how OpenFOAM is parallelized with mpi completely. If some one else knows this implementation, let me know if he thinks I can parallelize it with openmp in the same way.
Jamshidi,

Where did you start? I'm curious as to how OF does this as well. Especially how OF solves the decomposed domains in parallel and passes info back and forth. Have you written this in a thesis or on the wiki somewhere? Let me know.

Dan
chegdan is offline   Reply With Quote

Old   June 25, 2011, 09:19
Default
  #8
New Member
 
HuyHoang
Join Date: Mar 2011
Posts: 7
Rep Power: 15
bongbongxanh is on a distinguished road
Quote:
Originally Posted by Jamshidi View Post
I have understand how OpenFOAM is parallelized with mpi completely. If some one else knows this implementation, let me know if he thinks I can parallelize it with openmp in the same way.
Wow... an awesome work you've done !!! it's very very kind of you if you can share it with us.
bongbongxanh 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
Windows 64-bit with Native MPI patch for OpenFOAM 1.6.x gocarts OpenFOAM Announcements from Other Sources 4 October 4, 2010 08:56
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 3 September 8, 2010 06:25
Error using LaunderGibsonRSTM on SGI ALTIX 4700 jaswi OpenFOAM 2 April 29, 2008 10:54
Is Testsuite on the way or not lakeat OpenFOAM Installation 6 April 28, 2008 11:12
Intelbs MPI and performance tools in OpenFOAM hplum OpenFOAM 16 December 16, 2007 14:58


All times are GMT -4. The time now is 10:30.