Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
IPSL
P
Projets
dynamico
DYNAMICO
Commits
328f95fc
Commit
328f95fc
authored
May 12, 2022
by
Patryk Kiepas
🐦
Browse files
Reusing gnu build result between jobs; making jean-zay check manual only
parent
29fa673b
Pipeline
#176970
passed with stages
in 5 minutes and 18 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
52 deletions
+17
-52
.gitlab-ci.yml
.gitlab-ci.yml
+17
-52
No files found.
.gitlab-ci.yml
View file @
328f95fc
...
...
@@ -24,7 +24,20 @@ variables:
paths
:
-
tmp/
build-gnu
:
build-gnu-mpi
:
variables
:
COMP
:
gnu
PARALLEL
:
mpi
CPU
:
native
<<
:
*build-generic
artifacts
:
paths
:
-
lib/
-
bin/
-
arch.*
-
tmp/
build-gnu-mpi-omp
:
variables
:
COMP
:
gnu
PARALLEL
:
mpi_omp
...
...
@@ -70,29 +83,11 @@ build-xml:
-
./make_icosa -arch xmp -parallel $PARALLEL -no_io -job 8 2>&1 | tee tmp/$COMP.log
-
grep -q 'Build command finished' tmp/$COMP.log
build-python
:
only
:
-
devel2master
-
converge/devel
variables
:
COMP
:
gnu
PARALLEL
:
mpi_omp
CPU
:
skylake
<<
:
*build-generic
script
:
-
TARGET=$CPU ./make_icosa -arch $COMP -parallel $PARALLEL -with_xios -job 8 2>&1 | tee tmp/$COMP.log
-
grep -q 'Build command finished' tmp/$COMP.log
-
./make_python && cd Python/test && jobs/gen_mpi_mesh_info.sh
artifacts
:
paths
:
-
tmp/
-
Python/test/grids/
#============================== CHECK ============================#
check-jean-zay
:
# remove dot to activate job
allow_failure
:
true
stage
:
check
when
:
manual
needs
:
[
"
build-nvidia"
]
tags
:
-
jean-zay
...
...
@@ -114,18 +109,10 @@ check-jean-zay: # remove dot to activate job
-
rundir
check-dcmip41
:
allow_failure
:
true
stage
:
check
needs
:
[
"
build-gnu"
]
image
:
gitlab-registry.in2p3.fr/ipsl/projets/dynamico/dockerimages/$COMP/xios:$XIOS_REV
variables
:
COMP
:
gnu
PARALLEL
:
mpi
CPU
:
native
needs
:
[
"
build-gnu-mpi"
]
image
:
gitlab-registry.in2p3.fr/ipsl/projets/dynamico/dockerimages/gnu/xios:$XIOS_REV
script
:
-
cp $EXTRA_ARCH/* arch/ && mkdir -p tmp
-
TARGET=$CPU ./make_icosa -arch $COMP -parallel $PARALLEL -with_xios -job 8 2>&1 | tee tmp/$COMP.log
-
grep -q 'Build command finished' tmp/$COMP.log
-
test/bash/run_mpi.sh
8
-
apt update && apt -yqq install jupyter-notebook python3-netcdf4 python3-matplotlib jupyter-nbconvert texlive-fonts-recommended texlive-generic-recommended texlive-xetex
-
cd rundir
...
...
@@ -133,25 +120,3 @@ check-dcmip41:
artifacts
:
paths
:
-
rundir/
#============================== DEPLOY ============================#
pages
:
stage
:
deploy
only
:
-
devel2master
variables
:
COMP
:
gnu
PARALLEL
:
mpi_omp
CPU
:
skylake
REVISION
:
$CI_COMMIT_REF_NAME:$CI_COMMIT_SHORT_SHA
artifacts
:
paths
:
-
public/
expire_in
:
1h
image
:
gitlab-registry.in2p3.fr/ipsl/projets/dynamico/dockerimages/$COMP/xios:$XIOS_REV
script
:
-
apt install -yqq doxygen graphviz
-
cp $EXTRA_ARCH/* arch
-
TARGET=$CPU ./make_icosa -arch $COMP -parallel $PARALLEL -debug -with_xios -job
8
-
doc/dox.sh $REVISION
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment