[ET Trac] [Einstein Toolkit] #452: Declare all private variables as private

Einstein Toolkit trac-noreply at einsteintoolkit.org
Mon Jun 13 10:31:52 CDT 2011


#452: Declare all private variables as private
-----------------------------------+----------------------------------------
 Reporter:  eschnett               |       Owner:     
     Type:  enhancement            |      Status:  new
 Priority:  minor                  |   Milestone:     
Component:  EinsteinToolkit thorn  |     Version:     
 Keywords:                         |  
-----------------------------------+----------------------------------------
 In Fortran OpenMP, loop variables of parallel loops are implicitly private
 and do not need to be declared as private. I find this somewhat confusing,
 and I suggest to nevertheless declare them to be private. In particular,
 when tracking down OpenMP problems I am never sure whether it is a
 compiler problem, and I want to avoid as much ambiguity as possible. The
 attached patch does this.

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


More information about the Trac mailing list