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

MPI implementation of OpenFOAM

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

Reply
 
LinkBack Thread Tools 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: 6
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: 7
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 Sam
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,112
Blog Entries: 1
Rep Power: 14
nimasam is on a distinguished road
Send a message via Yahoo to nimasam
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: 6
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, 11:33
Default
  #5
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: http://olesenm.github.io/
Posts: 777
Rep Power: 18
olesen will become famous soon enough
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, 15:39
Default
  #6
New Member
 
Z Jamshidi
Join Date: Oct 2010
Posts: 3
Rep Power: 6
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
 
chegdan's Avatar
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 530
Rep Power: 18
chegdan 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: 6
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

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
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 15:58


All times are GMT -4. The time now is 20:32.