itaps-parallel IMeshP_protos.h
Jason Kraftcheck
kraftche at cae.wisc.edu
Thu Oct 23 09:57:16 CDT 2008
Devine, Karen D wrote:
> Thanks for your reply, Jason. Since iMeshP.h includes iMeshP_protos.h, we
> should have iMeshP_protos.h in the repository; otherwise, builds that
> include iMeshP.h will fail when they can't find iMeshP_protos.h.
But the contents of the file may not be the same for all implementations.
For anyone not using GNU autoconf for their configuration (e.g. using cmake
or customizable makefiles), can an equivalent to the autoconf FC_FUNC_ macro
be provided? Or is some completely different mechanism used? For example,
one could implement this kind of thing by declaring the mangled Fortran
names (perhaps all the different mangled names used by different Fortran
compilers) as aliases of the C functions, but that requires
compiler-dependent syntax.
> If
> iMeshP_protos.h is for fortran name mangling only, can we name the file
> something like iMeshP_fortran_protos.h?
'protos' is the wrong name. That isn't what the file contains. I think
something more descriptive would be better. Perhaps one of:
iMeshP_fc_func.h
iMeshP_fortran_mangle.h
iMeshP_fortran_macro.h
iMeshP_fortran_nm.h
iMeshP_F_mangle.h
iMeshP_F_macro.h
More information about the itaps-parallel
mailing list