Skip to content

CMake error: include could not find detect_openmp #986

Description

@michalakes

Description

Compiling ccppV6 as part of NEPTUNE build, we now get an error:

CMake Error at CMakeLists.txt:116 (include)
  include could not find load file:
    detect_openmp

I don't think we had this problem with ccpp v5

Steps to Reproduce

I'm not sure what the non-NEPTUNE to reproduce this is, but it's happening as a result of the command:


    ./build_ccpp.sh sandy /users/michalakes/neptune_atmos "DEBUG=N           \
                    OPENMP=Y HYBRID=N STATIC=Y 32BIT=N" "NO" "NO"

in our NEPTUNE build.

Additional Context

Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

  • Machine
  • Compiler
  • Suite Definition File or Scheme
  • Reference other issues or PRs in other repositories that this is related to, and how they are related.

Output

I'm attaching a screenshot of the line 116 in CMakeLists that's referred to in the error message, above.
screenshot

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions