#1741: PAPI defines global functions and variables without PAPI_ prefix -----------------------------------+---------------------------------------- Reporter: rhaas | Owner: Type: defect | Status: new Priority: unset | Milestone: Component: EinsteinToolkit thorn | Version: development version Keywords: PAPI | -----------------------------------+---------------------------------------- In its stats.c source file (which gets compiled into the thorn), PAPI defines several globally visible symbols, eg:
{{{ void outinfo(const char *const function) ... int num_threads; }}}
which are not prefixed with the thorn name so possibly conflict with other thorns. According to the Cactus user guide http://einsteintoolkit.org/documentation/UsersGuide/UsersGuidech9.html#x13-1... users are suggested to prefix them by the thorn name (or put into a C++ namespace) to avoid conflicts.
#1741: PAPI defines global functions and variables without PAPI_ prefix ------------------------------------+--------------------------------------- Reporter: rhaas | Owner: Type: defect | Status: new Priority: unset | Milestone: Component: EinsteinToolkit thorn | Version: development version Resolution: | Keywords: PAPI ------------------------------------+---------------------------------------
Comment (by anonymous):
See "stats.h": {{{ #define outinfo PAPI_Cactus_outinfo void outinfo(const char *const function); }}}
This is just a local short-cut to make code more readable.
#1741: PAPI defines global functions and variables without PAPI_ prefix ------------------------------------+--------------------------------------- Reporter: rhaas | Owner: Type: defect | Status: closed Priority: unset | Milestone: Component: EinsteinToolkit thorn | Version: development version Resolution: invalid | Keywords: PAPI ------------------------------------+--------------------------------------- Changes (by rhaas):
* status: new => closed * resolution: => invalid
trac@lists.einsteintoolkit.org