Skip to content

Commit

Permalink
gitlab - build MFEM and Nek in gitlab
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremylt committed Nov 7, 2020
1 parent 04f709f commit 5cf708d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,12 @@ noether-rocm:
- echo '[{"subject":"/","metrics":[{"name":"Transfer Size (KB)","value":"19.5","desiredSize":"smaller"},{"name":"Speed Index","value":0,"desiredSize":"smaller"},{"name":"Total Score","value":92,"desiredSize":"larger"},{"name":"Requests","value":4,"desiredSize":"smaller"}]}]' > performance.json
- make -k -j$(nproc) junit realsearch=%
# MFEM v4.2
- export MFEM_DIR=/projects/MFEM && make -C $MFEM_DIR info
- cd .. && export MFEM_VERSION=mfem-4.2 && { [[ -d $MFEM_VERSION ]] || { git clone --depth 1 --branch v4.2 https://github.com/mfem/mfem.git $MFEM_VERSION && make -C $MFEM_VERSION -j$(nproc) serial CXXFLAGS="-O -std=c++11"; }; } && export MFEM_DIR=$PWD/$MFEM_VERSION && cd libCEED
- make -C $MFEM_DIR info
- make -k -j$(nproc) junit search=mfem
# Nek5000 v19.0
- export COVERAGE=0
- export NEK5K_DIR=/projects/NEK5000 PATH=/projects/NEK5000/bin:$PATH MPI=0 && git -C $NEK5K_DIR describe --tags
- cd .. && export NEK5K_VERSION=Nek5000-19.0 && { [[ -d $NEK5K_VERSION ]] || { git clone --depth 1 --branch v19.0 https://github.com/Nek5000/Nek5000.git $NEK5K_VERSION && cd $NEK5K_VERSION/tools && ./maketools genbox genmap reatore2 && cd ../..; }; } && export NEK5K_DIR=$PWD/$NEK5K_VERSION && export PATH=$NEK5K_DIR/bin:$PATH MPI=0 && cd libCEED
- make -k -j$(nproc) junit search=nek
# Report status
- echo "SUCCESS" > .job_status
Expand Down

0 comments on commit 5cf708d

Please sign in to comment.