paboyle / Grid

Data parallel C++ mathematical object library
GNU General Public License v2.0
155 stars 111 forks source link

NERSC and ILDG files always claim to be SU(3) #376

Closed edbennett closed 2 years ago

edbennett commented 3 years ago

Currently the ILDG and NERSC checkpointers always store the configuration type as 4D_SU3_GAUGE_3x3. This means that when Grid is compiled for any gauge group other than SU(3), the configuration metadata does not correctly describe the data stored in the configuration, and also that downstream tooling (e.g. GLU) fails to parse the configuration.

RJHudspith commented 3 years ago

This is an interesting point; I don't think either of the ILDG or NERSC configuration formats are standardized for NC!=3. In GLU I made the logical extension of these, i.e. changing SU3 to SU{whatever NC is compiled), similarly for the 4D part.

RJHudspith commented 3 years ago

Ok I created a pull request to address this, https://github.com/paboyle/Grid/pull/377