From ecb68dfa36a1ab3ff8d9ff3fecfda1bb540d11d8 Mon Sep 17 00:00:00 2001 From: Charlie Vanaret Date: Tue, 18 Aug 2026 11:51:28 +0200 Subject: [PATCH 01/17] Test ZIB runner scale set --- .github/workflows/julia-tests-hsl.yml | 2 +- .github/workflows/unopy-hsl.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/julia-tests-hsl.yml b/.github/workflows/julia-tests-hsl.yml index d6a728f23..d363e17ff 100644 --- a/.github/workflows/julia-tests-hsl.yml +++ b/.github/workflows/julia-tests-hsl.yml @@ -32,7 +32,7 @@ concurrency: jobs: compilation-uno-hsl: - runs-on: self-hosted + runs-on: gh-ar-cvanaret-uno-benchmark steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/unopy-hsl.yml b/.github/workflows/unopy-hsl.yml index 0adfe62ed..b5dee8270 100644 --- a/.github/workflows/unopy-hsl.yml +++ b/.github/workflows/unopy-hsl.yml @@ -32,7 +32,7 @@ concurrency: jobs: build: - runs-on: self-hosted + runs-on: gh-ar-cvanaret-uno-benchmark steps: - uses: actions/checkout@v4 From 3688188701339e64f8b6f614847b760598534c01 Mon Sep 17 00:00:00 2001 From: Charlie Vanaret Date: Mon, 31 Aug 2026 21:39:53 +0200 Subject: [PATCH 02/17] Adapted unopy-hsl.yml to new ZIB benchmark runner --- .github/workflows/julia-tests-hsl.yml | 2 +- .github/workflows/unopy-hsl.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/julia-tests-hsl.yml b/.github/workflows/julia-tests-hsl.yml index d363e17ff..d6a728f23 100644 --- a/.github/workflows/julia-tests-hsl.yml +++ b/.github/workflows/julia-tests-hsl.yml @@ -32,7 +32,7 @@ concurrency: jobs: compilation-uno-hsl: - runs-on: gh-ar-cvanaret-uno-benchmark + runs-on: self-hosted steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/unopy-hsl.yml b/.github/workflows/unopy-hsl.yml index b5dee8270..a532ea7ae 100644 --- a/.github/workflows/unopy-hsl.yml +++ b/.github/workflows/unopy-hsl.yml @@ -22,9 +22,9 @@ on: env: BUILD_TYPE: Debug - VENV: /home/optimi/cvanaret/myenv - HOME: /home/optimi/cvanaret - STAGING_ROOT: /scratch/local/opt-008547/cvanaret/ci-staging + VENV: /srv/lib/myenv + HOME: /srv/lib + STAGING_ROOT: /srv/lib/ci-staging concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} From cfd00bcf356bb2eef367439118473340bac5ab3d Mon Sep 17 00:00:00 2001 From: Charlie Vanaret Date: Mon, 31 Aug 2026 21:42:21 +0200 Subject: [PATCH 03/17] Fix --- .github/workflows/unopy-hsl.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/unopy-hsl.yml b/.github/workflows/unopy-hsl.yml index a532ea7ae..5e0cdcbfd 100644 --- a/.github/workflows/unopy-hsl.yml +++ b/.github/workflows/unopy-hsl.yml @@ -23,7 +23,7 @@ on: env: BUILD_TYPE: Debug VENV: /srv/lib/myenv - HOME: /srv/lib + LIBS: /srv/lib STAGING_ROOT: /srv/lib/ci-staging concurrency: @@ -73,7 +73,7 @@ jobs: working-directory: ${{github.workspace}}/interfaces/Python/example run: | # load the HSL library dynamically - sed -i '/uno_solver.set_preset("ipopt")/a\\tuno_solver.set_option("libhsl_path", "${{env.HOME}}/${{matrix.LIBHSL}}")' example_hs015.py + sed -i '/uno_solver.set_preset("ipopt")/a\\tuno_solver.set_option("libhsl_path", "${{env.LIBS}}/${{matrix.LIBHSL}}")' example_hs015.py # substitution of the linear solver sed -i 's/MUMPS/${{matrix.HSL_SOLVER}}/' example_hs015.py From 43255f04bb7aca4dae205586f8e6b81769667998 Mon Sep 17 00:00:00 2001 From: Charlie Vanaret Date: Mon, 31 Aug 2026 21:47:49 +0200 Subject: [PATCH 04/17] Simple build step --- .github/workflows/unopy-hsl.yml | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/.github/workflows/unopy-hsl.yml b/.github/workflows/unopy-hsl.yml index 5e0cdcbfd..c5332dc52 100644 --- a/.github/workflows/unopy-hsl.yml +++ b/.github/workflows/unopy-hsl.yml @@ -24,7 +24,6 @@ env: BUILD_TYPE: Debug VENV: /srv/lib/myenv LIBS: /srv/lib - STAGING_ROOT: /srv/lib/ci-staging concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} @@ -39,17 +38,8 @@ jobs: - name: Download dependencies run: bash dependencies/scripts/download_dependencies.sh - - name: Build unopy into a run-scoped venv on shared NFS - run: | - RUN_DIR="${{env.STAGING_ROOT}}/${{github.run_id}}" - RUN_VENV="$RUN_DIR/venv" - mkdir -p "${{env.STAGING_ROOT}}" - # prune staging from old runs so the NFS home doesn't fill up - find "${{env.STAGING_ROOT}}" -mindepth 1 -maxdepth 1 -type d -mtime +2 -exec rm -rf {} + 2>/dev/null || true - rm -rf "$RUN_DIR" - mkdir -p "$RUN_DIR" - ${{env.VENV}}/bin/python -m venv "$RUN_VENV" - CMAKE_BUILD_PARALLEL_LEVEL=$(nproc) "$RUN_VENV/bin/pip" install . -v + - name: Compile and install unopy + run: CMAKE_BUILD_PARALLEL_LEVEL=$(nproc) ${{env.VENV}}/bin/pip install . -v -C cmake.define.UNO_PYBIND11_DETAILED_ERRORS=ON run-example: name: Example with ${{matrix.LIBHSL_NAME}}'s ${{matrix.HSL_SOLVER}} @@ -82,4 +72,4 @@ jobs: env: PYTHONDONTWRITEBYTECODE: "1" run: | - "${{env.STAGING_ROOT}}/${{github.run_id}}/venv/bin/python" example_hs015.py + "${{env.VENV}}/bin/python" example_hs015.py From bee7e1fb8b17cca8726a89f31e634a15ae372e09 Mon Sep 17 00:00:00 2001 From: Charlie Vanaret Date: Mon, 31 Aug 2026 21:49:32 +0200 Subject: [PATCH 05/17] Use python/pip globally instead of venv --- .github/workflows/unopy-hsl.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/unopy-hsl.yml b/.github/workflows/unopy-hsl.yml index c5332dc52..aa8c585fb 100644 --- a/.github/workflows/unopy-hsl.yml +++ b/.github/workflows/unopy-hsl.yml @@ -22,7 +22,6 @@ on: env: BUILD_TYPE: Debug - VENV: /srv/lib/myenv LIBS: /srv/lib concurrency: @@ -39,7 +38,7 @@ jobs: run: bash dependencies/scripts/download_dependencies.sh - name: Compile and install unopy - run: CMAKE_BUILD_PARALLEL_LEVEL=$(nproc) ${{env.VENV}}/bin/pip install . -v -C cmake.define.UNO_PYBIND11_DETAILED_ERRORS=ON + run: CMAKE_BUILD_PARALLEL_LEVEL=$(nproc) pip install . -v -C cmake.define.UNO_PYBIND11_DETAILED_ERRORS=ON run-example: name: Example with ${{matrix.LIBHSL_NAME}}'s ${{matrix.HSL_SOLVER}} @@ -72,4 +71,4 @@ jobs: env: PYTHONDONTWRITEBYTECODE: "1" run: | - "${{env.VENV}}/bin/python" example_hs015.py + python example_hs015.py From cc4a07343e627ecc5fcc74803ca175f9cf186644 Mon Sep 17 00:00:00 2001 From: Charlie Vanaret Date: Mon, 31 Aug 2026 21:58:44 +0200 Subject: [PATCH 06/17] Reverted unopy-hsl.yml and added dedicated ZIB test workflow --- .github/workflows/test-zib-hsl.yml | 64 ++++++++++++++++++++++++++++++ .github/workflows/unopy-hsl.yml | 23 ++++++++--- 2 files changed, 81 insertions(+), 6 deletions(-) create mode 100644 .github/workflows/test-zib-hsl.yml diff --git a/.github/workflows/test-zib-hsl.yml b/.github/workflows/test-zib-hsl.yml new file mode 100644 index 000000000..12699e9e3 --- /dev/null +++ b/.github/workflows/test-zib-hsl.yml @@ -0,0 +1,64 @@ +name: Tests at ZIB using HSL + +on: + push: + branches: [ "main" ] + paths-ignore: + - '*.md' + - 'LICENSE' + - '*.cff' + - '*.yml' + - '*.yaml' + - 'docs/**' + pull_request: + branches: [ "main" ] + paths-ignore: + - '*.md' + - 'LICENSE' + - '*.cff' + - '*.yml' + - '*.yaml' + - 'docs/**' + +env: + BUILD_TYPE: Debug + LIBS: /srv/lib + +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + +jobs: + build: + runs-on: gh-ar-cvanaret-uno-benchmark + steps: + - uses: actions/checkout@v4 + + - name: Download dependencies + run: bash dependencies/scripts/download_dependencies.sh + + - name: Configure + run: | + LIBBLAS_PATH="${{env.LIBS}}/libblas.so" + LIBLAPACK_PATH="${{env.LIBS}}/liblapack.so" + LIBHSL_PATH="${{env.LIBS}}/libhsl/builddir/libhsl.so" + LIBAMPL_PATH="${{env.LIBS}}/ampl/amplsolver.a" + + cmake -B build \ + -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \ + -DCMAKE_C_COMPILER=gcc \ + -DCMAKE_CXX_COMPILER=g++ \ + -DCMAKE_Fortran_COMPILER=gfortran \ + -DBLAS_LIBRARIES=${LIBBLAS_PATH} \ + -DLAPACK_LIBRARIES=${LIBLAPACK_PATH} \ + -DHSL=${LIBHSL_PATH} \ + -DAMPLSOLVER=${LIBAMPL_PATH} \ + -DBUILD_STATIC_LIBS=OFF \ + -DBUILD_SHARED_LIBS=ON + + - name: Build + run: cmake --build build --target uno_ampl --config ${{env.BUILD_TYPE}} --parallel + + - name: Run instance + working-directory: build + run: ./uno_ampl "${{env.LIBS}}/Mittelmann/qssp180.nl" preset=ipopt diff --git a/.github/workflows/unopy-hsl.yml b/.github/workflows/unopy-hsl.yml index aa8c585fb..0adfe62ed 100644 --- a/.github/workflows/unopy-hsl.yml +++ b/.github/workflows/unopy-hsl.yml @@ -22,7 +22,9 @@ on: env: BUILD_TYPE: Debug - LIBS: /srv/lib + VENV: /home/optimi/cvanaret/myenv + HOME: /home/optimi/cvanaret + STAGING_ROOT: /scratch/local/opt-008547/cvanaret/ci-staging concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} @@ -30,15 +32,24 @@ concurrency: jobs: build: - runs-on: gh-ar-cvanaret-uno-benchmark + runs-on: self-hosted steps: - uses: actions/checkout@v4 - name: Download dependencies run: bash dependencies/scripts/download_dependencies.sh - - name: Compile and install unopy - run: CMAKE_BUILD_PARALLEL_LEVEL=$(nproc) pip install . -v -C cmake.define.UNO_PYBIND11_DETAILED_ERRORS=ON + - name: Build unopy into a run-scoped venv on shared NFS + run: | + RUN_DIR="${{env.STAGING_ROOT}}/${{github.run_id}}" + RUN_VENV="$RUN_DIR/venv" + mkdir -p "${{env.STAGING_ROOT}}" + # prune staging from old runs so the NFS home doesn't fill up + find "${{env.STAGING_ROOT}}" -mindepth 1 -maxdepth 1 -type d -mtime +2 -exec rm -rf {} + 2>/dev/null || true + rm -rf "$RUN_DIR" + mkdir -p "$RUN_DIR" + ${{env.VENV}}/bin/python -m venv "$RUN_VENV" + CMAKE_BUILD_PARALLEL_LEVEL=$(nproc) "$RUN_VENV/bin/pip" install . -v run-example: name: Example with ${{matrix.LIBHSL_NAME}}'s ${{matrix.HSL_SOLVER}} @@ -62,7 +73,7 @@ jobs: working-directory: ${{github.workspace}}/interfaces/Python/example run: | # load the HSL library dynamically - sed -i '/uno_solver.set_preset("ipopt")/a\\tuno_solver.set_option("libhsl_path", "${{env.LIBS}}/${{matrix.LIBHSL}}")' example_hs015.py + sed -i '/uno_solver.set_preset("ipopt")/a\\tuno_solver.set_option("libhsl_path", "${{env.HOME}}/${{matrix.LIBHSL}}")' example_hs015.py # substitution of the linear solver sed -i 's/MUMPS/${{matrix.HSL_SOLVER}}/' example_hs015.py @@ -71,4 +82,4 @@ jobs: env: PYTHONDONTWRITEBYTECODE: "1" run: | - python example_hs015.py + "${{env.STAGING_ROOT}}/${{github.run_id}}/venv/bin/python" example_hs015.py From 8f6288f91bb1034ccfa4fe2ad990957c5df3f308 Mon Sep 17 00:00:00 2001 From: Charlie Vanaret Date: Mon, 31 Aug 2026 22:00:16 +0200 Subject: [PATCH 07/17] Try with a copy of cmake to /srv/lib --- .github/workflows/test-zib-hsl.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-zib-hsl.yml b/.github/workflows/test-zib-hsl.yml index 12699e9e3..bf2aea404 100644 --- a/.github/workflows/test-zib-hsl.yml +++ b/.github/workflows/test-zib-hsl.yml @@ -44,7 +44,7 @@ jobs: LIBHSL_PATH="${{env.LIBS}}/libhsl/builddir/libhsl.so" LIBAMPL_PATH="${{env.LIBS}}/ampl/amplsolver.a" - cmake -B build \ + ${{env.LIBS}}/cmake -B build \ -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \ -DCMAKE_C_COMPILER=gcc \ -DCMAKE_CXX_COMPILER=g++ \ @@ -57,7 +57,7 @@ jobs: -DBUILD_SHARED_LIBS=ON - name: Build - run: cmake --build build --target uno_ampl --config ${{env.BUILD_TYPE}} --parallel + run: ${{env.LIBS}}/cmake --build build --target uno_ampl --config ${{env.BUILD_TYPE}} --parallel - name: Run instance working-directory: build From 97669549229743e32b759b0ffaf42865f1c7a63f Mon Sep 17 00:00:00 2001 From: Charlie Vanaret Date: Mon, 31 Aug 2026 22:03:44 +0200 Subject: [PATCH 08/17] Revert with global cmake --- .github/workflows/test-zib-hsl.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-zib-hsl.yml b/.github/workflows/test-zib-hsl.yml index bf2aea404..12699e9e3 100644 --- a/.github/workflows/test-zib-hsl.yml +++ b/.github/workflows/test-zib-hsl.yml @@ -44,7 +44,7 @@ jobs: LIBHSL_PATH="${{env.LIBS}}/libhsl/builddir/libhsl.so" LIBAMPL_PATH="${{env.LIBS}}/ampl/amplsolver.a" - ${{env.LIBS}}/cmake -B build \ + cmake -B build \ -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \ -DCMAKE_C_COMPILER=gcc \ -DCMAKE_CXX_COMPILER=g++ \ @@ -57,7 +57,7 @@ jobs: -DBUILD_SHARED_LIBS=ON - name: Build - run: ${{env.LIBS}}/cmake --build build --target uno_ampl --config ${{env.BUILD_TYPE}} --parallel + run: cmake --build build --target uno_ampl --config ${{env.BUILD_TYPE}} --parallel - name: Run instance working-directory: build From 20cb451be03ee68df3d484a689cfdbd534d63f7a Mon Sep 17 00:00:00 2001 From: Charlie Vanaret Date: Mon, 31 Aug 2026 22:06:53 +0200 Subject: [PATCH 09/17] Test at least the NFS --- .github/workflows/test-zib-hsl.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/test-zib-hsl.yml b/.github/workflows/test-zib-hsl.yml index 12699e9e3..20a757fbc 100644 --- a/.github/workflows/test-zib-hsl.yml +++ b/.github/workflows/test-zib-hsl.yml @@ -37,6 +37,10 @@ jobs: - name: Download dependencies run: bash dependencies/scripts/download_dependencies.sh + - name: Test NFS + run: | + cat ${{env.LIBS}}/test.txt + - name: Configure run: | LIBBLAS_PATH="${{env.LIBS}}/libblas.so" From 4500f7bf19c6272e3ea5afd539b5dc1b0f73c646 Mon Sep 17 00:00:00 2001 From: Charlie Vanaret Date: Tue, 1 Sep 2026 07:40:27 +0200 Subject: [PATCH 10/17] Commented out Test NFS --- .github/workflows/test-zib-hsl.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-zib-hsl.yml b/.github/workflows/test-zib-hsl.yml index 20a757fbc..21a2962ea 100644 --- a/.github/workflows/test-zib-hsl.yml +++ b/.github/workflows/test-zib-hsl.yml @@ -37,9 +37,9 @@ jobs: - name: Download dependencies run: bash dependencies/scripts/download_dependencies.sh - - name: Test NFS - run: | - cat ${{env.LIBS}}/test.txt +# - name: Test NFS +# run: | +# cat ${{env.LIBS}}/test.txt - name: Configure run: | From c3c03e918461aa15acc801230691ec9fa1526fa9 Mon Sep 17 00:00:00 2001 From: Charlie Vanaret Date: Tue, 1 Sep 2026 08:23:16 +0200 Subject: [PATCH 11/17] Sleep test --- .github/workflows/sleep-zib.yml | 36 +++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/sleep-zib.yml diff --git a/.github/workflows/sleep-zib.yml b/.github/workflows/sleep-zib.yml new file mode 100644 index 000000000..7f259743a --- /dev/null +++ b/.github/workflows/sleep-zib.yml @@ -0,0 +1,36 @@ +name: Sleep test at ZIB + +on: + push: + branches: [ "main" ] + paths-ignore: + - '*.md' + - 'LICENSE' + - '*.cff' + - '*.yml' + - '*.yaml' + - 'docs/**' + pull_request: + branches: [ "main" ] + paths-ignore: + - '*.md' + - 'LICENSE' + - '*.cff' + - '*.yml' + - '*.yaml' + - 'docs/**' + +env: + BUILD_TYPE: Debug + LIBS: /srv/lib + +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + +jobs: + build: + runs-on: gh-ar-cvanaret-uno-benchmark + steps: + - name: Sleep + run: sleep 6h From 48d83ca7bbe5b05eb0f75012cffc985dbc930b4a Mon Sep 17 00:00:00 2001 From: Charlie Vanaret Date: Tue, 1 Sep 2026 09:13:11 +0200 Subject: [PATCH 12/17] Test NFS --- .github/workflows/test-zib-hsl.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-zib-hsl.yml b/.github/workflows/test-zib-hsl.yml index 21a2962ea..20a757fbc 100644 --- a/.github/workflows/test-zib-hsl.yml +++ b/.github/workflows/test-zib-hsl.yml @@ -37,9 +37,9 @@ jobs: - name: Download dependencies run: bash dependencies/scripts/download_dependencies.sh -# - name: Test NFS -# run: | -# cat ${{env.LIBS}}/test.txt + - name: Test NFS + run: | + cat ${{env.LIBS}}/test.txt - name: Configure run: | From 6ed4b9bd77b27d93ae5b399b60aedcbc2e30385c Mon Sep 17 00:00:00 2001 From: Charlie Vanaret Date: Tue, 1 Sep 2026 09:55:53 +0200 Subject: [PATCH 13/17] Let CMake detect system BLAS and LAPACK --- .github/workflows/sleep-zib.yml | 36 ------------------------------ .github/workflows/test-zib-hsl.yml | 4 ---- 2 files changed, 40 deletions(-) delete mode 100644 .github/workflows/sleep-zib.yml diff --git a/.github/workflows/sleep-zib.yml b/.github/workflows/sleep-zib.yml deleted file mode 100644 index 7f259743a..000000000 --- a/.github/workflows/sleep-zib.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: Sleep test at ZIB - -on: - push: - branches: [ "main" ] - paths-ignore: - - '*.md' - - 'LICENSE' - - '*.cff' - - '*.yml' - - '*.yaml' - - 'docs/**' - pull_request: - branches: [ "main" ] - paths-ignore: - - '*.md' - - 'LICENSE' - - '*.cff' - - '*.yml' - - '*.yaml' - - 'docs/**' - -env: - BUILD_TYPE: Debug - LIBS: /srv/lib - -concurrency: - group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} - cancel-in-progress: true - -jobs: - build: - runs-on: gh-ar-cvanaret-uno-benchmark - steps: - - name: Sleep - run: sleep 6h diff --git a/.github/workflows/test-zib-hsl.yml b/.github/workflows/test-zib-hsl.yml index 20a757fbc..f58d82fdb 100644 --- a/.github/workflows/test-zib-hsl.yml +++ b/.github/workflows/test-zib-hsl.yml @@ -43,8 +43,6 @@ jobs: - name: Configure run: | - LIBBLAS_PATH="${{env.LIBS}}/libblas.so" - LIBLAPACK_PATH="${{env.LIBS}}/liblapack.so" LIBHSL_PATH="${{env.LIBS}}/libhsl/builddir/libhsl.so" LIBAMPL_PATH="${{env.LIBS}}/ampl/amplsolver.a" @@ -53,8 +51,6 @@ jobs: -DCMAKE_C_COMPILER=gcc \ -DCMAKE_CXX_COMPILER=g++ \ -DCMAKE_Fortran_COMPILER=gfortran \ - -DBLAS_LIBRARIES=${LIBBLAS_PATH} \ - -DLAPACK_LIBRARIES=${LIBLAPACK_PATH} \ -DHSL=${LIBHSL_PATH} \ -DAMPLSOLVER=${LIBAMPL_PATH} \ -DBUILD_STATIC_LIBS=OFF \ From 21deea6d23d52f2855c22ab4198d7d71ad706110 Mon Sep 17 00:00:00 2001 From: Charlie Vanaret Date: Tue, 1 Sep 2026 10:01:04 +0200 Subject: [PATCH 14/17] Link METIS --- .github/workflows/test-zib-hsl.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test-zib-hsl.yml b/.github/workflows/test-zib-hsl.yml index f58d82fdb..5447b00da 100644 --- a/.github/workflows/test-zib-hsl.yml +++ b/.github/workflows/test-zib-hsl.yml @@ -44,6 +44,7 @@ jobs: - name: Configure run: | LIBHSL_PATH="${{env.LIBS}}/libhsl/builddir/libhsl.so" + LIBMETIS_PATH="${{env.LIBS}}/libmetis.so" LIBAMPL_PATH="${{env.LIBS}}/ampl/amplsolver.a" cmake -B build \ @@ -52,6 +53,7 @@ jobs: -DCMAKE_CXX_COMPILER=g++ \ -DCMAKE_Fortran_COMPILER=gfortran \ -DHSL=${LIBHSL_PATH} \ + -DMETIS=${LIBMETIS_PATH} \ -DAMPLSOLVER=${LIBAMPL_PATH} \ -DBUILD_STATIC_LIBS=OFF \ -DBUILD_SHARED_LIBS=ON From ece024e7cd76a5cf39a4518fdb43d7eadd084375 Mon Sep 17 00:00:00 2001 From: Charlie Vanaret Date: Tue, 1 Sep 2026 10:14:59 +0200 Subject: [PATCH 15/17] Added METIS_INCLUDE_DIR --- .github/workflows/test-zib-hsl.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test-zib-hsl.yml b/.github/workflows/test-zib-hsl.yml index 5447b00da..1cee1ed0d 100644 --- a/.github/workflows/test-zib-hsl.yml +++ b/.github/workflows/test-zib-hsl.yml @@ -45,6 +45,7 @@ jobs: run: | LIBHSL_PATH="${{env.LIBS}}/libhsl/builddir/libhsl.so" LIBMETIS_PATH="${{env.LIBS}}/libmetis.so" + METIS_INCLUDE_PATH="${{env.LIBS}}/metis.h" LIBAMPL_PATH="${{env.LIBS}}/ampl/amplsolver.a" cmake -B build \ @@ -52,6 +53,7 @@ jobs: -DCMAKE_C_COMPILER=gcc \ -DCMAKE_CXX_COMPILER=g++ \ -DCMAKE_Fortran_COMPILER=gfortran \ + -DMETIS_INCLUDE_DIR=${METIS_INCLUDE_PATH} \ -DHSL=${LIBHSL_PATH} \ -DMETIS=${LIBMETIS_PATH} \ -DAMPLSOLVER=${LIBAMPL_PATH} \ From a47d76df08148ef7547008c03e46b887f0f690f2 Mon Sep 17 00:00:00 2001 From: Charlie Vanaret Date: Tue, 1 Sep 2026 10:32:54 +0200 Subject: [PATCH 16/17] Build libmetis.a from source --- .github/workflows/test-zib-hsl.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/test-zib-hsl.yml b/.github/workflows/test-zib-hsl.yml index 1cee1ed0d..1753050cf 100644 --- a/.github/workflows/test-zib-hsl.yml +++ b/.github/workflows/test-zib-hsl.yml @@ -44,8 +44,7 @@ jobs: - name: Configure run: | LIBHSL_PATH="${{env.LIBS}}/libhsl/builddir/libhsl.so" - LIBMETIS_PATH="${{env.LIBS}}/libmetis.so" - METIS_INCLUDE_PATH="${{env.LIBS}}/metis.h" + LIBMETIS_PATH="${{env.LIBS}}/libmetis.a" LIBAMPL_PATH="${{env.LIBS}}/ampl/amplsolver.a" cmake -B build \ @@ -53,7 +52,6 @@ jobs: -DCMAKE_C_COMPILER=gcc \ -DCMAKE_CXX_COMPILER=g++ \ -DCMAKE_Fortran_COMPILER=gfortran \ - -DMETIS_INCLUDE_DIR=${METIS_INCLUDE_PATH} \ -DHSL=${LIBHSL_PATH} \ -DMETIS=${LIBMETIS_PATH} \ -DAMPLSOLVER=${LIBAMPL_PATH} \ From 33a4cf093c28a10b37fd3f80909b5866284fee38 Mon Sep 17 00:00:00 2001 From: Charlie Vanaret Date: Tue, 1 Sep 2026 10:52:13 +0200 Subject: [PATCH 17/17] Test in Release --- .github/workflows/test-zib-hsl.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-zib-hsl.yml b/.github/workflows/test-zib-hsl.yml index 1753050cf..8cf490dc0 100644 --- a/.github/workflows/test-zib-hsl.yml +++ b/.github/workflows/test-zib-hsl.yml @@ -21,7 +21,7 @@ on: - 'docs/**' env: - BUILD_TYPE: Debug + BUILD_TYPE: Release LIBS: /srv/lib concurrency: