From bc17054b127ded284e73a8368c97d977a14a42eb Mon Sep 17 00:00:00 2001 From: James Le Houx Date: Thu, 28 May 2026 13:27:04 +0000 Subject: [PATCH] wheels: bump cache key to force AMReX rebuild with new arch settings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The cache key included only a manual version suffix (v10/v5). Changes to -DAMReX_CUDA_ARCH and -DAMReX_EB did not invalidate the cache, so the cached AMReX from before EB was being reused. This explains why the T4 hit "named symbol not found" — the cached AMReX only had sm_80 SASS (from the original arch75-80 build) but no PTX for backward JIT. Bump v10→v11 (GPU) and v5→v6 (CPU) to force fresh AMReX builds with the actual current flags (EB=ON, arch=75;80 for AMReX with 80-real;75-virtual for OpenImpala). --- .github/workflows/pypi-wheels-cpu.yml | 2 +- .github/workflows/pypi-wheels-gpu.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pypi-wheels-cpu.yml b/.github/workflows/pypi-wheels-cpu.yml index 23fbeb1..9358921 100644 --- a/.github/workflows/pypi-wheels-cpu.yml +++ b/.github/workflows/pypi-wheels-cpu.yml @@ -41,7 +41,7 @@ jobs: uses: actions/cache@v4 with: path: .cibw-deps-cache - key: cibw-deps-manylinux_2_28-x86_64-hdf5_1.14.6-tiff_4.6.0-hypre_2.31.0-amrex_25.03-tinyprof-v5 + key: cibw-deps-manylinux_2_28-x86_64-hdf5_1.14.6-tiff_4.6.0-hypre_2.31.0-amrex_25.03-tinyprof-eb-v6 - name: Build wheels run: python -m cibuildwheel --output-dir wheelhouse diff --git a/.github/workflows/pypi-wheels-gpu.yml b/.github/workflows/pypi-wheels-gpu.yml index 815bd55..abacbba 100644 --- a/.github/workflows/pypi-wheels-gpu.yml +++ b/.github/workflows/pypi-wheels-gpu.yml @@ -45,7 +45,7 @@ jobs: uses: actions/cache@v4 with: path: .cibw-deps-cache - key: cibw-deps-gpu-cuda12.6-manylinux_2_34-x86_64-hdf5_1.14.6-tiff_4.6.0-hypre_2.31.0-amrex_25.03-gcc13-nvtx3.1.1-arch75-80-quotefix-v10 + key: cibw-deps-gpu-cuda12.6-manylinux_2_34-x86_64-hdf5_1.14.6-tiff_4.6.0-hypre_2.31.0-amrex_25.03-gcc13-nvtx3.1.1-arch75-80-eb-v11 - name: Build GPU wheels run: python -m cibuildwheel --output-dir wheelhouse @@ -136,7 +136,7 @@ jobs: -DAMReX_PARTICLES=OFF -DAMReX_TINY_PROFILE=ON -DAMReX_GPU_BACKEND=CUDA - '-DAMReX_CUDA_ARCH=80' + '-DAMReX_CUDA_ARCH=75;80' -DCMAKE_POSITION_INDEPENDENT_CODE=ON '-DCMAKE_CUDA_ARCHITECTURES=80-real;75-virtual' -DCMAKE_CUDA_HOST_COMPILER=/opt/rh/gcc-toolset-13/root/usr/bin/g++