Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tnl-dev
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
TNL
tnl-dev
Commits
41a2186e
There was an error fetching the commit references. Please try again later.
Commit
41a2186e
authored
6 years ago
by
Jakub Klinkovský
Browse files
Options
Downloads
Patches
Plain Diff
Added configurations to build with MPI on the CI
parent
6097d4fa
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+54
-0
54 additions, 0 deletions
.gitlab-ci.yml
with
54 additions
and
0 deletions
.gitlab-ci.yml
+
54
−
0
View file @
41a2186e
...
...
@@ -18,6 +18,7 @@ stages:
WITH_CUDA
:
"
no"
WITH_CUDA_ARCH
:
"
auto"
WITH_MIC
:
"
no"
WITH_MPI
:
"
no"
WITH_TESTS
:
"
yes"
WITH_COVERAGE
:
"
no"
# these are built only in the "full" config
...
...
@@ -30,6 +31,11 @@ stages:
.build_template_def
:
&build_template
stage
:
build
script
:
# set MPI compiler wrapper
-
if [[ ${WITH_MPI} == "yes" ]]; then
export CXX=mpicxx;
export CC=mpicc;
fi
# all cores including hyperthreading
# - export NUM_CORES=$(grep "core id" /proc/cpuinfo | wc -l)
# # all pyhsical cores
...
...
@@ -86,6 +92,32 @@ cuda_base_Release:
WITH_CUDA
:
"
yes"
BUILD_TYPE
:
Release
cuda_mpi_Debug
:
<<
:
*build_template
tags
:
-
openmp
-
gpu
-
mpi
variables
:
<<
:
*default_cmake_flags
WITH_OPENMP
:
"
yes"
WITH_CUDA
:
"
yes"
WITH_MPI
:
"
yes"
BUILD_TYPE
:
Debug
cuda_mpi_Release
:
<<
:
*build_template
tags
:
-
openmp
-
gpu
-
mpi
variables
:
<<
:
*default_cmake_flags
WITH_OPENMP
:
"
yes"
WITH_CUDA
:
"
yes"
WITH_MPI
:
"
yes"
BUILD_TYPE
:
Release
cuda_full_Debug
:
<<
:
*build_template
tags
:
...
...
@@ -125,6 +157,28 @@ default_base_Release:
<<
:
*default_cmake_flags
BUILD_TYPE
:
Release
default_mpi_Debug
:
<<
:
*build_template
tags
:
-
openmp
-
mpi
variables
:
<<
:
*default_cmake_flags
WITH_OPENMP
:
"
yes"
WITH_MPI
:
"
yes"
BUILD_TYPE
:
Debug
default_mpi_Release
:
<<
:
*build_template
tags
:
-
openmp
-
mpi
variables
:
<<
:
*default_cmake_flags
WITH_OPENMP
:
"
yes"
WITH_MPI
:
"
yes"
BUILD_TYPE
:
Release
default_full_Debug
:
<<
:
*build_template
tags
:
...
...
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