Set up SGMGA, SPARSE_GRID_HW, and TESTPACK