You are not logged in.

#1 2023-11-01 07:56:28

GoluDholu
Member
Registered: 2022-11-05
Posts: 27

[Solved] Not able to compile using nvcc

After the cuda update 12.3.0-1, I am not able to compile any cuda code. Is there any configuration I am missing?

gcc (GCC) 13.2.1 20230801
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2023 NVIDIA Corporation
Built on Fri_Sep__8_19:17:24_PDT_2023
Cuda compilation tools, release 12.3, V12.3.52
Build cuda_12.3.r12.3/compiler.33281558_0

When using make to compile cuda samples:

make[1]: Entering directory '/data/opt/cuda-samples-12.3/Samples/6_Performance/alignedTypes'
/opt/cuda/bin/nvcc -ccbin g++ -I../../../Common -m64 --threads 0 --std=c++11 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_52,code=sm_52 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -gencode arch=compute_70,code=sm_70 -gencode arch=compute_75,code=sm_75 -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_89,code=sm_89 -gencode arch=compute_90,code=sm_90 -gencode arch=compute_90,code=compute_90 -o alignedTypes.o -c alignedTypes.cu
/usr/include/bits/floatn.h(86): error: invalid combination of type specifiers
  typedef __float128 _Float128;
                     ^

/usr/include/bits/floatn-common.h(214): error: invalid combination of type specifiers
  typedef float _Float32;
                ^

/usr/include/bits/floatn-common.h(251): error: invalid combination of type specifiers
  typedef double _Float64;
                 ^

/usr/include/bits/floatn-common.h(268): error: invalid combination of type specifiers
  typedef double _Float32x;
                 ^

/usr/include/bits/floatn-common.h(285): error: invalid combination of type specifiers
  typedef long double _Float64x;
                      ^

5 errors detected in the compilation of "alignedTypes.cu".
make[1]: *** [Makefile:328: alignedTypes.o] Error 255
make[1]: Leaving directory '/data/opt/cuda-samples-12.3/Samples/6_Performance/alignedTypes'
make: *** [Makefile:45: Samples/6_Performance/alignedTypes/Makefile.ph_build] Error 2

When using cmake for my own code:

CMake Error at /usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:753 (message):
  Compiling the CUDA compiler identification source file
  "CMakeCUDACompilerId.cu" failed.

  Compiler: /opt/cuda/bin/nvcc

  Build flags:

  Id flags: --keep;--keep-dir;tmp -v



  The output was:

  2

  #$ _NVVM_BRANCH_=nvvm

  #$ _SPACE_=

  #$ _CUDART_=cudart

  #$ _HERE_=/opt/cuda/bin

  #$ _THERE_=/opt/cuda/bin

  #$ _TARGET_SIZE_=

  #$ _TARGET_DIR_=

  #$ _TARGET_DIR_=targets/x86_64-linux

  #$ TOP=/opt/cuda/bin/..

  #$ NVVMIR_LIBRARY_DIR=/opt/cuda/bin/../nvvm/libdevice

  #$ LD_LIBRARY_PATH=/opt/cuda/bin/../lib:

  #$
  PATH=/opt/cuda/bin/../nvvm/bin:/opt/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/cuda/bin:/opt/cuda/nsight_compute:/opt/cuda/nsight_systems/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl


  #$ INCLUDES="-I/opt/cuda/bin/../targets/x86_64-linux/include"

  #$ LIBRARIES= "-L/opt/cuda/bin/../targets/x86_64-linux/lib/stubs"
  "-L/opt/cuda/bin/../targets/x86_64-linux/lib"

  #$ CUDAFE_FLAGS=

  #$ PTXAS_FLAGS=

  #$ rm tmp/a_dlink.reg.c

  #$ gcc -D__CUDA_ARCH_LIST__=520 -E -x c++ -D__CUDACC__ -D__NVCC__
  "-I/opt/cuda/bin/../targets/x86_64-linux/include" -D__CUDACC_VER_MAJOR__=12
  -D__CUDACC_VER_MINOR__=3 -D__CUDACC_VER_BUILD__=52
  -D__CUDA_API_VER_MAJOR__=12 -D__CUDA_API_VER_MINOR__=3
  -D__NVCC_DIAG_PRAGMA_SUPPORT__=1 -include "cuda_runtime.h" -m64
  "CMakeCUDACompilerId.cu" -o "tmp/CMakeCUDACompilerId.cpp4.ii"

  #$ cudafe++ --c++17 --gnu_version=130201 --display_error_number
  --orig_src_file_name "CMakeCUDACompilerId.cu" --orig_src_path_name
  "/tmp/tmp.7ejqaF2sAk/build/Core/CMakeFiles/3.27.7/CompilerIdCUDA/CMakeCUDACompilerId.cu"
  --allow_managed --m64 --parse_templates --gen_c_file_name
  "tmp/CMakeCUDACompilerId.cudafe1.cpp" --stub_file_name
  "CMakeCUDACompilerId.cudafe1.stub.c" --gen_module_id_file
  --module_id_file_name "tmp/CMakeCUDACompilerId.module_id"
  "tmp/CMakeCUDACompilerId.cpp4.ii"

  /usr/include/bits/floatn.h(86): error: invalid combination of type
  specifiers

    typedef __float128 _Float128;
                       ^

  

  /usr/include/bits/floatn-common.h(214): error: invalid combination of type
  specifiers

    typedef float _Float32;
                  ^

  

  /usr/include/bits/floatn-common.h(251): error: invalid combination of type
  specifiers

    typedef double _Float64;
                   ^

  

  /usr/include/bits/floatn-common.h(268): error: invalid combination of type
  specifiers

    typedef double _Float32x;
                   ^

  

  /usr/include/bits/floatn-common.h(285): error: invalid combination of type
  specifiers

    typedef long double _Float64x;
                        ^

  

  5 errors detected in the compilation of "CMakeCUDACompilerId.cu".

  # --error 0x2 --





