[ET Trac] [Einstein Toolkit] #1741: PAPI defines global functions and variables without PAPI_ prefix

Einstein Toolkit trac-noreply at einsteintoolkit.org
Thu Jan 22 10:33:51 CST 2015


#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-144000C1.9.7
 users are suggested to prefix them by the thorn name (or put into a C++
 namespace) to avoid conflicts.

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1741>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list