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

Suite with RRTMGP will not compile unless compiled alongside one with RRTMG #240

Open
LarissaReames-NOAA opened this issue Dec 17, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@LarissaReames-NOAA
Copy link

Description

I'm making some modifications to how bucket radiation variables are calculated and wanted to test the changes to both RRTMG and RRTMGP but found that the suite with RRTMGP will not compile when compiled alone because of a missing compiled module, module_iounitdef, which is present in the RRTMG folder. If compiled alongside an RRTMG suite, as is the case for the only RRTMGP suite tested in the ufs-weather-model, this module is compiled for RRTMG so there are no issues for RRTMGP.

I was, however, able to add iounitdef.f to the dependency list in GFS_rrtmgp_setup.meta which got me a clean compile of this single suite. So that could be a solution.

Steps to Reproduce

  1. On Hera (assumably any machine, but I used Hera), attempt to compile ufs-weather-model with CCPP suite suite_FV3_GFS_v17_p8_rrtmgp.xml using intel and these CMAKE flags:
    -DAPP=ATM -DCCPP_SUITES=FV3_GFS_v17_p8_rrtmgp -D32BIT=ON -DHYDRO=ON -DMPI=ON
  2. Receive compiler error:
    /scratch1/BMC/gsd-fv3/Larissa.Reames/ufs-weather-model-38a29a6/FV3/ccpp/physics/physics/Radiation/radiation_astronomy.f(92): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MODULE_IOUNITDEF] use module_iounitdef, only : NIRADSF

Additional Context

  • Machine: Hera
  • Compiler: Intel
  • Suite Definition File or Scheme: FV3_GFS_v17_p8_rrtmgp

Output

image

@LarissaReames-NOAA LarissaReames-NOAA added the bug Something isn't working label Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant