|
[Sponsors] |
how to call C++ function from fortran with MPI |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 17, 2002, 16:02 |
how to call C++ function from fortran with MPI
|
#1 |
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.
|
|
February 17, 2002, 21:39 |
Re: how to call C++ function from fortran with MPI
|
#2 |
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). |
|
|
|
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 14:06 |
UDF call function | naftalena | FLUENT | 0 | September 27, 2010 05:12 |
[blockMesh] Axisymmetrical mesh | Rasmus Gjesing (Gjesing) | OpenFOAM Meshing & Mesh Conversion | 10 | April 2, 2007 15:00 |
[OpenFOAM] Could you please help me | liugx212 | ParaView | 4 | December 22, 2005 17:55 |