-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #478 from LLNL/v0.4.0-rc
0.4.0 rc
- Loading branch information
Showing
162 changed files
with
5,722 additions
and
1,540 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,50 @@ | ||
############################################################################## | ||
# Copyright (c) 2017-2021, Lawrence Livermore National Security, LLC and BLT | ||
# project contributors. See the LICENSE file for details. | ||
############################################################################## | ||
|
||
variables: | ||
PROJECT_ALLOC_NAME: ${CI_PROJECT_NAME}_ci_${CI_PIPELINE_ID} | ||
BUILD_ROOT: ${CI_PROJECT_DIR} | ||
|
||
stages: | ||
- l_build | ||
- q_allocate_resources | ||
- q_build | ||
- q_release_resources | ||
|
||
#### | ||
# Template | ||
.srun_build_script: | ||
script: | ||
#Use pre-existing allocation if any | ||
- JOBID=$(squeue -h --name=${PROJECT_ALLOC_NAME} --format=%A) | ||
- ASSIGN_ID=$(if [[ -n "${JOBID}" ]]; then echo "--jobid=${JOBID}"; fi) | ||
- EXEC_PREFIX="srun -p pdebug ${ASSIGN_ID} -t 10 -N 1 --mpibind=off" | ||
#BUILD + TEST | ||
- echo -e "section_start:$(date +%s):build_and_test\r\e[0K | ||
Build and test ${CI_PROJECT_NAME}" | ||
- ${EXEC_PREFIX} .gitlab/build_and_test.sh | ||
- echo -e "section_end:$(date +%s):build_and_test\r\e[0K" | ||
artifacts: | ||
reports: | ||
junit: build/junit.xml | ||
|
||
|
||
.build_blueos_3_ppc64le_ib_p9_script: | ||
script: | ||
- EXEC_PREFIX="lalloc 1 -W 10 -q pdebug" | ||
#BUILD + TEST | ||
- echo -e "section_start:$(date +%s):build_and_test\r\e[0K | ||
Build and test ${CI_PROJECT_NAME}" | ||
- ${EXEC_PREFIX} .gitlab/build_and_test.sh | ||
- echo -e "section_end:$(date +%s):build_and_test\r\e[0K" | ||
artifacts: | ||
reports: | ||
junit: build/junit.xml | ||
|
||
|
||
# This is where jobs are included | ||
include: | ||
- local: .gitlab/build_quartz.yml | ||
- local: .gitlab/build_lassen.yml |
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,24 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
BUILD_DIR=`pwd`/build | ||
|
||
echo "~~~~~~~~~~ START:build_and_test.sh ~~~~~~~~~~~" | ||
echo "CWD="`pwd` | ||
echo "BUILD_DIR="$BUILD_DIR | ||
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" | ||
|
||
rm -rf $BUILD_DIR | ||
mkdir $BUILD_DIR | ||
cd $BUILD_DIR | ||
|
||
cmake -C ../host-configs/llnl/$SYS_TYPE/$HOST_CONFIG ../tests/internal | ||
make -j8 | ||
ctest -DCTEST_OUTPUT_ON_FAILURE=1 --no-compress-output -T Test -VV | ||
xsltproc -o junit.xml ../tests/ctest-to-junit.xsl Testing/*/Test.xml | ||
|
||
echo "~~~~~~~~~~ END:build_and_test.sh ~~~~~~~~~~~~~" | ||
echo "CWD="`pwd` | ||
echo "BUILD_DIR="$BUILD_DIR | ||
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" |
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 @@ | ||
#### | ||
# This is the share configuration of jobs for lassen | ||
.on_lassen: | ||
variables: | ||
tags: | ||
- shell | ||
- lassen | ||
rules: | ||
- if: '$CI_COMMIT_BRANCH =~ /_lnone/ || $ON_LASSEN == "OFF"' #run except if ... | ||
when: never | ||
- when: on_success | ||
|
||
#### | ||
# Load required modules | ||
.with_cuda: | ||
before_script: | ||
- module load cmake/3.18.0 | ||
- module load cuda/11.1.1 | ||
|
||
#### | ||
# Template | ||
.build_on_lassen: | ||
stage: l_build | ||
extends: [.build_blueos_3_ppc64le_ib_p9_script, .on_lassen] | ||
needs: [] | ||
|
||
#### | ||
# Build jobs | ||
clang_upstream_link_with_nvcc (lassen): | ||
variables: | ||
HOST_CONFIG: "clang@upstream_link_with_nvcc.cmake" | ||
extends: [.build_on_lassen, .with_cuda] | ||
|
||
clang_upstream_nvcc_c++17 (lassen): | ||
variables: | ||
HOST_CONFIG: "clang@upstream_nvcc_c++17.cmake" | ||
extends: [.build_on_lassen, .with_cuda] | ||
|
||
clang_upstream_nvcc_c++17_no_separable (lassen): | ||
variables: | ||
HOST_CONFIG: "clang@upstream_nvcc_c++17_no_separable.cmake" | ||
extends: [.build_on_lassen, .with_cuda] | ||
|
||
clang_upstream_nvcc_xlf (lassen): | ||
variables: | ||
HOST_CONFIG: "clang@upstream_nvcc_xlf.cmake" | ||
extends: [.build_on_lassen, .with_cuda] | ||
|
||
pgi_20.4_nvcc (lassen): | ||
variables: | ||
HOST_CONFIG: "pgi@20.4_nvcc.cmake" | ||
extends: [.build_on_lassen, .with_cuda] |
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,63 @@ | ||
#### | ||
# This is the share configuration of jobs for quartz | ||
.on_quartz: | ||
tags: | ||
- shell | ||
- quartz | ||
rules: | ||
- if: '$CI_COMMIT_BRANCH =~ /_qnone/ || $ON_QUARTZ == "OFF"' #run except if ... | ||
when: never | ||
- if: '$CI_JOB_NAME =~ /release_resources/' | ||
when: always | ||
- when: on_success | ||
|
||
#### | ||
# In pre-build phase, allocate a node for builds | ||
allocate_resources_build_quartz: | ||
variables: | ||
GIT_STRATEGY: none | ||
extends: [.on_quartz] | ||
stage: q_allocate_resources | ||
script: | ||
- salloc -p pdebug -N 1 -c 36 -t 30 --no-shell --job-name=${PROJECT_ALLOC_NAME} --mpibind=off | ||
needs: [] | ||
|
||
#### | ||
# In post-build phase, deallocate resources | ||
# Note : make sure this is run even on build phase failure | ||
release_resources_build_quartz: | ||
variables: | ||
GIT_STRATEGY: none | ||
extends: [.on_quartz] | ||
stage: q_release_resources | ||
script: | ||
- export JOBID=$(squeue -h --name=${PROJECT_ALLOC_NAME} --format=%A) | ||
- if [[ -n "${JOBID}" ]]; then scancel ${JOBID}; fi | ||
|
||
#### | ||
# Template | ||
.build_on_quartz: | ||
stage: q_build | ||
extends: [.srun_build_script, .on_quartz] | ||
|
||
#### | ||
# Build jobs | ||
clang_4_0_0_libcxx (quartz): | ||
variables: | ||
HOST_CONFIG: "clang@4.0.0-libcxx.cmake" | ||
extends: [.build_on_quartz] | ||
|
||
clang_6_0_0_static_analysis (quartz): | ||
variables: | ||
HOST_CONFIG: "clang@6.0.0-static-analysis.cmake" | ||
extends: [.build_on_quartz] | ||
|
||
gcc_8_3_1 (quartz): | ||
variables: | ||
HOST_CONFIG: "gcc@8.3.1.cmake" | ||
extends: [.build_on_quartz] | ||
|
||
pgi_20_1 (quartz): | ||
variables: | ||
HOST_CONFIG: "pgi@20.1.cmake" | ||
extends: [.build_on_quartz] |
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,10 +1,24 @@ | ||
George Zagaris <zagaris2@llnl.gov> George Zagaris <george.zagaris@gmail.com> | ||
Kenneth Weiss <kweiss@llnl.gov> Kenneth Weiss <weiss27@llnl.gov> | ||
Kenneth Weiss <kweiss@llnl.gov> Kenny Weiss <kenny@kennyweiss.com> | ||
Kenneth Weiss <kweiss@llnl.gov> Kenny Weiss <kennyweiss@users.noreply.github.com> | ||
Peter B. Robinson <robinson96@llnl.gov> robinson96 <robinson96@llnl.gov> | ||
Peter B. Robinson <robinson96@llnl.gov> robinspb <manbearkitty@gmail.com> | ||
Randolph R. Settgast <settgast1@llnl.gov> Randolph R. Settgast <rrsettgast@gmail.com> | ||
Randolph R. Settgast <settgast1@llnl.gov> Randolph Settgast <rrsettgast@gmail.com> | ||
Randolph R. Settgast <settgast1@llnl.gov> Randolph Settgast <settgast1@llnl.gov> | ||
|
||
Alfredo Metere <metal@berkeley.edu> Alfredo Metere <metere1@llnl.gov> | ||
Alfredo Metere <metal@berkeley.edu> metere1llnl <51676123+metere1llnl@users.noreply.github.com> | ||
Benjamin Curtice Corbett <corbett5@llnl.gov> Ben Corbett <32752943+corbett5@users.noreply.github.com> | ||
Burl M. Hall <hall53@llnl.gov> BurlMHall <47543546+BurlMHall@users.noreply.github.com> | ||
Daniel Taller <taller1@llnl.gov> Danny Taller <66029857+dtaller@users.noreply.github.com> | ||
Geoffrey Oxberry <oxberry1@llnl.gov> Geoffrey M Oxberry <goxberry@gmail.com> | ||
Geoffrey Oxberry <oxberry1@llnl.gov> Geoffrey M. Oxberry <oxberry1@llnl.gov> | ||
George Zagaris <zagaris2@llnl.gov> George Zagaris <george.zagaris@gmail.com> | ||
Jason Burmark <burmark1@llnl.gov> Jason Burmark <mr.burmark@gmail.com> | ||
Josh Essman <essman1@llnl.gov> Josh Essman <68349992+joshessman-llnl@users.noreply.github.com> | ||
Keith Healy <healy22@llnl.gov> keithhealy <50376825+keithhealy@users.noreply.github.com> | ||
Kenneth Weiss <kweiss@llnl.gov> Kenny Weiss <kennyweiss@users.noreply.github.com> | ||
Kenneth Weiss <kweiss@llnl.gov> Kenny Weiss <kenny@kennyweiss.com> | ||
Kenneth Weiss <kweiss@llnl.gov> Kenneth Weiss <weiss27@llnl.gov> | ||
Kristi Belcher <belcher6@llnl.gov> Kristi Belcher <belcher6@corona211.llnl.gov> | ||
Kristi Belcher <belcher6@llnl.gov> Kristi Belcher <belcher6@lassen709.coral.llnl.gov> | ||
Kristi Belcher <belcher6@llnl.gov> Kristi <belcher6@llnl.gov> | ||
Marty McFadden <mcfadden8@llnl.gov> Marty McFadden <mcfadden8@users.noreply.github.com> | ||
Peter B. Robinson <robinson96@llnl.gov> robinson96 <robinson96@llnl.gov> | ||
Peter B. Robinson <robinson96@llnl.gov> robinspb <manbearkitty@gmail.com> | ||
Randolph R. Settgast <settgast1@llnl.gov> Randolph Settgast <rrsettgast@gmail.com> | ||
Randolph R. Settgast <settgast1@llnl.gov> Randolph R. Settgast <rrsettgast@gmail.com> | ||
Randolph R. Settgast <settgast1@llnl.gov> Randolph Settgast <settgast1@llnl.gov> | ||
Johann Dahm <johann.dahm@gmail.com> Johann Dahm <johann.dahm@ibm.com> |
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
Oops, something went wrong.