-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9431745
commit 7c05bda
Showing
6 changed files
with
112 additions
and
12 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
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,30 @@ | ||
# Client maintainer: [email protected] | ||
|
||
include(ProcessorCount) | ||
ProcessorCount(NCPUS) | ||
math(EXPR N2CPUS "${NCPUS}*2") | ||
|
||
set(ENV{CC} gcc) | ||
set(ENV{CXX} g++) | ||
set(ENV{FC} gfortran) | ||
|
||
set(dashboard_cache " | ||
ADIOS2_USE_BZip2:BOOL=ON | ||
ADIOS2_USE_Blosc:BOOL=ON | ||
ADIOS2_USE_DataMan:BOOL=ON | ||
ADIOS2_USE_Fortran:BOOL=ON | ||
ADIOS2_USE_HDF5:BOOL=ON | ||
ADIOS2_USE_Python:BOOL=ON | ||
ADIOS2_USE_SZ:BOOL=ON | ||
ADIOS2_USE_ZeroMQ:STRING=ON | ||
ADIOS2_USE_ZFP:BOOL=ON | ||
ADIOS2_USE_CUDA:BOOL=ON | ||
CMAKE_C_FLAGS:STRING=-Wall | ||
CMAKE_CXX_FLAGS:STRING=-Wall | ||
CMAKE_Fortran_FLAGS:STRING=-Wall | ||
") | ||
|
||
set(CTEST_TEST_ARGS PARALLEL_LEVEL ${NCPUS}) | ||
set(CTEST_CMAKE_GENERATOR "Unix Makefiles") | ||
list(APPEND CTEST_UPDATE_NOTES_FILES "${CMAKE_CURRENT_LIST_FILE}") | ||
include(${CMAKE_CURRENT_LIST_DIR}/ci-common.cmake) |
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
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
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,39 @@ | ||
#!/bin/bash | ||
set +e | ||
|
||
BASE_DIR=$(dirname $(readlink -f ${BASH_SOURCE})) | ||
source "${BASE_DIR}/build-functions.sh" | ||
|
||
message1 "Building ci-spack-el8 base image" | ||
if ! build_squash \ | ||
nvidia/cuda:11.7.0-devel-rockylinux8 \ | ||
ornladios/adios2:ci-spack-el8-cuda-base \ | ||
Dockerfile.ci-spack-el8-base \ | ||
"--build-arg=BASE_IMAGE=nvidia/cuda:11.7.0-devel-rockylinux8" | ||
then | ||
echo "Error: Failed to build ci-spack-el8 base image" | ||
exit 3 | ||
fi | ||
|
||
message1 "Building ci-spack-el8 gcc8 base image" | ||
if ! build_squash \ | ||
ornladios/adios2:ci-spack-el8-cuda-base \ | ||
ornladios/adios2:ci-spack-el8-cuda-gcc8-base \ | ||
Dockerfile.ci-spack-el8-gcc8-base \ | ||
"--build-arg=BASE_IMAGE=ornladios/adios2:ci-spack-el8-cuda-base" | ||
then | ||
echo "Error: Failed to build ci-spack-el8 leaf image" | ||
exit 3 | ||
fi | ||
|
||
message1 "Building ci-spack-el8 leaf image" | ||
build_conf=cuda-gcc8 | ||
if ! build_squash \ | ||
ornladios/adios2:ci-spack-el8-cuda-gcc8-base \ | ||
ornladios/adios2:ci-spack-el8-cuda-serial \ | ||
Dockerfile.ci-spack-el8-leaf \ | ||
"--build-arg=COMPILER_IMG_BASE=${build_conf} --build-arg=COMPILER_SPACK_ID=gcc --build-arg=CUDA_VARIANT=+cuda" | ||
then | ||
echo "Error: Failed to build ci-spack-el8 leaf image" | ||
exit 3 | ||
fi |
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,8 @@ | ||
#!/usr/bin/env bash | ||
|
||
source /opt/spack/share/spack/setup-env.sh | ||
|
||
# External CUDA is erroneously treated as a module, in no CUDA builds this is no-op | ||
find $SPACK_ROOT/share/spack/modules -type f -exec sed -i '/module load cuda/d' {} \; | ||
|
||
echo 'export LD_LIBRARY_PATH=/usr/local/cuda/compat/:$LD_LIBRARY_PATH' >> /etc/profile.d/zz-adios2-ci-env.sh |