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

Missing .cmake files for intel-classic builds #151

Open
gdicker1 opened this issue Feb 14, 2024 · 0 comments
Open

Missing .cmake files for intel-classic builds #151

gdicker1 opened this issue Feb 14, 2024 · 0 comments

Comments

@gdicker1
Copy link

Since there are no intel-classic equivalents to intel-oneapi.cmake and intel-oneapi_derecho.cmake in machines/cmake_macros, builds of CESM compsets will fail in the share external due to missing CPRINTEL preprocessor macro in shr_infnan_mod.F90.in.

Example error messages:

 path_to/CESM/share/src/shr_infnan_mod.F90.in(71): error #7950: Procedure name in MODULE PROCEDURE statement must be the name of accessible module procedure.   [SHR_INFNAN_ISNAN_DOUBLE]
    module procedure shr_infnan_isnan_double
 --------------------^
 path_to/CESM/share/src/shr_infnan_mod.F90.in(73): error #7950: Procedure name in MODULE PROCEDURE statement must be the name of accessible module procedure.   [SHR_INFNAN_ISNAN_REAL]
    module procedure shr_infnan_isnan_real
 --------------------^
 path_to/CESM/share/src/shr_infnan_mod.F90.in(71): error #7407: Unresolved MODULE PROCEDURE specification name.   [SHR_INFNAN_ISNAN_DOUBLE]
    module procedure shr_infnan_isnan_double
 --------------------^
 path_to/CESM/share/src/shr_infnan_mod.F90.in(73): error #7407: Unresolved MODULE PROCEDURE specification name.   [SHR_INFNAN_ISNAN_REAL]
    module procedure shr_infnan_isnan_real
 --------------------^
 compilation aborted for shr_infnan_mod.F90 (code 1)

Steps to reproduce:

  • Download and checkout_externals a clone of CESM (e.g. cesm2_3_alpha17a)
  • Create and setup any case using --compiler intel-classic (tested with FHS94)
  • Attempt a build

Proposed fix:
Create softlinks in machines/cmake_macros intel-classic.cmake to intel.cmake and intel-classic_derecho.cmake to intel_derecho.cmake.

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