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

Support Intel LLVM compiler (ifx) #220

Open
wants to merge 10 commits into
base: ufs/dev
Choose a base branch
from

Conversation

DusanJovic-NOAA
Copy link

This PR adds support for Intel LLVM compiler.

Changes:

  • CMakeLists.txt is updated to recognize 'IntelLLVM' compiler id as an Intel compiler. Also file module_mp_nssl_2mom.F90 is added to the list of files that are compiled with lower optimization because it takes very-very long time to compile it.
  • Local variable SIG1T in gcycle.F90 is declared to be one-dimensional array, same as dummy argument in SFCCYCLE subroutine. See commit d6490c5.
  • Fixed OMP directives in aerinterp.F90. For details see this issue Compiler crash in physics/aerinterp.F90 with Intel oneAPI compilers (ifx) NCAR/ccpp-physics#1003

Fixes Intel LLVM compiler (ifx) error:

physics/Interstitials/UFS_SCM_NEPTUNE/gcycle.F90(237): error #8284: If the actual argument is scalar, the dummy argument shall be scalar unless the actual argument is of type character or is an element of an array that is not assumed shape, pointer, or polymorphic.   [SIG1T]
      CALL SFCCYCLE (9998, npts, max(lsoil,lsoil_lsm), sig1t, fhcyc, &
-----------^
Copy link
Collaborator

@AnningCheng-NOAA AnningCheng-NOAA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me.

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

Successfully merging this pull request may close these issues.

5 participants