STEllAR-GROUP / octotiger

Astrophysics program simulating the evolution of star systems based on the fast multipole method on adaptive Octrees
http://octotiger.stellar-group.org/
Boost Software License 1.0
48 stars 19 forks source link

Compilation issues on Perlmutter #384

Closed diehlpk closed 2 years ago

diehlpk commented 2 years ago

Expected Behavior

Octo-Tiger should compile as it was on Summit.

Actual Behavior


clang-12: warning: argument unused during compilation: '-allow-unsupported-compiler' [-Wunused-command-line-argument]                                                                                     
In file included from <built-in>:1:
In file included from /global/common/software/nersc/cos1.3/cuda/11.3.0/bin/../targets/x86_64-linux/include/cuda_runtime.h:83:
/global/common/software/nersc/cos1.3/cuda/11.3.0/bin/../targets/x86_64-linux/include/crt/host_config.h:147:2: error: -- unsupported clang version! clang version must be less than 12 and greater than 3.2
 . The nvcc flag '-allow-unsupported-compiler' can be used to override this version check; however, using an unsupported host compiler may cause compilation failure or incorrect run time execution. Use
at your own risk.
#error -- unsupported clang version! clang version must be less than 12 and greater than 3.2 . The nvcc flag '-allow-unsupported-compiler' can be used to override this version check; however, using an u
nsupported host compiler may cause compilation failure or incorrect run time execution. Use at your own risk.
^
In file included from <built-in>:1:                                                                                                                                                                       
In file included from /global/common/software/nersc/cos1.3/cuda/11.3.0/bin/../targets/x86_64-linux/include/cuda_runtime.h:83:
/global/common/software/nersc/cos1.3/cuda/11.3.0/bin/../targets/x86_64-linux/include/crt/host_config.h:147:2: error: -- unsupported clang version! clang version must be less than 12 and greater than 3.2
 . The nvcc flag '-allow-unsupported-compiler' can be used to override this version check; however, using an unsupported host compiler may cause compilation failure or incorrect run time execution. Use
at your own risk.
#error -- unsupported clang version! clang version must be less than 12 and greater than 3.2 . The nvcc flag '-allow-unsupported-compiler' can be used to override this version check; however, using an u
nsupported host compiler may cause compilation failure or incorrect run time execution. Use at your own risk.
^
clang-12: error: Unsupported CUDA gpu architecture: OFF
11:29

Steps to Reproduce the Problem

... Please be as specific as possible while describing how to reproduce your problem.

  1. Compile all dependencies
  2. Compile Octo-Tiger

Specifications

... Please describe your environment

diehlpk commented 2 years ago

It seems that CUDA 11.3.0 does not support Clang 12. Not much we can do right now.