C language must be enabled in order to install GauXC, otherwise the following error occur:
`root@a400f371d43c:/SCF# cmake -GNinja -H. -Bbuild -DCMAKE_TOOLCHAIN_FILE="${toolchain_file}" -DCMAKE_INSTALL_PREFIX=${INSTALL_PATH}
-- Attempting to find installed simde
-- Found MPI: TRUE (found version "3.1") found components: CXX
-- simde installation found
-- Attempting to find installed gauxc
-- Found OpenMP: TRUE (found version "4.5")
-- Performing Test BLAS_LOWER_UNDERSCORE
CMake Error at /install/lib/cmake/gauxc/linalg-cmake-modules/util/CommonFunctions.cmake:156 (try_compile):
Unknown extension ".c" for file
/install/lib/cmake/gauxc/linalg-cmake-modules/util/func_check.c
try_compile() works only for enabled languages. Currently these are:
CXX NONE
See project() command to enable other languages.
Call Stack (most recent call first):
/install/lib/cmake/gauxc/linalg-cmake-modules/util/CommonFunctions.cmake:241 (check_function_exists_w_results)
/install/lib/cmake/gauxc/linalg-cmake-modules/FindBLAS.cmake:85 (check_fortran_functions_exist)
/usr/bin/cmake/share/cmake-3.21/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
/install/lib/cmake/gauxc/gauxc-config.cmake:27 (find_dependency)
build/_deps/cmaize-src/cmake/cmaize/package_managers/cmake/dependency/dependency_class.cmake:113 (find_package)
build/cmakepp/fxn_calls/_cpp_dependency_find_dependency_dependency_desc__cpp_0cncj_1694708641.cmake:1 (cpp_dependency_find_dependency_dependency_desc)
build/_deps/cmakepp_lang-src/cmake/cmakepp_lang/utilities/call_fxn.cmake:77 (include)
build/_deps/cmakepp_lang-src/cmake/cmakepp_lang/object/call.cmake:125 (cpp_call_fxn)
build/_deps/cmakepp_lang-src/cmake/cmakepp_lang/object/object.cmake:56 (_cpp_object_call)
build/cmakepp/classes/Dependency.cmake:40 (_cpp_object)
build/_deps/cmaize-src/cmake/cmaize/package_managers/cmake/cmake_package_manager.cmake:182 (Dependency)
build/cmakepp/fxn_calls/_cpp_cmakepackagemanager_find_installed_cmakepackagemanager_desc_packagespecification_args__cpp_zluai_1694708641.cmake:1 (cpp_cmakepackagemanager_find_installed_cmakepackagemanager_desc_packagespecification_args)
build/_deps/cmakepp_lang-src/cmake/cmakepp_lang/utilities/call_fxn.cmake:77 (include)
build/_deps/cmakepp_lang-src/cmake/cmakepp_lang/object/call.cmake:125 (cpp_call_fxn)
build/_deps/cmakepp_lang-src/cmake/cmakepp_lang/object/object.cmake:56 (_cpp_object_call)
build/cmakepp/classes/CMakePackageManager.cmake:40 (_cpp_object)
build/_deps/cmaize-src/cmake/cmaize/user_api/find_or_build_dependency.cmake:128 (CMakePackageManager)
build/_deps/cmaize-src/cmake/cmaize/user_api/find_or_build_dependency.cmake:77 (cmaize_find_or_build_dependency_cmake)
CMakeLists.txt:58 (cmaize_find_or_build_dependency)
CMake Error at /install/lib/cmake/gauxc/linalg-cmake-modules/util/CommonFunctions.cmake:156 (try_compile):
Unknown extension ".c" for file
/install/lib/cmake/gauxc/linalg-cmake-modules/util/func_check.c
try_compile() works only for enabled languages. Currently these are:
CXX NONE
See project() command to enable other languages.
......
-- Attempting to fetch and build gauxc
-- GauXC Enabling OpenMP
-- Found OpenMP: TRUE (found version "4.5")
-- GauXC Enabling MPI
-- Found MPI: TRUE (found version "3.1")
-- Performing Test BLAS_LOWER_UNDERSCORE
-- Performing Test BLAS_LOWER_UNDERSCORE -- not found
-- Performing Test BLAS_LOWER_NO_UNDERSCORE
-- Performing Test BLAS_LOWER_NO_UNDERSCORE -- not found
-- Performing Test BLAS_UPPER_UNDERSCORE
-- Performing Test BLAS_UPPER_UNDERSCORE -- not found
-- Performing Test BLAS_UPPER_NO_UNDERSCORE
-- Performing Test BLAS_UPPER_NO_UNDERSCORE -- not found
CMake Error at /usr/bin/cmake/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find BLAS (missing: BLAS_LINK_OK)
Call Stack (most recent call first):
/usr/bin/cmake/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
build/_deps/linalg-cmake-modules-src/FindBLAS.cmake:119 (find_package_handle_standard_args)
build/_deps/gauxc-src/src/xc_integrator/local_work_driver/host/CMakeLists.txt:8 (find_package)
-- Configuring incomplete, errors occurred!`