MPAS-Dev / MPAS-Model

Repository for MPAS models and shared framework releases.
235 stars 312 forks source link

Set single-precision as the default build #1119

Closed gdicker1 closed 10 months ago

gdicker1 commented 10 months ago

This PR switches the logic for the PRECISION Makefile argument so single-precision variables are now the default and double-precision builds have to be requested. A check is also added to try to prevent any values besides "double" or "single" from being valid settings for PRECISION.

While double-precision variables allows for more accuracy, many users would be better served by the reduced data storage and throughput increase from single-precision variables.

gdicker1 commented 10 months ago

Force push from 7c4f828 to f4ef6af fixes typo in filter-out statement I added to Makefile.

gdicker1 commented 10 months ago

Force-push 3f25e68 to 68c49d5 fixes commits so each builds and fixes typo in error message.