CFD Online Logo CFD Online URL
Home > Forums > Main CFD Forum

how to call C++ function from fortran with MPI

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

LinkBack Thread Tools Display Modes
Old   February 17, 2002, 16:02
Default how to call C++ function from fortran with MPI
Posts: n/a
how to call a C++ function from Fortran 90 in parallel programming with MPI. here no communication among processors is needed.
  Reply With Quote

Old   February 17, 2002, 21:39
Default Re: how to call C++ function from fortran with MPI
Sebastien Perron
Posts: n/a
1) Link your program with the C++ compiler (linker), C++ names are sometimes hard to resolve for other compilers;

2) If you have have any problems, use the command nm -A to display the "link names" of the funtions, it will then be easier to solve you problems

3) You should be able todo it (look at the library petsc).

  Reply With Quote


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
LiencubiclowRemodel nzy102 OpenFOAM Bugs 14 January 10, 2012 09:53
channelFoam for a 3D pipe AlmostSurelyRob OpenFOAM 3 June 24, 2011 13:06
UDF call function naftalena FLUENT 0 September 27, 2010 04:12
Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Native Meshers: blockMesh 10 April 2, 2007 14:00
Could you please help me liugx212 OpenFOAM Paraview & paraFoam 4 December 22, 2005 17:55

All times are GMT -4. The time now is 12:54.