Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cx-custom-gitlab-runner
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lukas Werner
cx-custom-gitlab-runner
Commits
9cdcaae6
Commit
9cdcaae6
authored
3 years ago
by
Lukas Werner
Browse files
Options
Downloads
Patches
Plain Diff
Update example.gitlab-ci.yml
parent
5704cf51
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
example.gitlab-ci.yml
+31
-12
31 additions, 12 deletions
example.gitlab-ci.yml
with
31 additions
and
12 deletions
example.gitlab-ci.yml
+
31
−
12
View file @
9cdcaae6
...
...
@@ -4,7 +4,7 @@
## ##
###############################################################################
variables
:
AUTH_USER
:
yw25ynew
AUTH_USER
:
hpc_username
stages
:
-
build
...
...
@@ -18,12 +18,15 @@ stages:
.build_template
:
script
:
-
module load cmake/3.11.1
-
module load openmpi/3.1.5-gcc
-
module load gcc/9.1.0
-
export NUM_CORES=$(nproc --all)
-
export MAX_BUILD_CORES=$(( $(awk '( $1 == "MemTotal:" ) { print $2 }' /proc/meminfo) / ( 4 * 1024 * 1024 ) ))
-
"
[[
$MAX_BUILD_CORES
-lt
$NUM_CORES
]]
&&
export
NUM_BUILD_CORES=$MAX_BUILD_CORES
||
export
NUM_BUILD_CORES=$NUM_CORES"
-
$CXX --version
-
cmake --version
-
ccache --version
-
echo No
ccache --version
-
mpirun --version
-
python3 --version
-
export CCACHE_BASEDIR=$CI_PROJECT_DIR
...
...
@@ -50,8 +53,8 @@ stages:
-DWALBERLA_BUILD_WITH_CODEGEN=$WALBERLA_BUILD_WITH_CODEGEN
-DWALBERLA_STL_BOUNDS_CHECKS=$WALBERLA_STL_BOUNDS_CHECKS
-
cmake . -LA
-
cd
src
/core
-
make -j $NUM_BUILD_CORES -l $NUM_CORES
-
cd
tests
/core
-
make -j $NUM_BUILD_CORES -l $NUM_CORES
ReduceTest
variables
:
CTEST_EXCLUDE_LABELS
:
"
longrun"
WALBERLA_BUILD_WITH_MPI
:
"
ON"
...
...
@@ -65,7 +68,7 @@ stages:
WALBERLA_BUILD_WITH_PARMETIS
:
"
ON"
WALBERLA_ENABLE_GUI
:
"
OFF"
tags
:
-
i10staff22
-
testfront
###############################################################################
...
...
@@ -77,23 +80,39 @@ stages:
gcc_9_mpionly
:
extends
:
.build_template
stage
:
build
before_script
:
-
export CXX=g++
-
export CC=gcc
variables
:
CTEST_EXCLUDE_LABELS
:
"
longrun"
WALBERLA_BUILD_WITH_MPI
:
"
ON"
WALBERLA_BUILD_WITH_OPENMP
:
"
OFF"
WALBERLA_BUILD_WITH_METIS
:
"
OFF"
WALBERLA_BUILD_WITH_PARMETIS
:
"
OFF"
WALBERLA_BUILD_WITH_PARMETIS
:
"
OFF"
tags
:
-
i10staff22
-
testfront
artifacts
:
paths
:
-
build
test
:
stage
:
test
script
:
-
export NUM_CORES=$(nproc --all)
-
cd $CI_PROJECT_DIR/build/tests/core
-
ctest -LE $CTEST_EXCLUDE_LABELS -C $CMAKE_BUILD_TYPE --output-on-failure -j $NUM_CORES -T Test
variables
:
SUBMIT_TO_SLURM
:
1
SLURM_PARTITION
:
"
work"
SLURM_TIMELIMIT
:
20
SLURM_CONSTRAINT
:
hwperf
SLURM_NODELIST
:
broadep2
SLURM_NODES
:
1
CTEST_EXCLUDE_LABELS
:
"
longrun"
CMAKE_BUILD_TYPE
:
"
Release"
script
:
-
module load cmake/3.11.1
-
module load openmpi/3.1.5-gcc
-
module load gcc/9.1.0
-
module load slurm
-
export NUM_CORES=$(nproc --all)
-
cd $CI_PROJECT_DIR/build/tests/core
-
ctest -C $CMAKE_BUILD_TYPE --output-on-failure -j $NUM_CORES -T Test -R ReduceTest
tags
:
-
i10staff22
-
testfront
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment