Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FMS built using different CPP flags than other FV3 components #28

Open
oliverwm1 opened this issue Apr 21, 2020 · 0 comments
Open

FMS built using different CPP flags than other FV3 components #28

oliverwm1 opened this issue Apr 21, 2020 · 0 comments

Comments

@oliverwm1
Copy link
Contributor

The CPP flags used to build FMS are -Duse_LARGEFILE and -DMAXFIELDMETHODS_=500 (and possibly others defined outside the Dockerfile).

The flags used to build everything under FV3/ include -Duse_libMPI -Duse_netCDF -DSPMD -DUSE_LOG_DIAG_FIELD_INFO -Duse_LARGEFILE -DUSE_GFSL63 -DGFS_PHYS -DNO_INLINE_POST -DNEW_TAUCTMAX -DINTERNAL_FILE_NML and sometimes more depending on some other configuration settings (hydrostatic, 32bit vs 64bit, etc).

Not all of the flags used to compile FV3 exist anywhere in the FMS source code but most of them do.

In particular, the model uses a different set of physical constants if FMS is not compiled with -DGFS_PHYS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant