-
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
5012782
commit d3b130f
Showing
10 changed files
with
261 additions
and
95 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,122 @@ | ||
# Ad-hoc build that runs in the ECP Hardware, concretely in OLCF Ascent. | ||
.setup_env_ecpci: &setup_env_ecpci | | ||
module purge | ||
module load ${JOB_MODULES} | ||
module list | ||
export PATH="/gpfs/wolf/csc303/scratch/vbolea/ci/utils:$PATH" | ||
|
||
.ascent-common: | ||
except: | ||
- schedules | ||
tags: | ||
- batch | ||
interruptible: true | ||
variables: | ||
CCACHE_BASEDIR: "/gpfs/wolf/" | ||
CCACHE_DIR: "/gpfs/wolf/csc303/scratch/vbolea/ci/ccache" | ||
# -isystem= is not affected by CCACHE_BASEDIR, thus we must ignore it | ||
CCACHE_IGNOREOPTIONS: "-isystem=*" | ||
CCACHE_NOHASHDIR: "true" | ||
|
||
CUDAHOSTCXX: "g++" | ||
CUSTOM_CI_BUILDS_DIR: "/gpfs/wolf/csc303/scratch/vbolea/ci/vtk-m" | ||
GITLAB_SITE: "OLCF Ascent" | ||
SCHEDULER_PARAMETERS: -P CSC303 -W 1:00 -nnodes 1 -alloc_flags gpudefault | ||
before_script: | ||
- *setup_env_ecpci | ||
- ccache -z | ||
script: | ||
- bash scripts/ci/gitlab-ci/run.sh update | ||
- bash scripts/ci/gitlab-ci/run.sh configure | ||
- jsrun -n1 -a1 -g1 -c40 -bpacked:40 bash scripts/ci/gitlab-ci/run.sh build | ||
- jsrun -n1 -a1 -g1 -c2 bash scripts/ci/gitlab-ci/run.sh test | ||
after_script: | ||
- *setup_env_ecpci | ||
- bash scripts/ci/gitlab-ci/run.sh submit | ||
- ccache -s | ||
|
||
ascent-cuda: | ||
variables: | ||
# Order matters | ||
JOB_MODULES: >- | ||
DefApps | ||
zstd | ||
cuda/11.4.2 | ||
gcc/10.2.0 | ||
ninja | ||
spectrum-mpi | ||
lsf-tools | ||
libffi | ||
hdf5 | ||
cmake | ||
extends: | ||
- .ascent-common | ||
|
||
ascent-kokkos-cuda: | ||
variables: | ||
# Order matters | ||
JOB_MODULES: >- | ||
DefApps | ||
zstd | ||
cuda/11.4.2 | ||
gcc/10.2.0 | ||
ninja | ||
spectrum-mpi | ||
lsf-tools | ||
libffi | ||
hdf5 | ||
cmake | ||
KOKKOS_OPTS: >- | ||
-DKokkos_ARCH_POWER9=ON | ||
-DKokkos_ARCH_VOLTA70=ON | ||
-DKokkos_ENABLE_CUDA=ON | ||
-DKokkos_ENABLE_CUDA_LAMBDA=ON | ||
-DCMAKE_INSTALL_PREFIX:PATH=$CI_BUILDS_DIR/kokkos_install | ||
Kokkos_DIR: $CI_BUILDS_DIR/kokkos_install | ||
before_script: | ||
- *setup_env_ecpci | ||
- ccache -z | ||
- .gitlab/kokkos.sh "$CI_BUILDS_DIR" "3.7.01" $KOKKOS_OPTS | ||
extends: | ||
- .ascent-common | ||
|
||
ascent-nvhpc: | ||
variables: | ||
# Order matters | ||
JOB_MODULES: >- | ||
DefApps | ||
zstd | ||
nvhpc | ||
spectrum-mpi | ||
lsf-tools | ||
libffi | ||
hdf5 | ||
cmake | ||
extends: | ||
- .ascent-common | ||
|
||
ascent-xl: | ||
variables: | ||
# Order matters | ||
JOB_MODULES: >- | ||
DefApps | ||
zstd | ||
cuda/11.4.2 | ||
xl | ||
ninja | ||
spectrum-mpi | ||
lsf-tools | ||
libffi | ||
hdf5 | ||
cmake | ||
extends: | ||
- .ascent-common | ||
|
||
sync-github-prs: | ||
tags: | ||
- nobatch | ||
only: | ||
- schedules | ||
script: | ||
- scripts/ci/scripts/github-prs-to-gitlab.sh ornladios/adios2 code.ornl.gov ecpcitest/adios2 |
This file was deleted.
Oops, something went wrong.
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 @@ | ||
#!/usr/bin/env bash | ||
set -x | ||
|
||
WORKDIR="$1" | ||
VERSION="$2" | ||
|
||
shift 2 | ||
|
||
if [ ! -d "$WORKDIR" ] || [ -z "$VERSION" ] | ||
then | ||
echo "[E] missing args: Invoke as .gitlab/ci/config/kokkos.sh <WORKDIR> <VERSION> [extra_args]" | ||
exit 1 | ||
fi | ||
|
||
# Build and install Kokkos | ||
curl -L "https://github.com/kokkos/kokkos/archive/refs/tags/$VERSION.tar.gz" \ | ||
| tar -C "$WORKDIR" -xzf - | ||
|
||
cmake -S "$WORKDIR/kokkos-$VERSION" -B "$WORKDIR/kokkos_build" \ | ||
"-DBUILD_SHARED_LIBS=ON" \ | ||
"-DCMAKE_BUILD_TYPE:STRING=release" \ | ||
"-DCMAKE_CXX_COMPILER_LAUNCHER=ccache" \ | ||
"-DCMAKE_CXX_STANDARD:STRING=17" \ | ||
"-DCMAKE_CXX_EXTENSIONS:BOOL=OFF" \ | ||
"-DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=ON" \ | ||
"-DCMAKE_CXX_COMPILER:STRING=$WORKDIR/kokkos-$VERSION/bin/nvcc_wrapper" \ | ||
$* | ||
|
||
cmake --build "$WORKDIR/kokkos_build" | ||
cmake --install "$WORKDIR/kokkos_build" |
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,27 @@ | ||
# Client maintainer: [email protected] | ||
|
||
set(dashboard_cache " | ||
ADIOS2_USE_BZip2:BOOL=OFF | ||
ADIOS2_USE_CUDA:BOOL=ON | ||
ADIOS2_USE_DataMan:BOOL=ON | ||
ADIOS2_USE_Fortran:BOOL=ON | ||
ADIOS2_USE_MPI:BOOL=OFF | ||
ADIOS2_USE_PNG:BOOL=OFF | ||
ADIOS2_USE_Python:BOOL=OFF | ||
ADIOS2_USE_SST:BOOL=ON | ||
CMAKE_C_COMPILER_LAUNCHER=ccache | ||
CMAKE_CXX_COMPILER_LAUNCHER=ccache | ||
CMAKE_CUDA_COMPILER_LAUNCHER=ccache | ||
CMAKE_DISABLE_FIND_PACKAGE_BISON=ON | ||
CMAKE_DISABLE_FIND_PACKAGE_FLEX=ON | ||
CMAKE_Fortran_FLAGS:STRING=-Wall | ||
") | ||
|
||
set(CTEST_TEST_ARGS | ||
PARALLEL_LEVEL 8 | ||
EXCLUDE ".*/BPWRCUDA.ADIOS2BPCUDAWrong/.*BP4.Serial|.*/BPWRCUDA.ADIOS2BPCUDAMemSel/.*BP4.Serial" | ||
) | ||
set(CTEST_CMAKE_GENERATOR "Ninja") | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Client maintainer: [email protected] | ||
|
||
set(kokkos_install_path $ENV{Kokkos_DIR}) | ||
|
||
#Kokkos_COMPILE_LAUNCHER=${kokkos_install_path}/bin/kokkos_launch_compiler | ||
#Kokkos_NVCC_WRAPPER=${kokkos_install_path}/bin/nvcc_wrapper | ||
set(ENV{CC} gcc) | ||
set(ENV{CXX} g++) | ||
set(ENV{FC} gfortran) | ||
|
||
set(dashboard_cache " | ||
ADIOS2_USE_BZip2:BOOL=OFF | ||
ADIOS2_USE_DataMan:BOOL=ON | ||
ADIOS2_USE_Fortran:BOOL=OFF | ||
ADIOS2_USE_MPI:BOOL=OFF | ||
ADIOS2_USE_PNG:BOOL=OFF | ||
ADIOS2_USE_Python:BOOL=OFF | ||
ADIOS2_USE_SST:BOOL=ON | ||
ADIOS2_USE_Kokkos=ON | ||
CMAKE_C_COMPILER_LAUNCHER=ccache | ||
CMAKE_CXX_COMPILER_LAUNCHER=ccache | ||
CMAKE_CUDA_COMPILER_LAUNCHER=ccache | ||
CMAKE_DISABLE_FIND_PACKAGE_BISON=ON | ||
CMAKE_DISABLE_FIND_PACKAGE_FLEX=ON | ||
") | ||
|
||
set(CTEST_TEST_ARGS | ||
PARALLEL_LEVEL 8 | ||
EXCLUDE ".*/BPWRCUDA.ADIOS2BPCUDAWrong/.*BP4.Serial|.*/BPWRCUDA.ADIOS2BPCUDAMemSel/.*BP4.Serial|Engine.Staging.TestThreads.*" | ||
) | ||
set(CTEST_CMAKE_GENERATOR "Ninja") | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Client maintainer: [email protected] | ||
|
||
set(ENV{CC} nvc) | ||
set(ENV{CXX} nvc++) | ||
set(ENV{FC} nvfortran) | ||
|
||
set(dashboard_cache " | ||
ADIOS2_USE_BZip2:BOOL=OFF | ||
ADIOS2_USE_CUDA:BOOL=ON | ||
ADIOS2_USE_DataMan:BOOL=ON | ||
ADIOS2_USE_Fortran:BOOL=ON | ||
ADIOS2_USE_MPI:BOOL=OFF | ||
ADIOS2_USE_PNG:BOOL=OFF | ||
ADIOS2_USE_Python:BOOL=OFF | ||
ADIOS2_USE_SST:BOOL=ON | ||
CMAKE_C_COMPILER_LAUNCHER=ccache | ||
CMAKE_CXX_COMPILER_LAUNCHER=ccache | ||
CMAKE_DISABLE_FIND_PACKAGE_BISON=ON | ||
CMAKE_DISABLE_FIND_PACKAGE_FLEX=ON | ||
CMAKE_NINJA_FORCE_RESPONSE_FILE=OFF | ||
") | ||
|
||
set(CTEST_TEST_ARGS | ||
PARALLEL_LEVEL 8 | ||
EXCLUDE ".*/BPWRCUDA.ADIOS2BPCUDAWrong/.*BP4.Serial|.*/BPWRCUDA.ADIOS2BPCUDAMemSel/.*BP4.Serial|Install.*Fortran" | ||
) | ||
set(CTEST_CMAKE_GENERATOR "Unix Makefiles") | ||
list(APPEND CTEST_UPDATE_NOTES_FILES "${CMAKE_CURRENT_LIST_FILE}") | ||
include(${CMAKE_CURRENT_LIST_DIR}/ci-common.cmake) |
30 changes: 12 additions & 18 deletions
30
scripts/ci/cmake/ci-ascent-xl.cmake → scripts/ci/cmake-v2/ci-ascent-xl.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,30 @@ | ||
# Client maintainer: [email protected] | ||
|
||
find_package(EnvModules REQUIRED) | ||
|
||
env_module(purge) | ||
env_module(load git) | ||
env_module(load xl) | ||
env_module(load hdf5) | ||
env_module(load libfabric) | ||
env_module(load python/3.7.0) | ||
env_module(load zfp) | ||
env_module(load zeromq) | ||
# Client maintainer: [email protected] | ||
|
||
set(ENV{CC} xlc) | ||
set(ENV{CXX} xlc++) | ||
set(ENV{FC} xlf) | ||
|
||
set(dashboard_cache " | ||
ADIOS2_USE_BZip2:BOOL=OFF | ||
ADIOS2_USE_Blosc:BOOL=OFF | ||
ADIOS2_USE_DataMan:BOOL=ON | ||
ADIOS2_USE_Fortran:BOOL=ON | ||
ADIOS2_USE_HDF5:BOOL=ON | ||
ADIOS2_USE_Fortran:BOOL=OFF | ||
ADIOS2_USE_MPI:BOOL=OFF | ||
ADIOS2_USE_PNG:BOOL=OFF | ||
ADIOS2_USE_Python:BOOL=OFF | ||
ADIOS2_USE_SST:BOOL=ON | ||
ADIOS2_USE_SZ:BOOL=OFF | ||
ADIOS2_USE_ZeroMQ:STRING=ON | ||
ADIOS2_USE_ZeroMQ:STRING=OFF | ||
ADIOS2_USE_ZFP:BOOL=OFF | ||
ADIOS2_USE_SZ:BOOL=OFF | ||
ADIOS2_USE_Blosc:BOOL=OFF | ||
CMAKE_C_COMPILER_LAUNCHER=ccache | ||
CMAKE_CXX_COMPILER_LAUNCHER=ccache | ||
CMAKE_DISABLE_FIND_PACKAGE_BISON=ON | ||
CMAKE_DISABLE_FIND_PACKAGE_FLEX=ON | ||
") | ||
|
||
set(NCPUS 4) | ||
set(CTEST_TEST_ARGS PARALLEL_LEVEL 8) | ||
set(CTEST_CMAKE_GENERATOR "Unix Makefiles") | ||
set(CTEST_CMAKE_GENERATOR "Ninja") | ||
list(APPEND CTEST_UPDATE_NOTES_FILES "${CMAKE_CURRENT_LIST_FILE}") | ||
include(${CMAKE_CURRENT_LIST_DIR}/ci-common.cmake) |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.