#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.