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

how to call C++ function from fortran with MPI

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 17, 2002, 15:02
Default how to call C++ function from fortran with MPI
  #1
kenn
Guest
 
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, 20:39
Default Re: how to call C++ function from fortran with MPI
  #2
Sebastien Perron
Guest
 
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

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
LiencubiclowRemodel nzy102 OpenFOAM Bugs 14 January 10, 2012 08: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
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 14:00
[OpenFOAM] Could you please help me liugx212 ParaView 4 December 22, 2005 16:55


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