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

[bug] physics/module_sf_noahmplsm.f90 contains preprocessor directives #886

Closed
climbfuji opened this issue Mar 18, 2022 · 1 comment
Closed
Labels

Comments

@climbfuji
Copy link
Collaborator

Description

File physics/module_sf_noahmplsm.f90 (and possibly others) contain preprocessor (CPP) directives, but the extension is lowercase .f90. This requires the build system to explicitly set -fpp to force preprocessing of all Fortran files.

The correct way to do this is to use .F90 so that the compiler knows from the extension whether preprocessing is required or not.

Steps to Reproduce

  1. Check out the ufs-weather-model code and remove -fpp from cmake/Intel.cmake
  2. Compile the code with Intel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants