[ET Trac] [Einstein Toolkit] #974: Compilation problem in LoopControl with xlc compiler
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Mon Jul 16 14:18:48 CDT 2012
#974: Compilation problem in LoopControl with xlc compiler
------------------------------------------+---------------------------------
Reporter: wolfgang.kastaun@… | Owner: eschnett
Type: defect | Status: new
Priority: major | Milestone:
Component: Carpet | Version: development version
Resolution: | Keywords:
------------------------------------------+---------------------------------
Comment (by rhaas):
There is one more way around this, by using routine names that are mixed
case. The Cactus build in functions use this convention (if only because
they are usually called CCTK_SomethingOrTheOther). Since C cares about
capitalization but Fortran does not this tends to give differing
capitalization for the two flavors of the routine. Eg.
CCTK_FNAME(LC_do_init) is likely lc_do_init or LC_DO_INIT while the C
version has to be LC_do_init (or lc_DO_INIT is also allowed but that would
be really odd). The problem with introducing this into LoopControl right
now would that it changes the C visible routine names as well.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/974#comment:6>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list