[ET Trac] [Einstein Toolkit] #235: Improve performance of Fortran index calculations

Einstein Toolkit trac-noreply at einsteintoolkit.org
Sun Jan 23 10:56:21 CST 2011


#235: Improve performance of Fortran index calculations
--------------------------+-------------------------------------------------
  Reporter:  eschnett     |       Owner:     
      Type:  enhancement  |      Status:  new
  Priority:  minor        |   Milestone:     
 Component:  Cactus       |     Version:     
Resolution:               |    Keywords:     
--------------------------+-------------------------------------------------

Comment (by eschnett):

 I do not know how efficient Fortran compilers are when arrays sizes are
 defined via an array. I therefore introduced three local scalars cctk_lsh1
 cctk_lsh2 cctk_lsh3 that are used to specify the first three dimensions.
 Since these are the "innermost" dimensions, they are most crucial for
 performance. These scalars are set via CCTK_FARGUMENTS as defined in
 cctk.h.

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/235#comment:2>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list