[ET Trac] [Einstein Toolkit] #1610: Switch Cactus to 64 bits

Einstein Toolkit trac-noreply at einsteintoolkit.org
Mon Dec 29 09:53:41 CST 2014


#1610: Switch Cactus to 64 bits
--------------------------+-------------------------------------------------
  Reporter:  eschnett     |       Owner:                     
      Type:  enhancement  |      Status:  new                
  Priority:  major        |   Milestone:                     
 Component:  Cactus       |     Version:  development version
Resolution:               |    Keywords:                     
--------------------------+-------------------------------------------------

Comment (by rhaas):

 I am not sure if this is really what we (should) want.

 It seems to me that CCTK_INT is the type of grid variables and parameters
 while "int" is the type of the index variables (or should be, admittedly
 right now this is all muddled). I think the cleanest solution would be one
 integer type for grid functions (things that come to mind would be the
 desire for HDF5 datasets to have the same type indep. on whether they are
 written on 32 or 64 bit platforms although HDF5 will probably do the
 translation from CCTK_INT-when-writing to CCTK_INT-when-reading for you if
 you ask for HDF5_NATIVE_INT when reading) and distinct integer type
 (something like size_t or ptrdiff_t for a signed type) for grid indices
 which can be 64/32bit depending on the machine or just always 64bit
 depending on a compile time flag.

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


More information about the Trac mailing list