Skip to content

CUDA CMake build fails with lots of errors about constexpr __host__ functions #2000

Answered by mic84
BenWibking asked this question in Q&A
Discussion options

You must be logged in to vote

The issue is that the CMake minimum required version is too old. AMReX requires CMake >= 3.14.
Even if the CMake version you are running is 3.20, the command cmake_minimum_required(VERSION 3.1) sets old policies that are not compatible with AMReX CMake.

Replies: 9 comments

Comment options

You must be logged in to vote
0 replies
Comment options

BenWibking
May 3, 2021
Collaborator Author

You must be logged in to vote
0 replies
Comment options

BenWibking
May 3, 2021
Collaborator Author

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

BenWibking
May 5, 2021
Collaborator Author

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by BenWibking
Comment options

You must be logged in to vote
0 replies
Comment options

BenWibking
May 7, 2021
Collaborator Author

You must be logged in to vote
0 replies
Comment options

BenWibking
May 7, 2021
Collaborator Author

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1971 on May 07, 2021 01:41.