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

Accessing MPI protocols in solver

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 26, 2013, 12:31
Question Accessing MPI protocols in solver
  #1
New Member
 
Andrew
Join Date: Feb 2013
Posts: 3
Rep Power: 13
akail is on a distinguished road
I am looking at running an OpenFOAM solver in parallel through a scheduling program that we have been working on. This would require passing in a new MPI communicator to the solver being called. I have not found any documentation or examples showing how to directly edit the MPI comm for a solver. Is there a way to access it?

Thanks
akail is offline   Reply With Quote

Old   May 6, 2013, 18:57
Default
  #2
Senior Member
 
kmooney's Avatar
 
Kyle Mooney
Join Date: Jul 2009
Location: San Francisco, CA USA
Posts: 323
Rep Power: 18
kmooney is on a distinguished road
You could start by taking a look at the mpi wrappers that foam uses, the Pstream functions.

They are found here:

$FOAM_SRC/Pstream/mpi/
kmooney is offline   Reply With Quote

Reply

Tags
mpi, openfoam, parallel, solver


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
thobois class engineTopoChangerMesh error Peter_600 OpenFOAM 4 August 2, 2014 10:52
Working directory via command line Luiz CFX 4 March 6, 2011 21:02
Using a user-defined solver in OF ozzythewise OpenFOAM Running, Solving & CFD 3 February 8, 2011 16:28
Creating New Solver: For particle-laden compressible jets sankarv OpenFOAM 0 April 4, 2010 19:06
3D PARALLEL SOLVER (MPI Lib) Saud Khashan Main CFD Forum 8 July 14, 1999 09:52


All times are GMT -4. The time now is 17:34.