Commit 25a0033e authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

Merge branch 'temp-temp-branch' into 'feature'

Temp temp branch

See merge request mpp/mlmc!39
parents 50a1f101 a3adcffa
Pipeline #157088 failed with stages
in 11 minutes and 39 seconds
......@@ -84,50 +84,57 @@ clean-mlmc:
# ------------------------- End of CI -------------------------
# ------------------------ Start of CD ------------------------
# See https://www.nhr.kit.edu/userdocs/ci/ci-level2
elliptic-experiments-mlmc:
stage: experiments
variables:
GIT_STRATEGY: none
image: ${REGISTRY}/${IMAGE_NAME_MLMC}
timeout: '1h'
GIT_STRATEGY: recursive
only:
variables: [ $RUN_EXPERIMENTS == 'elliptic' ]
script:
before_script:
- module load compiler/gnu/9
- module load mpi/openmpi/4.1
- module load numlib/fftw/3.3
- module load numlib/OpenBLAS/0.3.14
- module load devel/cmake/3.18
- module load devel/jupyter_ml/2020-09-04
- alias mpirun="mpirun --mca opal_warn_on_missing_libcuda 0"
- tar xjf sprng5.tar.bz2
- cd sprng5
- CXX=mpiCC ./configure --with-mpi=yes --with-fortran=no
- make -j
- git submodule update --init --recursive
- cd ..
- mkdir -p build
- cd build
- cmake ..
- make -j
script:
- ./init.sh
# - salloc -p develop -t 00:20:00 -N1 -n10 test-on-HoreKa.sh
# - cp build/log $CI_PROJECT_DIR
tags: [ horeka ]
artifacts:
paths: [ Elliptic\ Experiments.html ]
paths: [ build/log ]
elliptic-experiments-mlmc2:
stage: experiments
variables:
GIT_STRATEGY: none
RUN_EXPERIMENTS: ''
image: ${REGISTRY}/${IMAGE_NAME_MLMC}
timeout: '1h'
GIT_STRATEGY: recursive
only:
variables: [ $RUN_EXPERIMENTS == 'elliptic' ]
before_script:
- module load compiler/gnu/9.3
- module load lib/hdf5/1.12.0-gnu-10.2-openmpi-4.0
- module load devel/cmake/3.18
# before_script:
# - module load compiler/gnu/9
# - module load mpi/openmpi/4.1
# - module load numlib/fftw/3.3
# - module load numlib/OpenBLAS/0.3.14
# - module load devel/cmake/3.18
# - module load devel/jupyter_ml/2020-09-04
# - alias mpirun="mpirun --mca opal_warn_on_missing_libcuda 0"
script:
- ls -al
- ./init.sh
- module load jupyter/base/2021-05-27
- cd notebooks
- jupyter nbconvert --ExecutePreprocessor.timeout=2400
--execute --to html Elliptic\ Experiments\ 2.ipynb
- cp Elliptic\ Experiments\ 2.html $CI_PROJECT_DIR/
tags: [ horeka ]
#- jupyter nbconvert --ExecutePreprocessor.timeout=2400
# --execute --to html Elliptic\ Experiments\ 2.ipynb
#- cp Elliptic\ Experiments\ 2.html $CI_PROJECT_DIR/
# tags: [ horeka ]
tags: [ unibw ]
artifacts:
paths: [ Elliptic\ Experiments\ 2.html ]
# ------------------------- End of CD -------------------------
# Build sprng5
tar xjf sprng5.tar.bz2
# shellcheck disable=SC2164
cd sprng5
cd sprng5 || exit
CXX=mpiCC ./configure --with-mpi=yes --with-fortran=no
make -j
cd .. || exit
# Careful - No Upstream commit
git submodule update --init --recursive
# shellcheck disable=SC2103
cd ..
mkdir build
# shellcheck disable=SC2164
cd build
# Build project
mkdir -p build
cd build || exit
cmake ..
make -j
\ No newline at end of file
Supports Markdown
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