Call Stack (most recent call first):
  /usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:8 (CMAKE_DETERMINE_COMPILER_ID_BUILD)
  /usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:53 (__determine_compiler_id_test)
  /usr/share/cmake/Modules/CMakeDetermineCUDACompiler.cmake:307 (CMAKE_DETERMINE_COMPILER_ID)
  CMakeLists.txt:2 (project)


CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
make: Makefile: No such file or directory
make: *** No rule to make target 'Makefile'.  Stop.
Core build failed
cppsrc build failed

Update 1: It seems nvcc 12.3 is not compatible with GCC 13. Looking for a workaround now. Perhaps will try installing GCC 12.

Update 2: Exporting the following works for now. Still not sure what is the fundamental issue.

export NVCC_PREPEND_FLAGS='-ccbin /usr/bin/g++-12'

Update 3: Exporting the following also works. Seems a better option than that of Update 2.

export HOST_COMPILER=/usr/bin/g++-12

or

export CUDAHOSTCXX=/usr/bin/g++-12

Last edited by GoluDholu (2023-11-02 15:43:58)

Offline

#2 2023-11-01 20:50:38

chipbuster
Member
Registered: 2012-02-22
Posts: 12

Re: [Solved] Not able to compile using nvcc

Thanks for posting this---I just got bitten by this too. Haven't touched GPU code in a year, and right before I start, I pacman -Syu right into a bug smile

In my case, I just want to get an external CMake project to build, so I can work around it by setting CMAKE_CUDA_HOST_COMPILER to clang++ (or setting the CUDAHOSTCXX environment variable to clang++), though this is not actually a fix if you need g++ as your host compiler.

Offline

#3 2023-11-01 21:25:51

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,037

Re: [Solved] Not able to compile using nvcc

GoluDholu wrote:

Update: It seems nvcc 12.3 is not compatible with GCC 13. Looking for a workaround now. Perhaps will try installing GCC 12.

 pacman -Si cuda | grep -i depend
Depends On      : opencl-nvidia  nvidia-utils  python  gcc12
$ 

Maintainer is aware of that and built cuda against gcc12 .


Both of you must be facing another issue.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#4 2023-11-01 21:54:09

loqs
Member
Registered: 2014-03-06
Posts: 18,124

Re: [Solved] Not able to compile using nvcc

Lone_Wolf wrote:

Both of you must be facing another issue.

I think it could be the gcc version and they have not specified which compiler to use such as with for cmake `-DCMAKE_C_COMPILER=gcc-12  -DCMAKE_CXX_COMPILER=g++-12` or `DCUDA_HOST_COMPILER=/usr/bin/gcc-12` or for autotools CXX=/usr/bin/g++-12 CC=/usr/bin/gcc-12

Offline

#5 2023-11-02 06:17:51

GoluDholu
Member
Registered: 2022-11-05
Posts: 27

Re: [Solved] Not able to compile using nvcc

Running the follow in the terminal worked.

export NVCC_PREPEND_FLAGS='-ccbin /usr/bin/g++-12'
loqs wrote:
Lone_Wolf wrote:

Both of you must be facing another issue.

I think it could be the gcc version and they have not specified which compiler to use such as with for cmake `-DCMAKE_C_COMPILER=gcc-12  -DCMAKE_CXX_COMPILER=g++-12` or `DCUDA_HOST_COMPILER=/usr/bin/gcc-12` or for autotools CXX=/usr/bin/g++-12 CC=/usr/bin/gcc-12

The above options did not work, although it seems to be a better way of handling this. I also tried setting the following in the terminal, which also did not work.

export CC=/usr/bin/gcc-12
export CXX=/usr/bin/g++-12

It seems that the correct version of GCC is already linked to the nvcc.

