Skip to content
Snippets Groups Projects
Commit d7a6ab42 authored by Lukas Werner's avatar Lukas Werner
Browse files

Update .gitlab-ci.yml

parent b68b05db
Branches
No related merge requests found
Pipeline #32535 passed with stages
in 4 minutes and 40 seconds
###############################################################################
## ##
## General settings ##
## ##
###############################################################################
variables:
AUTH_USER: iwia023h
......@@ -10,17 +5,14 @@ stages:
- build
- test
###############################################################################
## ##
## Build templates ##
## ##
###############################################################################
.build_template:
gcc_9_mpionly:
stage: build
script:
- module load cmake/3.11.1
- module load openmpi/3.1.5-gcc
- module load gcc/9.1.0
- export CXX=g++
- export CC=gcc
- 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"
......@@ -57,34 +49,12 @@ stages:
- make -j $NUM_BUILD_CORES -l $NUM_CORES ReduceTest
variables:
CTEST_EXCLUDE_LABELS: "longrun"
WALBERLA_BUILD_WITH_MPI: "ON"
WALBERLA_BUILD_WITH_OPENMP: "ON"
OMP_NUM_THREADS: "4"
OMP_WAIT_POLICY: "PASSIVE"
CMAKE_BUILD_TYPE: "Release"
WALBERLA_BUFFER_DEBUG: "OFF"
WALBERLA_DOUBLE_ACCURACY: "ON"
WALBERLA_BUILD_WITH_METIS: "ON"
WALBERLA_BUILD_WITH_PARMETIS: "ON"
WALBERLA_ENABLE_GUI: "OFF"
tags:
- testfront
###############################################################################
## ##
## Linux builds ##
## ##
###############################################################################
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"
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment