forked from MPAS-Dev/MPAS-Model
-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Labels
upstreamBelieved to originate in the MPAS-Dev/MPAS-Model code rather than ufs-community/MPAS-Model code.Believed to originate in the MPAS-Dev/MPAS-Model code rather than ufs-community/MPAS-Model code.
Description
The cmake build system double precision support isn't fully working, and varies from the Makefile setup in that.
This highlights three bugs:
- The cmake build system defaults to double precision, unlike make's single precision default
- Only init_atmosphere has flags for double precision
- The double precision flags are hard-coded to GNU compiler flags. That breaks double-precision support for all other compilers.
The result is:
| Compiler | Makefile support | cmake single-precision | cmake double-precision |
|---|---|---|---|
| GNU | single (default) and double | works | double default, but init_atmosphere only |
| Intel | single (default) and double | works | broken |
| Other Compilers | single (default) and double | untested | broken |
Metadata
Metadata
Assignees
Labels
upstreamBelieved to originate in the MPAS-Dev/MPAS-Model code rather than ufs-community/MPAS-Model code.Believed to originate in the MPAS-Dev/MPAS-Model code rather than ufs-community/MPAS-Model code.