ll /opt/cuda/bin/
total 159472
drwxr-xr-x  3 root root     4096 Nov  1 03:26 ./
drwxr-xr-x 20 root root     4096 Nov  1 03:26 ../
-rwxr-xr-x  1 root root    88848 Oct 22 04:36 bin2c*
lrwxrwxrwx  1 root root        4 Oct 22 04:36 computeprof -> nvvp*
drwxr-xr-x  2 root root     4096 Nov  1 03:26 crt/
-rwxr-xr-x  1 root root  7336568 Oct 22 04:36 cudafe++*
-rwxr-xr-x  1 root root 15812648 Oct 22 04:36 cuda-gdb*
-rwxr-xr-x  1 root root   812256 Oct 22 04:36 cuda-gdbserver*
-rwxr-xr-x  1 root root    75928 Oct 22 04:36 cu++filt*
-rwxr-xr-x  1 root root   536048 Oct 22 04:36 cuobjdump*
-rwxr-xr-x  1 root root   802936 Oct 22 04:36 fatbinary*
lrwxrwxrwx  1 root root       15 Oct 22 04:36 g++ -> /usr/bin/g++-12*
lrwxrwxrwx  1 root root       15 Oct 22 04:36 gcc -> /usr/bin/gcc-12*
-rwxr-xr-x  1 root root     1580 Oct 22 04:36 nsight_ee_plugins_manage.sh*
-rwxr-xr-x  1 root root 21789096 Oct 22 04:36 nvcc*
-rwxr-xr-x  1 root root    10456 Oct 22 04:36 __nvcc_device_query*
-rw-r--r--  1 root root      417 Oct 22 04:36 nvcc.profile
-rwxr-xr-x  1 root root 50674664 Oct 22 04:36 nvdisasm*
-rwxr-xr-x  1 root root 29750584 Oct 22 04:36 nvlink*
-rwxr-xr-x  1 root root  6022464 Oct 22 04:36 nvprof*
-rwxr-xr-x  1 root root   109536 Oct 22 04:36 nvprune*
-rwxr-xr-x  1 root root      285 Oct 22 04:36 nvvp*
-rwxr-xr-x  1 root root 29425264 Oct 22 04:36 ptxas*

Offline

#6 2023-11-02 07:42:48

seth
Member
Registered: 2012-09-03
Posts: 59,771

Re: [Solved] Not able to compile using nvcc

What matters are the cmake variables, not necessarily your environment at some random point in time.
wrt the symlinks and

/opt/cuda/bin/nvcc -ccbin g++ -I…

Do you have /opt/cuda/bin in your $PATH? And where?

Online

#7 2023-11-02 07:52:32

GoluDholu
Member
Registered: 2022-11-05
Posts: 27

Re: [Solved] Not able to compile using nvcc

seth wrote:

What matters are the cmake variables, not necessarily your environment at some random point in time.

That's what I  thought that the cmake variable would suffice. However, it doesn't work in this case.

seth wrote:

Do you have /opt/cuda/bin in your $PATH? And where?

Yes, I do. In my .bashrc. echo $PATH has /opt/cuda/bin

Note: it was all working fine just before I updated the cuda package to 12.3.0-1

Offline

#8 2023-11-02 08:01:27

seth
Member
Registered: 2012-09-03
Posts: 59,771

Re: [Solved] Not able to compile using nvcc

Not where you export it, in what position opt/cuda/bin is

echo $PATH 

Online

#9 2023-11-02 08:57:07

GoluDholu
Member
Registered: 2022-11-05
Posts: 27

Re: [Solved] Not able to compile using nvcc

It is at two places for whatever reason. My ${HOME}/.local/bin is empty.

echo $PATH
/home/user/.local/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/opt/cuda/bin:/opt/cuda/nsight_compute:/opt/cuda/nsight_systems/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/opt/cuda/bin:/data/opt/gurobi1002/linux64/bin/
 
which nvcc
/opt/cuda/bin/nvcc
 

Last edited by GoluDholu (2023-11-02 08:59:42)

Offline

#10 2023-11-02 11:16:56

seth
Member
Registered: 2012-09-03
Posts: 59,771

Re: [Solved] Not able to compile using nvcc

which g++

