-
Notifications
You must be signed in to change notification settings - Fork 125
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
696b9d5
commit a571251
Showing
12 changed files
with
356 additions
and
122 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,130 @@ | ||
# 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/adios2" | ||
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 | ||
git | ||
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 | ||
git | ||
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 | ||
git | ||
spectrum-mpi | ||
lsf-tools | ||
libffi | ||
hdf5 | ||
cmake | ||
extends: | ||
- .ascent-common | ||
|
||
ascent-xl: | ||
variables: | ||
# Order matters | ||
JOB_MODULES: >- | ||
DefApps | ||
zstd | ||
cuda/11.4.2 | ||
git | ||
xl | ||
ninja | ||
spectrum-mpi | ||
lsf-tools | ||
libffi | ||
hdf5 | ||
cmake | ||
extends: | ||
- .ascent-common | ||
|
||
sync-github-prs: | ||
tags: | ||
- nobatch | ||
only: | ||
- schedules | ||
variables: | ||
GIT_STRATEGY: none | ||
CUSTOM_CI_BUILDS_DIR: "/gpfs/wolf/csc303/scratch/vbolea/ci/adios2" | ||
script: | ||
- export PATH="/gpfs/wolf/csc303/scratch/vbolea/ci/utils:$PATH" | ||
- SpackCIBridge.py ornladios/ADIOS2 git@code.ornl.gov:ecpcitest/adios2.git https://code.ornl.gov/ ecpcitest/adios2 --prereq-check=format --prereq-check=git_checks |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
scripts/ci/azure/linux-setup.sh | ||
scripts/ci/azure/macos-setup.sh | ||
scripts/ci/azure/run.sh | ||
scripts/ci/circle/postCDashStatus.sh | ||
scripts/ci/circle/run.sh | ||
scripts/ci/gh-actions/check-branch-name.sh | ||
scripts/ci/gh-actions/get-changed-files.sh | ||
scripts/ci/gh-actions/linux-setup.sh | ||
scripts/ci/gh-actions/macos-setup.sh | ||
scripts/ci/gh-actions/run.sh | ||
scripts/ci/images-v2/build-base.sh | ||
scripts/ci/images-v2/build-clang-base.sh | ||
scripts/ci/images-v2/build-clang.sh | ||
scripts/ci/images-v2/build-cuda.sh | ||
scripts/ci/images-v2/build-functions.sh | ||
scripts/ci/images-v2/build-gcc-base.sh | ||
scripts/ci/images-v2/build-gcc.sh | ||
scripts/ci/images-v2/build-intel-base.sh | ||
scripts/ci/images-v2/build-intel.sh | ||
scripts/ci/images-v2/build-mpich.sh | ||
scripts/ci/images-v2/build-nvhpc.sh | ||
scripts/ci/images-v2/build.sh | ||
scripts/ci/images/build-emu-power8-image.sh | ||
scripts/ci/images/build-native-images.sh | ||
scripts/ci/images/emu-el7/entrypoint.sh | ||
scripts/ci/images/emu-el7/qemu-binfmt-conf.sh | ||
scripts/ci/images/emu-el7/register.sh | ||
scripts/ci/scripts/github-prs-to-gitlab.sh | ||
scripts/ci/scripts/run-clang-format.sh | ||
scripts/ci/scripts/run-flake8.sh | ||
scripts/ci/setup-run/ci-el8-gcc10.sh | ||
scripts/ci/setup-run/ci-el8-gcc11.sh | ||
scripts/ci/setup-run/ci-el8-gcc9.sh | ||
scripts/ci/setup-run/ci-el8-icc.sh | ||
scripts/ci/setup-run/ci-el8-nvhpc222-mpi.sh | ||
scripts/ci/setup-run/ci-el8-nvhpc222.sh | ||
scripts/ci/setup-run/ci-el8-oneapi.sh | ||
scripts/ci/setup/ci-power8-el7-xl-serial.sh | ||
scripts/dashboard/nightly/aaargh.sh | ||
scripts/dashboard/nightly/cori.sh | ||
scripts/dashboard/nightly/summitdev.sh | ||
scripts/developer/git/setup-aliases | ||
scripts/developer/git/setup-hooks | ||
scripts/developer/git/setup-remotes | ||
scripts/developer/merge-pr-from-release.sh | ||
scripts/developer/setup.sh | ||
scripts/docker/setup-user.sh | ||
scripts/runconf/runconf.sh | ||
scripts/runconf/runconf_olcf.sh | ||
scripts/travis/run-docker.sh | ||
scripts/travis/run-format.sh | ||
scripts/travis/run.sh |
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: vicente.bolea@kitware.com | ||
|
||
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,32 @@ | ||
# Client maintainer: vicente.bolea@kitware.com | ||
|
||
set(kokkos_install_path $ENV{Kokkos_DIR}) | ||
|
||
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: vicente.bolea@kitware.com | ||
|
||
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) |
Oops, something went wrong.