Hello everyone,

I have been trying to redirect MPI_Init and MPI_Finalize calls from a FORTRAN application (the CG benchmark from NAS Parallel Benchmarks). It appears that in the fortran application the MPI_Init function signature is "mpi_init_", whereas in my shared object it is MPI_Init. How is the f-to-c binding done in Open-MPI? How can I change the Makefile.am (or add a configure.m4) in order to check the way this name mapping is done by the compiler, and how to add the proper symbols so that my shared object could be used also with FORTRAN programs ?

Thank you in advance,

Clément FOYER

_______________________________________________
devel mailing list
devel@lists.open-mpi.org
https://rfd.newmexicoconsortium.org/mailman/listinfo/devel

Reply via email to