-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added small fixes for zfp testing, new gitlab CI functionality
- Loading branch information
1 parent
74364a8
commit 1829523
Showing
3 changed files
with
105 additions
and
20 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,82 @@ | ||
variables: | ||
GIT_SUBMODULE_STRATEGY: recursive | ||
LLNL_SLURM_SCHEDULER_PARAMETERS: "--nodes=1 -p pbatch -A asccasc" | ||
|
||
stages: | ||
- build | ||
- test | ||
|
||
|
||
########### | ||
# GCC CPU # | ||
########### | ||
|
||
build_cpu-linux_gcc6.1.0: | ||
stage: build | ||
before_script: | ||
- module reset | ||
- module load gcc/6.1.0 | ||
- export CXX=$(which g++) | ||
- |- | ||
if [ -z ${CXX} ]; then | ||
exit 1 | ||
fi | ||
script: | ||
- mkdir build | ||
- cd build | ||
- cmake -DBUILD_TESTING=ON -DZFP_WITH_CUDA=OFF -DBUILD_UTILITIES=OFF .. | ||
- make -j | ||
artifacts: | ||
paths: | ||
- build | ||
tags: | ||
- batch | ||
- surface | ||
|
||
test_cpu-linux_gcc6.1.0: | ||
stage: test | ||
script: | ||
- cd build | ||
- ctest -E "Cuda" | ||
after_script: | ||
- rm -rf build | ||
dependencies: | ||
- build_cpu-linux_gcc6.1.0 | ||
tags: | ||
- batch | ||
- surface | ||
|
||
############## | ||
# NVIDIA GPU # | ||
############## | ||
|
||
build_gpu-linux_cuda10.1.168: | ||
stage: build | ||
before_script: | ||
- module reset | ||
- module load opt | ||
- module load cuda/10.1.168 | ||
script: | ||
- mkdir build | ||
- cd build | ||
- cmake -DBUILD_TESTING=ON -DZFP_WITH_CUDA=ON -DZFP_WITH_OPENMP=OFF -DBUILD_UTILITIES=OFF .. | ||
- make -j | ||
artifacts: | ||
paths: | ||
- build | ||
tags: | ||
- batch | ||
- surface | ||
|
||
test_gpu-linux_cuda10.1.168: | ||
stage: test | ||
script: | ||
- cd build | ||
- ctest -R "Cuda" | ||
after_script: | ||
- rm -rf build | ||
dependencies: | ||
- build_gpu-linux_cuda10.1.168 | ||
tags: | ||
- batch | ||
- surface |
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