Mentions légales du service

Skip to content
Snippets Groups Projects
Commit eae0c8f9 authored by PRUVOST Florent's avatar PRUVOST Florent
Browse files

benchs: update

parent f8ce2cc9
No related branches found
No related tags found
No related merge requests found
...@@ -83,12 +83,19 @@ benchmark: ...@@ -83,12 +83,19 @@ benchmark:
tags: ['plafrim'] tags: ['plafrim']
#extends: .only-main-mr #extends: .only-main-mr
needs: [] needs: []
variables:
CI_HOSTNAME: zonda
cache:
key: "$CI_JOB_NAME_SLUG-$CI_COMMIT_REF_SLUG"
paths:
- build
script: script:
- ./scripts/plafrim_level1.sh - ./scripts/plafrim_level1.sh
artifacts: artifacts:
when: always when: always
paths: paths:
- bench.sqlite3 - ./*.out
- ./*.sqlite3
- ./*.csv - ./*.csv
pages: pages:
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
set -x set -x
# Submit slurm jobs # Submit slurm jobs
sbatch --wait --job-name=scalfmm --output=scalfmm.out --nodes=1 --time=01:00:00 --constraint=suroit --exclusive --ntasks-per-node=1 ./scripts/plafrim_level2.sh sbatch --wait --job-name=scalfmm --output=scalfmm.out --nodes=1 --time=03:00:00 --constraint=$CI_HOSTNAME --exclusive --ntasks-per-node=1 ./scripts/plafrim_level2.sh
err=$? err=$?
cat scalfmm.out cat scalfmm.out
......
...@@ -2,19 +2,20 @@ ...@@ -2,19 +2,20 @@
set -x set -x
# to avoid a lock during fetching git branches in parallel # to avoid a lock during fetching git branches in parallel
export XDG_CACHE_HOME=/tmp/guix-$$ #export XDG_CACHE_HOME=/tmp/guix-$$
# save guix commits # save guix commits
#guix describe --format=json > guix.json
guix time-machine -C .guix/scalfmm-channels.scm -- describe --format=json > guix.json guix time-machine -C .guix/scalfmm-channels.scm -- describe --format=json > guix.json
exec guix time-machine -C .guix/scalfmm-channels.scm -- shell \ #exec guix shell --pure --preserve="^CI|proxy$|^SLURM" \
--pure --preserve="^CI|proxy$|^SLURM" \ exec guix time-machine -C .guix/scalfmm-channels.scm -- shell --pure --preserve="^CI|proxy$|^SLURM" \
-m .guix/scalfmm-manifest-gcc-mkl-bench.scm \ -m .guix/scalfmm-manifest-gcc-mkl-bench.scm \
-- /bin/bash --norc ./scripts/plafrim_level3.sh -- /bin/bash --norc ./scripts/plafrim_level3.sh
err=$? err=$?
# clean tmp # clean tmp
rm -rf /tmp/guix-$$ #rm -rf /tmp/guix-$$
# exit with error code from the guix command # exit with error code from the guix command
exit $err exit $err
...@@ -19,12 +19,10 @@ if [[ -z "${CI_HOSTNAME}" ]]; then ...@@ -19,12 +19,10 @@ if [[ -z "${CI_HOSTNAME}" ]]; then
fi fi
# configuration and compilation # configuration and compilation
#if [ -d build ]; then
# rm build -r
#fi
cmake -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-O3 -march=native" -Dscalfmm_BUILD_BENCH=ON -Dscalfmm_USE_MKL=ON cmake -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-O3 -march=native" -Dscalfmm_BUILD_BENCH=ON -Dscalfmm_USE_MKL=ON
cmake --build build --target fmm-computation-seq cmake --build build --target fmm-computation-seq &
cmake --build build --target fmm-computation-omp cmake --build build --target fmm-computation-omp &
wait
export SCALFMM_EXE_DIR=$PWD/build/bench/Release export SCALFMM_EXE_DIR=$PWD/build/bench/Release
# clean old benchmarks # clean old benchmarks
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment