-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Alehouse host config file for GPU-only build (#457)
- Loading branch information
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Copyright 2019-2023 Lawrence Livermore National Security, LLC and other | ||
# Variorum Project Developers. See the top-level LICENSE file for details. | ||
# | ||
# SPDX-License-Identifier: MIT | ||
|
||
# c compiler | ||
set(CMAKE_C_COMPILER "gcc" CACHE PATH "") | ||
|
||
# cpp compiler | ||
set(CMAKE_CXX_COMPILER "g++" CACHE PATH "") | ||
|
||
# fortran compiler | ||
set(CMAKE_Fortran_COMPILER "gfortran" CACHE PATH "") | ||
|
||
set(ENABLE_MPI OFF CACHE BOOL "") | ||
set(ENABLE_OPENMP OFF CACHE BOOL "") | ||
|
||
set(BUILD_DOCS OFF CACHE BOOL "") | ||
set(BUILD_TESTS OFF CACHE BOOL "") | ||
|
||
set(VARIORUM_WITH_AMD_CPU OFF CACHE BOOL "") | ||
set(VARIORUM_WITH_AMD_GPU OFF CACHE BOOL "") | ||
set(VARIORUM_WITH_ARM_CPU OFF CACHE BOOL "") | ||
set(VARIORUM_WITH_IBM_CPU OFF CACHE BOOL "") | ||
set(VARIORUM_WITH_INTEL_CPU OFF CACHE BOOL "") | ||
set(VARIORUM_WITH_NVIDIA_GPU ON CACHE BOOL "") | ||
|
||
set(CMAKE_SHARED_LINKER_FLAGS "-L/usr/lib64/ -lnvidia-ml" CACHE PATH "") | ||
|
||
# path to global hwloc install | ||
set(HWLOC_DIR "/usr/local/share/hwloc-1.11.7-install" CACHE PATH "") | ||
|
||
# path to global jansson install | ||
set(JANSSON_DIR "/usr/local/share/jansson-2.6-install" CACHE PATH "") | ||
|
||
set(NVML_DIR "/usr/lib64" CACHE PATH "") | ||
set(NVML_INCLUDE_DIRS "/usr/local/cuda-12.0/targets/ppc64le-linux/include" CACHE PATH "") |