how to call C++ function from fortran with MPI
how to call a C++ function from Fortran 90 in parallel programming with MPI. here no communication among processors is needed.
Re: how to call C++ function from fortran with MPI
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).
|All times are GMT -4. The time now is 18:28.|