(Rethorical, you don't have to post the result)

What does the cmake config look like?

Online

#11 2023-11-02 11:26:57

GoluDholu
Member
Registered: 2022-11-05
Posts: 27

Re: [Solved] Not able to compile using nvcc

seth wrote:

What does the cmake config look like?

The cmake config is a bit complicated as it is part of a large project.

A more concrete example is the cuda samples. make fails when compiling it.
https://github.com/NVIDIA/cuda-samples

Last edited by GoluDholu (2023-11-02 11:34:00)

Offline

#12 2023-11-02 13:22:59

seth
Member
Registered: 2012-09-03
Posts: 59,771

Re: [Solved] Not able to compile using nvcc

I meant the CMakeCache.txt - it's not gonna be /that/ big.

Online

#13 2023-11-02 13:41:24

loqs
Member
Registered: 2014-03-06
Posts: 18,124

Re: [Solved] Not able to compile using nvcc

For the cuda samples have you tried `make HOST_COMPILER=/usr/bin/g++-12`? https://github.com/NVIDIA/cuda-samples/ … lain=1#L64

Offline

#14 2023-11-02 13:43:03

chipbuster
Member
Registered: 2012-02-22
Posts: 12

Re: [Solved] Not able to compile using nvcc

Thanks, the PATH tip cleared up what was going on, though I'm wary of switching that order by default.

I've posted a GitHub repo that contains a minimal example (derived by stripping extra stuff out of this repo) as well as all the CMake build files. Available at https://github.com/chipbuster/test-dummy/tree/trunk

Link to CMakeCache.txt specifically

Offline

#15 2023-11-02 13:54:50

seth
Member
Registered: 2012-09-03
Posts: 59,771

Re: [Solved] Not able to compile using nvcc

As you can see in that file, /usr/bin/{g,}cc* are referenced by absolute path - instead of setting them in eg. ccmake you can try the HOST_COMPILER or exporting them explicitly ahead of running cmake.

Online

#16 2023-11-02 14:03:30

loqs
Member
Registered: 2014-03-06
Posts: 18,124

Re: [Solved] Not able to compile using nvcc

chipbuster wrote:

In my case, I just want to get an external CMake project to build, so I can work around it by setting CMAKE_CUDA_HOST_COMPILER to clang++ (or setting the CUDAHOSTCXX environment variable to clang++), though this is not actually a fix if you need g++ as your host compiler.

Did you ever try CUDAHOSTCXX=/usr/bin/g++-12 or CMAKE_CUDA_HOST_COMPILER=/usr/bin/g++-12 ?

Offline

#17 2023-11-02 14:42:04

chipbuster
Member
Registered: 2012-02-22
Posts: 12

Re: [Solved] Not able to compile using nvcc

Did you ever try CUDAHOSTCXX=/usr/bin/g++-12 or CMAKE_CUDA_HOST_COMPILER=/usr/bin/g++-12 ?

Yes, both of these work, though I think I'd prefer using /opt/cuda/bin/g++.

Offline

#18 2023-11-02 15:29:51

GoluDholu
Member
Registered: 2022-11-05
Posts: 27

Re: [Solved] Not able to compile using nvcc

seth wrote:

I meant the CMakeCache.txt - it's not gonna be /that/ big.

Oh! Sorry, I misunderstood.

# This is the CMakeCache file.
# For build in directory: /data/opt/workspace/build/Core
# It was generated by CMake: /usr/bin/cmake
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
# VALUE is the current value for the KEY.

########################
# EXTERNAL cache entries
########################

//Build the testing tree.
BUILD_TESTING:BOOL=OFF

//Activate the debug messages of the script FindBoost
Boost_DEBUG:BOOL=OFF

//The directory containing a CMake configuration file for Boost.
Boost_DIR:PATH=/usr/lib/cmake/Boost-1.83.0

//Path to a file.
Boost_INCLUDE_DIR:PATH=/usr/include

//Link with static Boost libraries
CGAL_Boost_USE_STATIC_LIBS:BOOL=OFF

//Setting for advanced users that what to change the default number
// types used in filtered kernels. Some options might not be working
// depending on how you configured your build.
CGAL_CMAKE_EXACT_NT_BACKEND:STRING=Default

//Display memory and real time usage at end of CTest test outputs
CGAL_CTEST_DISPLAY_MEM_AND_TIME:BOOL=OFF

//Activate the CGAL developers mode. See https://github.com/CGAL/cgal/wiki/CGAL_DEV_MODE
CGAL_DEV_MODE:BOOL=OFF

//The directory containing a CMake configuration file for CGAL.
CGAL_DIR:PATH=/usr/lib/cmake/CGAL

//If set, the ctest command will not skip the tests of the draw
// functions.
CGAL_TEST_DRAW_FUNCTIONS:BOOL=OFF

//Use CGAL with GMPXX: use C++ classes of GNU MP instead of CGAL
// wrappers
CGAL_WITH_GMPXX:BOOL=ON

//Path to a program.
CMAKE_ADDR2LINE:FILEPATH=/usr/bin/addr2line

//Path to a program.
CMAKE_AR:FILEPATH=/usr/bin/ar

//Choose the type of build, options are: None Debug Release RelWithDebInfo
// MinSizeRel ...
CMAKE_BUILD_TYPE:STRING=Release

//Enable/Disable color output during build.
CMAKE_COLOR_MAKEFILE:BOOL=ON

//CUDA architectures
CMAKE_CUDA_ARCHITECTURES:STRING=52

//CUDA compiler
CMAKE_CUDA_COMPILER:STRING=/opt/cuda/bin/nvcc

//Flags used by the CUDA compiler during all build types.
CMAKE_CUDA_FLAGS:STRING=

//Flags used by the CUDA compiler during DEBUG builds.
CMAKE_CUDA_FLAGS_DEBUG:STRING=-g

//Flags used by the CUDA compiler during MINSIZEREL builds.
CMAKE_CUDA_FLAGS_MINSIZEREL:STRING=-O1 -DNDEBUG

//Flags used by the CUDA compiler during RELEASE builds.
CMAKE_CUDA_FLAGS_RELEASE:STRING=-O3 -DNDEBUG

//Flags used by the CUDA compiler during RELWITHDEBINFO builds.
CMAKE_CUDA_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG

//No help, variable specified on the command line.
CMAKE_CXX_COMPILER:UNINITIALIZED=g++-12

//A wrapper around 'ar' adding the appropriate '--plugin' option
// for the GCC compiler
CMAKE_CXX_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar-12

//A wrapper around 'ranlib' adding the appropriate '--plugin' option
// for the GCC compiler
CMAKE_CXX_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib-12

//Flags used by the CXX compiler during all build types.
CMAKE_CXX_FLAGS:STRING=

//Flags used by the CXX compiler during DEBUG builds.
CMAKE_CXX_FLAGS_DEBUG:STRING=-g

//Flags used by the CXX compiler during MINSIZEREL builds.
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG

//Flags used by the CXX compiler during RELEASE builds.
CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG

//Flags used by the CXX compiler during RELWITHDEBINFO builds.
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG

//No help, variable specified on the command line.
CMAKE_C_COMPILER:UNINITIALIZED=gcc-12

//Path to a program.
CMAKE_DLLTOOL:FILEPATH=CMAKE_DLLTOOL-NOTFOUND

//Flags used by the linker during all build types.
CMAKE_EXE_LINKER_FLAGS:STRING=

//Flags used by the linker during DEBUG builds.
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during MINSIZEREL builds.
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during RELEASE builds.
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during RELWITHDEBINFO builds.
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//Enable/Disable output of compile commands during generation.
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=

//Value Computed by CMake.
CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=/data/opt/workspace/build/Core/CMakeFiles/pkgRedirects

//User executables (bin)
CMAKE_INSTALL_BINDIR:PATH=bin

//Read-only architecture-independent data (DATAROOTDIR)
CMAKE_INSTALL_DATADIR:PATH=

//Read-only architecture-independent data root (share)
CMAKE_INSTALL_DATAROOTDIR:PATH=share

//Documentation root (DATAROOTDIR/doc/PROJECT_NAME)
CMAKE_INSTALL_DOCDIR:PATH=

//C header files (include)
CMAKE_INSTALL_INCLUDEDIR:PATH=include

//Info documentation (DATAROOTDIR/info)
CMAKE_INSTALL_INFODIR:PATH=

//Object code libraries (lib)
CMAKE_INSTALL_LIBDIR:PATH=lib

//Program executables (libexec)
CMAKE_INSTALL_LIBEXECDIR:PATH=libexec

//Locale-dependent data (DATAROOTDIR/locale)
CMAKE_INSTALL_LOCALEDIR:PATH=

//Modifiable single-machine data (var)
CMAKE_INSTALL_LOCALSTATEDIR:PATH=var

//Man documentation (DATAROOTDIR/man)
CMAKE_INSTALL_MANDIR:PATH=

//C header files for non-gcc (/usr/include)
CMAKE_INSTALL_OLDINCLUDEDIR:PATH=/usr/include

//Install path prefix, prepended onto install directories.
CMAKE_INSTALL_PREFIX:PATH=/data/opt/workspace/install/Lib

//Run-time variable data (LOCALSTATEDIR/run)
CMAKE_INSTALL_RUNSTATEDIR:PATH=

//System admin executables (sbin)
CMAKE_INSTALL_SBINDIR:PATH=sbin

//Modifiable architecture-independent data (com)
CMAKE_INSTALL_SHAREDSTATEDIR:PATH=com

//Read-only single-machine data (etc)
CMAKE_INSTALL_SYSCONFDIR:PATH=etc

//Path to a program.
CMAKE_LINKER:FILEPATH=/usr/bin/ld

//Path to a program.
CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/make

//Flags used by the linker during the creation of modules during
// all build types.
CMAKE_MODULE_LINKER_FLAGS:STRING=

//Flags used by the linker during the creation of modules during
// DEBUG builds.
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during the creation of modules during
// MINSIZEREL builds.
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during the creation of modules during
// RELEASE builds.
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during the creation of modules during
// RELWITHDEBINFO builds.
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//Path to a program.
CMAKE_NM:FILEPATH=/usr/bin/nm

//Path to a program.
CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy

//Path to a program.
CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump

//No help, variable specified on the command line.
CMAKE_PREFIX_PATH:UNINITIALIZED=/data/opt/libtorch/

//Value Computed by CMake
CMAKE_PROJECT_DESCRIPTION:STATIC=

//Value Computed by CMake
CMAKE_PROJECT_HOMEPAGE_URL:STATIC=

//Value Computed by CMake
CMAKE_PROJECT_NAME:STATIC=Core

//Value Computed by CMake
CMAKE_PROJECT_VERSION:STATIC=0.3

//Value Computed by CMake
CMAKE_PROJECT_VERSION_MAJOR:STATIC=0

//Value Computed by CMake
CMAKE_PROJECT_VERSION_MINOR:STATIC=3

//Value Computed by CMake
CMAKE_PROJECT_VERSION_PATCH:STATIC=

//Value Computed by CMake
CMAKE_PROJECT_VERSION_TWEAK:STATIC=

//Path to a program.
CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib

//Path to a program.
CMAKE_READELF:FILEPATH=/usr/bin/readelf

//Flags used by the linker during the creation of shared libraries
// during all build types.
CMAKE_SHARED_LINKER_FLAGS:STRING=

//Flags used by the linker during the creation of shared libraries
// during DEBUG builds.
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during the creation of shared libraries
// during MINSIZEREL builds.
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during the creation of shared libraries
// during RELEASE builds.
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during the creation of shared libraries
// during RELWITHDEBINFO builds.
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//If set, runtime paths are not added when installing shared libraries,
// but are added when building.
CMAKE_SKIP_INSTALL_RPATH:BOOL=NO

//If set, runtime paths are not added when using shared libraries.
CMAKE_SKIP_RPATH:BOOL=NO

//Flags used by the linker during the creation of static libraries
// during all build types.
CMAKE_STATIC_LINKER_FLAGS:STRING=

//Flags used by the linker during the creation of static libraries
// during DEBUG builds.
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during the creation of static libraries
// during MINSIZEREL builds.
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during the creation of static libraries
// during RELEASE builds.
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during the creation of static libraries
// during RELWITHDEBINFO builds.
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//Path to a program.
CMAKE_STRIP:FILEPATH=/usr/bin/strip

//Path to a program.
CMAKE_TAPI:FILEPATH=CMAKE_TAPI-NOTFOUND

//If this value is on, makefiles will be generated without the
// .SILENT directive, and all commands will be echoed to the console
// during the make.  This is useful for debugging only. With Visual
// Studio IDE projects all commands are done without /nologo.
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE

//No help, variable specified on the command line.
CUDA_HOST_COMPILER:UNINITIALIZED=/usr/bin/g++-12

//Value Computed by CMake
Core_BINARY_DIR:STATIC=/data/opt/workspace/build/Core

//Value Computed by CMake
Core_IS_TOP_LEVEL:STATIC=ON

//Value Computed by CMake
Core_SOURCE_DIR:STATIC=/data/opt/workspace/src/Lib/cppsrc/core

//The directory containing a CMake configuration file for Eigen3.
Eigen3_DIR:PATH=/usr/share/eigen3/cmake

//The directory containing the GMPXX include files
GMPXX_INCLUDE_DIR:PATH=/usr/include

//Path to the GMPXX library
GMPXX_LIBRARIES:FILEPATH=/usr/lib/libgmpxx.so

//The directory containing the GMP header files
GMP_INCLUDE_DIR:PATH=/usr/include

//Path to the Debug GMP library
GMP_LIBRARY_DEBUG:FILEPATH=/usr/lib/libgmp.so

//Path to the Release GMP library
GMP_LIBRARY_RELEASE:FILEPATH=/lib/libgmp.so

//The directory containing a CMake configuration file for GeographicLib.
GeographicLib_DIR:PATH=/data/opt/workspace/install/Lib/lib/cmake/GeographicLib

//The directory containing the MPFR header files
MPFR_INCLUDE_DIR:PATH=/usr/include

//Path to the MPFR library
MPFR_LIBRARIES:FILEPATH=/lib/libmpfr.so

MPFR_LIBRARIES_DIR:FILEPATH=/lib

//CXX compiler flags for OpenMP parallelization
OpenMP_CXX_FLAGS:STRING=-fopenmp

//CXX compiler libraries for OpenMP parallelization
OpenMP_CXX_LIB_NAMES:STRING=gomp;pthread

//Path to the gomp library for OpenMP
OpenMP_gomp_LIBRARY:FILEPATH=/usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0/libgomp.so

//Path to the pthread library for OpenMP
OpenMP_pthread_LIBRARY:FILEPATH=/usr/lib/libpthread.a

//The directory containing a CMake configuration file for boost_headers.
boost_headers_DIR:PATH=/usr/lib/cmake/boost_headers-1.83.0

//The directory containing a CMake configuration file for yaml-cpp.
yaml-cpp_DIR:PATH=/usr/lib/cmake/yaml-cpp


########################
# INTERNAL cache entries
########################

//ADVANCED property for variable: Boost_DEBUG
Boost_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: Boost_DIR
Boost_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CGAL_Boost_USE_STATIC_LIBS
CGAL_Boost_USE_STATIC_LIBS-ADVANCED:INTERNAL=1
//STRINGS property for variable: CGAL_CMAKE_EXACT_NT_BACKEND
CGAL_CMAKE_EXACT_NT_BACKEND-STRINGS:INTERNAL=GMP_BACKEND;GMPXX_BACKEND;BOOST_GMP_BACKEND;BOOST_BACKEND;LEDA_BACKEND;MP_FLOAT_BACKEND;Default
//CGAL library is configured to use GMP
CGAL_USE_GMP:INTERNAL=TRUE
//CGAL library is configured to use MPFR
CGAL_USE_MPFR:INTERNAL=TRUE
//ADVANCED property for variable: CMAKE_ADDR2LINE
CMAKE_ADDR2LINE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_AR
CMAKE_AR-ADVANCED:INTERNAL=1
//This is the directory where this CMakeCache.txt was created
CMAKE_CACHEFILE_DIR:INTERNAL=/data/opt/workspace/build/Core
//Major version of cmake used to create the current loaded cache
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
//Minor version of cmake used to create the current loaded cache
CMAKE_CACHE_MINOR_VERSION:INTERNAL=27
//Patch version of cmake used to create the current loaded cache
CMAKE_CACHE_PATCH_VERSION:INTERNAL=7
//ADVANCED property for variable: CMAKE_COLOR_MAKEFILE
CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1
//Path to CMake executable.
CMAKE_COMMAND:INTERNAL=/usr/bin/cmake
//Path to cpack program executable.
CMAKE_CPACK_COMMAND:INTERNAL=/usr/bin/cpack
//Path to ctest program executable.
CMAKE_CTEST_COMMAND:INTERNAL=/usr/bin/ctest
//ADVANCED property for variable: CMAKE_CUDA_COMPILER
CMAKE_CUDA_COMPILER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CUDA_FLAGS
CMAKE_CUDA_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CUDA_FLAGS_DEBUG
CMAKE_CUDA_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CUDA_FLAGS_MINSIZEREL
CMAKE_CUDA_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CUDA_FLAGS_RELEASE
CMAKE_CUDA_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CUDA_FLAGS_RELWITHDEBINFO
CMAKE_CUDA_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_COMPILER
CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_COMPILER_AR
CMAKE_CXX_COMPILER_AR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_COMPILER_RANLIB
CMAKE_CXX_COMPILER_RANLIB-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS
CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_DLLTOOL
CMAKE_DLLTOOL-ADVANCED:INTERNAL=1
//Path to cache edit program executable.
CMAKE_EDIT_COMMAND:INTERNAL=/usr/bin/ccmake
//Executable file format
CMAKE_EXECUTABLE_FORMAT:INTERNAL=ELF
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
//Name of external makefile project generator.
CMAKE_EXTRA_GENERATOR:INTERNAL=
//Name of generator.
CMAKE_GENERATOR:INTERNAL=Unix Makefiles
//Generator instance identifier.
CMAKE_GENERATOR_INSTANCE:INTERNAL=
//Name of generator platform.
CMAKE_GENERATOR_PLATFORM:INTERNAL=
//Name of generator toolset.
CMAKE_GENERATOR_TOOLSET:INTERNAL=
//Test CMAKE_HAVE_LIBC_PTHREAD
CMAKE_HAVE_LIBC_PTHREAD:INTERNAL=1
//Source directory with the top level CMakeLists.txt file for this
// project
CMAKE_HOME_DIRECTORY:INTERNAL=/data/opt/workspace/src/Lib/cppsrc/core
//ADVANCED property for variable: CMAKE_INSTALL_BINDIR
CMAKE_INSTALL_BINDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_DATADIR
CMAKE_INSTALL_DATADIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_DATAROOTDIR
CMAKE_INSTALL_DATAROOTDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_DOCDIR
CMAKE_INSTALL_DOCDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_INCLUDEDIR
CMAKE_INSTALL_INCLUDEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_INFODIR
CMAKE_INSTALL_INFODIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LIBDIR
CMAKE_INSTALL_LIBDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LIBEXECDIR
CMAKE_INSTALL_LIBEXECDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LOCALEDIR
CMAKE_INSTALL_LOCALEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LOCALSTATEDIR
CMAKE_INSTALL_LOCALSTATEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_MANDIR
CMAKE_INSTALL_MANDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_OLDINCLUDEDIR
CMAKE_INSTALL_OLDINCLUDEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_RUNSTATEDIR
CMAKE_INSTALL_RUNSTATEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_SBINDIR
CMAKE_INSTALL_SBINDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_SHAREDSTATEDIR
CMAKE_INSTALL_SHAREDSTATEDIR-ADVANCED:INTERNAL=1
//Install .so files without execute permission.
CMAKE_INSTALL_SO_NO_EXE:INTERNAL=0
//ADVANCED property for variable: CMAKE_INSTALL_SYSCONFDIR
CMAKE_INSTALL_SYSCONFDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_LINKER
CMAKE_LINKER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MAKE_PROGRAM
CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_NM
CMAKE_NM-ADVANCED:INTERNAL=1
//number of local generators
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1
//ADVANCED property for variable: CMAKE_OBJCOPY
CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_OBJDUMP
CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
//Platform information initialized
CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RANLIB
CMAKE_RANLIB-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_READELF
CMAKE_READELF-ADVANCED:INTERNAL=1
//Path to CMake installation.
CMAKE_ROOT:INTERNAL=/usr/share/cmake
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_RPATH
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STRIP
CMAKE_STRIP-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_TAPI
CMAKE_TAPI-ADVANCED:INTERNAL=1
//uname command
CMAKE_UNAME:INTERNAL=/usr/bin/uname
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
//Details about finding Boost
FIND_PACKAGE_MESSAGE_DETAILS_Boost:INTERNAL=[/usr/lib/cmake/Boost-1.83.0/BoostConfig.cmake][c ][v1.83.0(1.66)]
//Details about finding GMP
FIND_PACKAGE_MESSAGE_DETAILS_GMP:INTERNAL=[/lib/libgmp.so][/usr/include][v()]
//Details about finding MPFR
FIND_PACKAGE_MESSAGE_DETAILS_MPFR:INTERNAL=[/lib/libmpfr.so][/usr/include][v()]
//Details about finding OpenMP
FIND_PACKAGE_MESSAGE_DETAILS_OpenMP:INTERNAL=[TRUE][c ][v4.5()]
//Details about finding OpenMP_CXX
FIND_PACKAGE_MESSAGE_DETAILS_OpenMP_CXX:INTERNAL=[-fopenmp][/usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0/libgomp.so][/usr/lib/libpthread.a][v4.5()]
//Details about finding Threads
FIND_PACKAGE_MESSAGE_DETAILS_Threads:INTERNAL=[TRUE][v()]
//Result of TRY_COMPILE
OpenMP_COMPILE_RESULT_CXX_fopenmp:INTERNAL=TRUE
//ADVANCED property for variable: OpenMP_CXX_FLAGS
OpenMP_CXX_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: OpenMP_CXX_LIB_NAMES
OpenMP_CXX_LIB_NAMES-ADVANCED:INTERNAL=1
//CXX compiler's OpenMP specification date
OpenMP_CXX_SPEC_DATE:INTERNAL=201511
//Result of TRY_COMPILE
OpenMP_SPECTEST_CXX_:INTERNAL=TRUE
//ADVANCED property for variable: OpenMP_gomp_LIBRARY
OpenMP_gomp_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: OpenMP_pthread_LIBRARY
OpenMP_pthread_LIBRARY-ADVANCED:INTERNAL=1
//linker supports push/pop state
_CMAKE_LINKER_PUSHPOP_STATE_SUPPORTED:INTERNAL=TRUE
//CMAKE_INSTALL_PREFIX during last run
_GNUInstallDirs_LAST_CMAKE_INSTALL_PREFIX:INTERNAL=/data/opt/workspace/install/Lib
//ADVANCED property for variable: boost_headers_DIR
boost_headers_DIR-ADVANCED:INTERNAL=1

Offline

#19 2023-11-02 15:35:48

seth
Member
Registered: 2012-09-03
Posts: 59,771

Re: [Solved] Not able to compile using nvcc

That sets everything to g*-12 and shoule™ work?

Online

#20 2023-11-02 15:45:50

GoluDholu
Member
Registered: 2022-11-05
Posts: 27

Re: [Solved] Not able to compile using nvcc

Thank you all. Doing either of the following two works.

export HOST_COMPILER=/usr/bin/g++-12
export CUDAHOSTCXX=/usr/bin/g++-12

Offline

#21 2023-11-08 17:10:53

Sausix
Member
Registered: 2020-08-03
Posts: 3

Re: [Solved] Not able to compile using nvcc

Solved? Not for me even after exporting the compiler path. What's the cause of this bug? Some upstream thing? Any bug report yet?
Affects compiling blender-git resulting in the same error output.

Offline

#22 2023-11-08 17:21:44

loqs
Member
Registered: 2014-03-06
Posts: 18,124

Re: [Solved] Not able to compile using nvcc

Offline

#23 2023-11-08 17:25:46

Sausix
Member
Registered: 2020-08-03
Posts: 3

Re: [Solved] Not able to compile using nvcc

That probably had overwritten my envs. I've linked this thread in the comments and it will be fixed soon.
Thanks and sorry for not having digged into PKGBUILD.

Offline

#24 2023-11-08 18:05:32

pobrn
Member
Registered: 2020-07-24
Posts: 2

Re: [Solved] Not able to compile using nvcc

A bit off-topic, but if someone is using the meson build system, they can pass `-D cuda_ccbindir=/opt/cuda/bin` or set it in the `default_options` of the project() call to fix this issue.

And I believe this may be an issue with nvcc because it uses both gcc 12 and gcc 13. I mentioned this on the nvidia forum: https://forums.developer.nvidia.com/t/n … g/271476/5

EDIT: It looks like I’m way too late. Based on the following comment, this has already been reported to nvidia: https://gitlab.archlinux.org/archlinux/ … cuda.sh#L5

Last edited by pobrn (2023-11-08 19:42:32)

Offline

Board footer

Powered by FluxBB