Safe compilation of solver with CEM workflow netcdf kernel output