As p3dfft is Fortran module, the names in the object file may have different
names depending on the compiler. This is so far resolved by using
compiler-specific FORT_MOD_NAME macros.
Actually this is not viable solution for the Cray and SUN compilers. They use,
well, weird object names for Fortran module functions, which are unusuable in
C++-code. The best solution for this problem (at least for the SUN and Cray
compiler) is the use of the BIND-directive with module function definition.
This would allow the use of a compiler independet object name. I am not
completely sure if this a general feature shared by all Fortran compilers. If
so I would suggest using the bind command rather than using FORT_MOD_NAME macro.
Original issue reported on code.google.com by sla...@astro.uni-wuerzburg.de on 7 Mar 2011 at 11:04
Original issue reported on code.google.com by
sla...@astro.uni-wuerzburg.de
on 7 Mar 2011 at 11:04