EarthWorksOrg / EarthWorks

Other
3 stars 2 forks source link

Update EW MPAS-A to v8+ version to use new input data files #46

Closed gdicker1 closed 3 months ago

gdicker1 commented 4 months ago

The current version of MPAS-A in EarthWorks lags behind what is used in the cam_development branch. EWOrg/MPAS-Model is a v7.x OpenACC version while what ESCOMP/CAM uses is based on a v8.0.1 hash (b8c33daa in MPAS-Dev/MPAS-Model). This means that EWOrg/MPAS-Model is missing code to use the cell_gradient_coef_{xy} fields/variables and runs fail when CAM tries to direct MPAS-A to read those fields.

This impacts and/or is impacted by:

When built with DEBUG=true, you will see lines like below at the end of the file. Otherwise the "Warning: *" statements won't be present, and the run will just die.

# skipped content...
 Allocating fields ...
  4 MB allocated for fields on this task
  567 MB total allocated for fields across all tasks
  ----- done allocating fields -----   

WARNING: Error: Field cell_gradient_coef_x not found in pool.
WARNING: Error: Field cell_gradient_coef_y not found in pool.
gdicker1 commented 3 months ago

This was fixed with the merge of #50, but users should still be aware of #55.