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