-
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 #582 from LLNL/v0.5.1-rc
V0.5.1 rc
- Loading branch information
Showing
36 changed files
with
294 additions
and
391 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
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,51 @@ | ||
#### | ||
# This is the share configuration of jobs for corona | ||
.on_corona: | ||
tags: | ||
- shell | ||
- corona | ||
rules: | ||
- if: '$CI_COMMIT_BRANCH =~ /_qnone/ || $ON_CORONA == "OFF"' #run except if ... | ||
when: never | ||
- if: '$CI_JOB_NAME =~ /corona_release/' | ||
when: always | ||
- when: on_success | ||
|
||
#### | ||
# In pre-build phase, allocate a node for builds | ||
corona_allocate: | ||
variables: | ||
GIT_STRATEGY: none | ||
extends: [.on_corona] | ||
stage: allocate | ||
script: | ||
- salloc -p pbatch -N 1 -t 10 --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 | ||
corona_release: | ||
variables: | ||
GIT_STRATEGY: none | ||
extends: [.on_corona] | ||
stage: release | ||
script: | ||
- export JOBID=$(squeue -h --name=${PROJECT_ALLOC_NAME} --format=%A) | ||
- if [[ -n "${JOBID}" ]]; then scancel ${JOBID}; fi | ||
|
||
#### | ||
# Template | ||
.build_on_corona: | ||
stage: build | ||
variables: | ||
ALLOC_COMMAND: "srun -p pbatch -t 10 -N 1 ${ASSIGN_ID} --interactive" | ||
extends: [.build_script, .on_corona] | ||
needs: [corona_allocate] | ||
|
||
#### | ||
# Build jobs | ||
corona-rocm_4_5_2_hip: | ||
variables: | ||
HOST_CONFIG: "rocm@4.5.2_hip.cmake" | ||
extends: [.build_on_corona] |
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
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.