From ebcfe464802b20f8990ff1e035405255fa430c0f Mon Sep 17 00:00:00 2001 From: Florent Pruvost <florent.pruvost@inria.fr> Date: Fri, 7 Mar 2025 10:41:21 +0100 Subject: [PATCH] benchs: change extension of out to log file to be able to display it in the web browser from gitlab's pipelines artifacts --- .gitlab-ci.yml | 2 +- scripts/plafrim_level1.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a88ac03cd..1adfc8d1e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -97,7 +97,7 @@ benchmark: artifacts: when: always paths: - - ./*.out + - ./*.log - ./*.sqlite3 - ./*.csv diff --git a/scripts/plafrim_level1.sh b/scripts/plafrim_level1.sh index 5a57490ed..16ad8b51b 100755 --- a/scripts/plafrim_level1.sh +++ b/scripts/plafrim_level1.sh @@ -2,10 +2,10 @@ set -x # Submit slurm jobs -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 +sbatch --wait --job-name=scalfmm --output=scalfmm.log --nodes=1 --time=03:00:00 --constraint=$CI_HOSTNAME --exclusive --ntasks-per-node=1 ./scripts/plafrim_level2.sh err=$? -cat scalfmm.out +cat scalfmm.log # exit with error code from the sbatch command exit $err -- GitLab