Skip to content

{2025.06}[lfoss/2025b] PETSc 3.24.0 - #1622

Open
boegel wants to merge 1 commit into
EESSI:mainfrom
boegel:2025.06_PETSc_lfoss-2025b
Open

{2025.06}[lfoss/2025b] PETSc 3.24.0#1622
boegel wants to merge 1 commit into
EESSI:mainfrom
boegel:2025.06_PETSc_lfoss-2025b

Conversation

@boegel

@boegel boegel commented Sep 4, 2026

Copy link
Copy Markdown
Contributor
14 out of 103 required modules missing:

* Boost/1.88.0-llvm-compilers-20.1.8 (Boost-1.88.0-llvm-compilers-20.1.8.eb)
* lfbf/2025b (lfbf-2025b.eb)
* SuiteSparse/7.11.0-lfbf-2025b (SuiteSparse-7.11.0-lfbf-2025b.eb)
* pybind11/3.0.0-llvm-compilers-20.1.8 (pybind11-3.0.0-llvm-compilers-20.1.8.eb)
* SciPy-bundle/2025.07-lfbf-2025b (SciPy-bundle-2025.07-lfbf-2025b.eb)
* mpi4py/4.1.0-lompi-2025b (mpi4py-4.1.0-lompi-2025b.eb)
* HDF5/1.14.6-lompi-2025b (HDF5-1.14.6-lompi-2025b.eb)
* netCDF/4.9.3-lompi-2025b (netCDF-4.9.3-lompi-2025b.eb)
* PnetCDF/1.14.1-lompi-2025b (PnetCDF-1.14.1-lompi-2025b.eb)
* SCOTCH/7.0.10-lompi-2025b (SCOTCH-7.0.10-lompi-2025b.eb)
* Hypre/2.33.0-lfoss-2025b (Hypre-2.33.0-lfoss-2025b.eb)
* SuperLU_DIST/9.1.0-lfoss-2025b (SuperLU_DIST-9.1.0-lfoss-2025b.eb)
* MUMPS/5.8.1-lfoss-2025b-metis (MUMPS-5.8.1-lfoss-2025b-metis.eb)
* PETSc/3.24.0-lfoss-2025b (PETSc-3.24.0-lfoss-2025b.eb)

@boegel boegel added the 2025.06-software.eessi.io 2025.06 version of software.eessi.io label Sep 4, 2026
@boegel

boegel commented Sep 4, 2026

Copy link
Copy Markdown
Contributor Author

bot: build repo:eessi.io-2025.06-software instance:eessi-bot-mc-aws for:arch=x86_64/generic
bot: build repo:eessi.io-2025.06-software instance:eessi-bot-jsc for:arch=aarch64/nvidia/grace
bot: build repo:eessi.io-2025.06-software instance:eessi-bot-deucalion for:arch=aarch64/a64fx
bot: build repo:eessi.io-2025.06-software instance:eessi-bot-aws-eu-south for:arch=x86_64/amd/zen5

@eessi-bot-aws

eessi-bot-aws Bot commented Sep 4, 2026

Copy link
Copy Markdown

New job on instance eessi-bot-mc-aws for repository eessi.io-2025.06-software
Building on: generic
Building for: x86_64/generic
Job dir: /project/def-users/SHARED/jobs/2026.09/pr_1622/193320

date job status comment
Sep 04 14:54:46 UTC 2026 submitted job id 193320 awaits release by job manager
Sep 04 14:55:11 UTC 2026 released job awaits launch by Slurm scheduler
Sep 04 15:01:35 UTC 2026 running job 193320 is running
Sep 04 19:24:15 UTC 2026 finished
😁 SUCCESS (click triangle for details)
Details
✅ job output file slurm-193320.out
✅ no message matching FATAL:
✅ no message matching ERROR:
✅ no message matching FAILED:
✅ no message matching required modules missing:
✅ found message(s) matching No missing installations
✅ found message matching .tar.* created!
Artefacts
eessi-2025.06-software-linux-x86_64-generic-17885497290.tar.zstsize: 200 MiB (210147492 bytes)
entries: 40867
modules under 2025.06/software/linux/x86_64/generic/modules/all
Boost/1.88.0-llvm-compilers-20.1.8.lua
HDF5/1.14.6-lompi-2025b.lua
Hypre/2.33.0-lfoss-2025b.lua
lfbf/2025b.lua
mpi4py/4.1.0-lompi-2025b.lua
MUMPS/5.8.1-lfoss-2025b-metis.lua
netCDF/4.9.3-lompi-2025b.lua
PETSc/3.24.0-lfoss-2025b.lua
PnetCDF/1.14.1-lompi-2025b.lua
pybind11/3.0.0-llvm-compilers-20.1.8.lua
SciPy-bundle/2025.07-lfbf-2025b.lua
SCOTCH/7.0.10-lompi-2025b.lua
SuiteSparse/7.11.0-lfbf-2025b.lua
SuperLU_DIST/9.1.0-lfoss-2025b.lua
software under 2025.06/software/linux/x86_64/generic/software
Boost/1.88.0-llvm-compilers-20.1.8
HDF5/1.14.6-lompi-2025b
Hypre/2.33.0-lfoss-2025b
lfbf/2025b
mpi4py/4.1.0-lompi-2025b
MUMPS/5.8.1-lfoss-2025b-metis
netCDF/4.9.3-lompi-2025b
PETSc/3.24.0-lfoss-2025b
PnetCDF/1.14.1-lompi-2025b
pybind11/3.0.0-llvm-compilers-20.1.8
SciPy-bundle/2025.07-lfbf-2025b
SCOTCH/7.0.10-lompi-2025b
SuiteSparse/7.11.0-lfbf-2025b
SuperLU_DIST/9.1.0-lfoss-2025b
reprod directories under 2025.06/software/linux/x86_64/generic/reprod
Boost/1.88.0-llvm-compilers-20.1.8/20260904_151501UTC
HDF5/1.14.6-lompi-2025b/20260904_171256UTC
Hypre/2.33.0-lfoss-2025b/20260904_165724UTC
lfbf/2025b/20260904_152331UTC
mpi4py/4.1.0-lompi-2025b/20260904_170133UTC
MUMPS/5.8.1-lfoss-2025b-metis/20260904_164218UTC
netCDF/4.9.3-lompi-2025b/20260904_180226UTC
PETSc/3.24.0-lfoss-2025b/20260904_192137UTC
PnetCDF/1.14.1-lompi-2025b/20260904_181639UTC
pybind11/3.0.0-llvm-compilers-20.1.8/20260904_151916UTC
SciPy-bundle/2025.07-lfbf-2025b/20260904_163149UTC
SCOTCH/7.0.10-lompi-2025b/20260904_152327UTC
SuiteSparse/7.11.0-lfbf-2025b/20260904_165552UTC
SuperLU_DIST/9.1.0-lfoss-2025b/20260904_165941UTC
other under 2025.06/software/linux/x86_64/generic
no other files in tarball
Sep 04 19:24:15 UTC 2026 test result
😢 FAILURE (click triangle for details)
Reason
EESSI test suite was not run, test step itself failed to execute.
Details
✅ job output file slurm-193320.out
❌ found message matching ERROR:
✅ no message matching [\s*FAILED\s*].*Ran .* test case

@eessi-bot-jsc

eessi-bot-jsc Bot commented Sep 4, 2026

Copy link
Copy Markdown

New job on instance eessi-bot-jsc for repository eessi.io-2025.06-software
Building on: nvidia-grace
Building for: aarch64/nvidia/grace
Job dir: /p/project1/ceasybuilders/eessibot/jobs/2026.09/pr_1622/15592563

date job status comment
Sep 04 14:54:48 UTC 2026 submitted job id 15592563 awaits release by job manager
Sep 04 14:55:35 UTC 2026 released job awaits launch by Slurm scheduler
Sep 04 14:56:42 UTC 2026 running job 15592563 is running
Sep 04 15:31:14 UTC 2026 finished
😢 FAILURE (click triangle for details)
Details
✅ job output file slurm-15592563.out
✅ no message matching FATAL:
❌ found message matching ERROR:
❌ found message matching FAILED:
❌ found message matching required modules missing:
❌ no message matching No missing installations
✅ found message matching .tar.* created!
Artefacts
eessi-2025.06-software-linux-aarch64-nvidia-grace-17885356630.tar.gzsize: 39 MiB (41208344 bytes)
entries: 18396
modules under 2025.06/software/linux/aarch64/nvidia/grace/modules/all
Boost/1.88.0-llvm-compilers-20.1.8.lua
lfbf/2025b.lua
pybind11/3.0.0-llvm-compilers-20.1.8.lua
SCOTCH/7.0.10-lompi-2025b.lua
software under 2025.06/software/linux/aarch64/nvidia/grace/software
Boost/1.88.0-llvm-compilers-20.1.8
lfbf/2025b
pybind11/3.0.0-llvm-compilers-20.1.8
SCOTCH/7.0.10-lompi-2025b
reprod directories under 2025.06/software/linux/aarch64/nvidia/grace/reprod
Boost/1.88.0-llvm-compilers-20.1.8/20260904_150703UTC
lfbf/2025b/20260904_151501UTC
pybind11/3.0.0-llvm-compilers-20.1.8/20260904_151250UTC
SCOTCH/7.0.10-lompi-2025b/20260904_151459UTC
other under 2025.06/software/linux/aarch64/nvidia/grace
no other files in tarball
Sep 04 15:31:14 UTC 2026 test result
😢 FAILURE (click triangle for details)
Reason
EESSI test suite was not run, test step itself failed to execute.
Details
✅ job output file slurm-15592563.out
❌ found message matching ERROR:
✅ no message matching [\s*FAILED\s*].*Ran .* test case

@eessi-bot-deucalion

eessi-bot-deucalion Bot commented Sep 4, 2026

Copy link
Copy Markdown

New job on instance eessi-bot-deucalion for repository eessi.io-2025.06-software
Building on: a64fx
Building for: aarch64/a64fx
Job dir: /home/eessibot/new-bot/jobs/2026.09/pr_1622/1875106

date job status comment
Sep 04 14:54:50 UTC 2026 submitted job id 1875106 awaits release by job manager
Sep 04 14:55:21 UTC 2026 released job awaits launch by Slurm scheduler
Sep 04 14:56:25 UTC 2026 running job 1875106 is running
Sep 04 16:53:54 UTC 2026 finished
😢 FAILURE (click triangle for details)
Details
✅ job output file slurm-1875106.out
✅ no message matching FATAL:
❌ found message matching ERROR:
❌ found message matching FAILED:
❌ found message matching required modules missing:
❌ no message matching No missing installations
✅ found message matching .tar.* created!
Artefacts
eessi-2025.06-software-linux-aarch64-a64fx-17885407210.tar.zstsize: 31 MiB (33463515 bytes)
entries: 18396
modules under 2025.06/software/linux/aarch64/a64fx/modules/all
Boost/1.88.0-llvm-compilers-20.1.8.lua
SCOTCH/7.0.10-lompi-2025b.lua
lfbf/2025b.lua
pybind11/3.0.0-llvm-compilers-20.1.8.lua
software under 2025.06/software/linux/aarch64/a64fx/software
Boost/1.88.0-llvm-compilers-20.1.8
SCOTCH/7.0.10-lompi-2025b
lfbf/2025b
pybind11/3.0.0-llvm-compilers-20.1.8
reprod directories under 2025.06/software/linux/aarch64/a64fx/reprod
Boost/1.88.0-llvm-compilers-20.1.8/20260904_154049UTC
SCOTCH/7.0.10-lompi-2025b/20260904_160501UTC
lfbf/2025b/20260904_160514UTC
pybind11/3.0.0-llvm-compilers-20.1.8/20260904_155455UTC
other under 2025.06/software/linux/aarch64/a64fx
no other files in tarball
Sep 04 16:53:54 UTC 2026 test result
😢 FAILURE (click triangle for details)
Reason
EESSI test suite was not run, test step itself failed to execute.
Details
✅ job output file slurm-1875106.out
❌ found message matching ERROR:
✅ no message matching [\s*FAILED\s*].*Ran .* test case

@eessi-bot-aws-eu-south

eessi-bot-aws-eu-south Bot commented Sep 4, 2026

Copy link
Copy Markdown

New job on instance eessi-bot-aws-eu-south for repository eessi.io-2025.06-software
Building on: amd-zen5
Building for: x86_64/amd/zen5
Job dir: /project/def-users/SHARED/jobs/2026.09/pr_1622/342

date job status comment
Sep 04 14:54:53 UTC 2026 submitted job id 342 awaits release by job manager
Sep 04 14:55:51 UTC 2026 released job awaits launch by Slurm scheduler
Sep 04 15:02:10 UTC 2026 running job 342 is running
Sep 04 15:56:25 UTC 2026 finished
😢 FAILURE (click triangle for details)
Details
✅ job output file slurm-342.out
✅ no message matching FATAL:
❌ found message matching ERROR:
❌ found message matching FAILED:
❌ found message matching required modules missing:
❌ no message matching No missing installations
✅ found message matching .tar.* created!
Artefacts
eessi-2025.06-software-linux-x86_64-amd-zen5-17885372900.tar.zstsize: 173 MiB (182199867 bytes)
entries: 31890
modules under 2025.06/software/linux/x86_64/amd/zen5/modules/all
Boost/1.88.0-llvm-compilers-20.1.8.lua
lfbf/2025b.lua
MUMPS/5.8.1-lfoss-2025b-metis.lua
pybind11/3.0.0-llvm-compilers-20.1.8.lua
SciPy-bundle/2025.07-lfbf-2025b.lua
SCOTCH/7.0.10-lompi-2025b.lua
SuiteSparse/7.11.0-lfbf-2025b.lua
software under 2025.06/software/linux/x86_64/amd/zen5/software
Boost/1.88.0-llvm-compilers-20.1.8
lfbf/2025b
MUMPS/5.8.1-lfoss-2025b-metis
pybind11/3.0.0-llvm-compilers-20.1.8
SciPy-bundle/2025.07-lfbf-2025b
SCOTCH/7.0.10-lompi-2025b
SuiteSparse/7.11.0-lfbf-2025b
reprod directories under 2025.06/software/linux/x86_64/amd/zen5/reprod
Boost/1.88.0-llvm-compilers-20.1.8/20260904_150901UTC
lfbf/2025b/20260904_151316UTC
MUMPS/5.8.1-lfoss-2025b-metis/20260904_154829UTC
pybind11/3.0.0-llvm-compilers-20.1.8/20260904_151124UTC
SciPy-bundle/2025.07-lfbf-2025b/20260904_154308UTC
SCOTCH/7.0.10-lompi-2025b/20260904_151314UTC
SuiteSparse/7.11.0-lfbf-2025b/20260904_155415UTC
other under 2025.06/software/linux/x86_64/amd/zen5
no other files in tarball
Sep 04 15:56:25 UTC 2026 test result
😢 FAILURE (click triangle for details)
Reason
EESSI test suite was not run, test step itself failed to execute.
Details
✅ job output file slurm-342.out
❌ found message matching ERROR:
✅ no message matching [\s*FAILED\s*].*Ran .* test case

@bedroge

bedroge commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator

The zen5 build failed in the configure step of Hypre:

checking for Fortran libraries of flang...  -lwp -L/cvmfs/software.eessi.io/versions/2025.06/software/linux/x86_64/amd/zen5/software/GCCcore/14.3.0/lib64 -L/cvmfs/software.eessi.io/ver
sions/2025.06/software/linux/x86_64/amd/zen5/software/ScaLAPACK/2.2.2-lompi-2025b-fb/lib64 -L/cvmfs/software.eessi.io/versions/2025.06/software/linux/x86_64/amd/zen5/software/ScaLAPACK
/2.2.2-lompi-2025b-fb/lib -L/cvmfs/software.eessi.io/versions/2025.06/software/linux/x86_64/amd/zen5/software/FFTW.MPI/3.3.10-lompi-2025b/lib64 -L/cvmfs/software.eessi.io/versions/2025
.06/software/linux/x86_64/amd/zen5/software/FFTW.MPI/3.3.10-lompi-2025b/lib -L/cvmfs/software.eessi.io/versions/2025.06/software/linux/x86_64/amd/zen5/software/FFTW/3.3.10-llvm-compile
rs-20.1.8/lib64 -L/cvmfs/software.eessi.io/versions/2025.06/software/linux/x86_64/amd/zen5/software/FFTW/3.3.10-llvm-compilers-20.1.8/lib -L/cvmfs/software.eessi.io/versions/2025.06/so
ftware/linux/x86_64/amd/zen5/software/FlexiBLAS/3.4.5-llvm-compilers-20.1.8/lib64 -L/cvmfs/software.eessi.io/versions/2025.06/software/linux/x86_64/amd/zen5/software/FlexiBLAS/3.4.5-ll
vm-compilers-20.1.8/lib -L/cvmfs/software.eessi.io/versions/2025.06/software/linux/x86_64/amd/zen5/software/OpenMPI/5.0.8-llvm-compilers-20.1.8/lib64 -L/cvmfs/software.eessi.io/version
s/2025.06/software/linux/x86_64/amd/zen5/software/OpenMPI/5.0.8-llvm-compilers-20.1.8/lib -L/cvmfs/software.eessi.io/versions/2025.06/software/linux/x86_64/amd/zen5/software/LLVM/20.1.
8-GCCcore-14.3.0/lib64 -L/cvmfs/software.eessi.io/versions/2025.06/software/linux/x86_64/amd/zen5/software/LLVM/20.1.8-GCCcore-14.3.0/lib -L/cvmfs/software.eessi.io/versions/2025.06/so
ftware/linux/x86_64/amd/zen5/software/LLVM/20.1.8-GCCcore-14.3.0/bin/../lib/x86_64-unknown-linux-gnu -L/cvmfs/software.eessi.io/versions/2025.06/software/linux/x86_64/amd/zen5/software
/LLVM/20.1.8-GCCcore-14.3.0/lib/clang/20/lib/x86_64-unknown-linux-gnu -L/cvmfs/software.eessi.io/versions/2025.06/software/linux/x86_64/amd/zen5/software/GCCcore/14.3.0/lib/gcc/x86_64-
pc-linux-gnu/14.3.0 -L/cvmfs/software.eessi.io/versions/2025.06/compat/linux/x86_64/lib/../lib64 -L/cvmfs/software.eessi.io/versions/2025.06/compat/linux/x86_64/usr/lib/../lib64 -L/cvm
fs/software.eessi.io/versions/2025.06/compat/linux/x86_64/lib -L/cvmfs/software.eessi.io/versions/2025.06/compat/linux/x86_64/usr/lib -L/cvmfs/software.eessi.io/versions/2025.06/softwa
re/linux/x86_64/amd/zen5/software/libtool/2.5.4-GCCcore-14.3.0/lib -L/cvmfs/software.eessi.io/versions/2025.06/software/linux/x86_64/amd/zen5/software/Perl/5.40.2-GCCcore-14.3.0/lib -L
/cvmfs/software.eessi.io/versions/2025.06/software/linux/x86_64/amd/zen5/software/OpenBLAS/0.3.30-llvm-compilers-20.1.8/lib -L/cvmfs/software.eessi.io/versions/2025.06/software/linux/x
86_64/amd/zen5/software/UCC/1.4.4-GCCcore-14.3.0/lib -L/cvmfs/software.eessi.io/versions/2025.06/software/linux/x86_64/amd/zen5/software/PRRTE/3.0.11-GCCcore-14.3.0/lib -L/cvmfs/softwa
re.eessi.io/versions/2025.06/software/linux/x86_64/amd/zen5/software/PMIx/5.0.8-GCCcore-14.3.0/lib -L/cvmfs/software.eessi.io/versions/2025.06/software/linux/x86_64/amd/zen5/software/l
ibfabric/2.1.0-GCCcore-14.3.0/lib -L/cvmfs/software.eessi.io/versions/2025.06/software/linux/x86_64/amd/zen5/software/UCX/1.19.0-GCCcore-14.3.0/lib -L/cvmfs/software.eessi.io/versions/
2025.06/software/linux/x86_64/amd/zen5/software/libevent/2.1.12-GCCcore-14.3.0/lib -L/cvmfs/software.eessi.io/versions/2025.06/software/linux/x86_64/amd/zen5/software/hwloc/2.12.1-GCCc
ore-14.3.0/lib -L/cvmfs/software.eessi.io/versions/2025.06/software/linux/x86_64/amd/zen5/software/libpciaccess/0.18.1-GCCcore-14.3.0/lib -L/cvmfs/software.eessi.io/versions/2025.06/so
ftware/linux/x86_64/amd/zen5/software/numactl/2.0.19-GCCcore-14.3.0/lib -L/cvmfs/software.eessi.io/versions/2025.06/software/linux/x86_64/amd/zen5/software/LLVM/20.1.8-GCCcore-14.3.0/l
ib/x86_64-unknown-linux-gnu -L/cvmfs/software.eessi.io/versions/2025.06/software/linux/x86_64/amd/zen5/software/zstd/1.5.7-GCCcore-14.3.0/lib -L/cvmfs/software.eessi.io/versions/2025.0
6/software/linux/x86_64/amd/zen5/software/lz4/1.10.0-GCCcore-14.3.0/lib -L/cvmfs/software.eessi.io/versions/2025.06/software/linux/x86_64/amd/zen5/software/Z3/4.15.1-GCCcore-14.3.0/lib
 -L/cvmfs/software.eessi.io/versions/2025.06/software/linux/x86_64/amd/zen5/software/GMP/6.3.0-GCCcore-14.3.0/lib -L/cvmfs/software.eessi.io/versions/2025.06/software/linux/x86_64/amd/
zen5/software/Python/3.13.5-GCCcore-14.3.0/lib -L/cvmfs/software.eessi.io/versions/2025.06/software/linux/x86_64/amd/zen5/software/OpenSSL/3/lib64 -L/cvmfs/software.eessi.io/versions/2
025.06/software/linux/x86_64/amd/zen5/software/SQLite/3.50.1-GCCcore-14.3.0/lib -L/cvmfs/software.eessi.io/versions/2025.06/software/linux/x86_64/amd/zen5/software/Tcl/9.0.1-GCCcore-14
.3.0/lib -L/cvmfs/software.eessi.io/versions/2025.06/software/linux/x86_64/amd/zen5/software/libtommath/1.3.0-GCCcore-14.3.0/lib -L/cvmfs/software.eessi.io/versions/2025.06/software/li
nux/x86_64/amd/zen5/software/libxml2/2.14.3-GCCcore-14.3.0/lib -L/cvmfs/software.eessi.io/versions/2025.06/software/linux/x86_64/amd/zen5/software/libffi/3.5.1-GCCcore-14.3.0/lib64 -L/
cvmfs/software.eessi.io/versions/2025.06/software/linux/x86_64/amd/zen5/software/libffi/3.5.1-GCCcore-14.3.0/lib -L/cvmfs/software.eessi.io/versions/2025.06/software/linux/x86_64/amd/z
en5/software/GCCcore/14.3.0/lib -lm -lpthread -lFortranRuntime -lFortranDecimal
checking for dummy main to link with Fortran libraries... unknown
configure: error: in '/tmp/bot/easybuild/build/Hypre/2.33.0/lfoss-2025b/hypre-2.33.0/src':
configure: error: linking to Fortran libraries from C fails
See 'config.log' for more details

@bedroge

bedroge commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator

The Grace build has failing numpy tests:

=================================== FAILURES ===================================
________________________ TestDet.test_types[complex64] _________________________

self = <numpy.linalg.tests.test_linalg.TestDet object at 0xffff0d025220>
dtype = <class 'numpy.complex64'>

    @pytest.mark.parametrize('dtype', [single, double, csingle, cdouble])
    def test_types(self, dtype):
        x = np.array([[1, 0.5], [0.5, 1]], dtype=dtype)
>       assert_equal(np.linalg.det(x).dtype, dtype)
                     ^^^^^^^^^^^^^^^^

dtype      = <class 'numpy.complex64'>
self       = <numpy.linalg.tests.test_linalg.TestDet object at 0xffff0d025220>
x          = array([[1. +0.j, 0.5+0.j],
       [0.5+0.j, 1. +0.j]], dtype=complex64)

numpy/linalg/tests/test_linalg.py:945: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

a = array([[1. +0.j, 0.5+0.j],
       [0.5+0.j, 1. +0.j]], dtype=complex64)

    @array_function_dispatch(_unary_dispatcher)
    def det(a):
        """
        Compute the determinant of an array.
    
        Parameters
        ----------
        a : (..., M, M) array_like
            Input array to compute determinants for.
    
        Returns
        -------
        det : (...) array_like
            Determinant of `a`.
    
        See Also
        --------
        slogdet : Another way to represent the determinant, more suitable
          for large matrices where underflow/overflow may occur.
        scipy.linalg.det : Similar function in SciPy.
    
        Notes
        -----
        Broadcasting rules apply, see the `numpy.linalg` documentation for
        details.
    
        The determinant is computed via LU factorization using the LAPACK
        routine ``z/dgetrf``.
    
        Examples
        --------
        The determinant of a 2-D array [[a, b], [c, d]] is ad - bc:
    
        >>> import numpy as np
        >>> a = np.array([[1, 2], [3, 4]])
        >>> np.linalg.det(a)
        -2.0 # may vary
    
        Computing determinants for a stack of matrices:
    
        >>> a = np.array([ [[1, 2], [3, 4]], [[1, 2], [2, 1]], [[1, 3], [3, 1]] ])
        >>> a.shape
        (3, 2, 2)
        >>> np.linalg.det(a)
        array([-2., -3., -8.])
    
        """
        a = asarray(a)
        _assert_stacked_square(a)
        t, result_t = _commonType(a)
        signature = 'D->D' if isComplexType(t) else 'd->d'
>       r = _umath_linalg.det(a, signature=signature)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E       RuntimeWarning: divide by zero encountered in det

a          = array([[1. +0.j, 0.5+0.j],
       [0.5+0.j, 1. +0.j]], dtype=complex64)
result_t   = <class 'numpy.complex64'>
signature  = 'D->D'
t          = <class 'numpy.complex128'>

numpy/linalg/_linalg.py:2430: RuntimeWarning
________________________ TestDet.test_types[complex128] ________________________

self = <numpy.linalg.tests.test_linalg.TestDet object at 0xffff0c823770>
dtype = <class 'numpy.complex128'>

    @pytest.mark.parametrize('dtype', [single, double, csingle, cdouble])
    def test_types(self, dtype):
        x = np.array([[1, 0.5], [0.5, 1]], dtype=dtype)
>       assert_equal(np.linalg.det(x).dtype, dtype)
                     ^^^^^^^^^^^^^^^^

dtype      = <class 'numpy.complex128'>
self       = <numpy.linalg.tests.test_linalg.TestDet object at 0xffff0c823770>
x          = array([[1. +0.j, 0.5+0.j],
       [0.5+0.j, 1. +0.j]])

numpy/linalg/tests/test_linalg.py:945: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

a = array([[1. +0.j, 0.5+0.j],
       [0.5+0.j, 1. +0.j]])

    @array_function_dispatch(_unary_dispatcher)
    def det(a):
        """
        Compute the determinant of an array.
    
        Parameters
        ----------
        a : (..., M, M) array_like
            Input array to compute determinants for.
    
        Returns
        -------
        det : (...) array_like
            Determinant of `a`.
    
        See Also
        --------
        slogdet : Another way to represent the determinant, more suitable
          for large matrices where underflow/overflow may occur.
        scipy.linalg.det : Similar function in SciPy.
    
        Notes
        -----
        Broadcasting rules apply, see the `numpy.linalg` documentation for
        details.
    
        The determinant is computed via LU factorization using the LAPACK
        routine ``z/dgetrf``.
    
        Examples
        --------
        The determinant of a 2-D array [[a, b], [c, d]] is ad - bc:
    
        >>> import numpy as np
        >>> a = np.array([[1, 2], [3, 4]])
        >>> np.linalg.det(a)
        -2.0 # may vary
    
        Computing determinants for a stack of matrices:
    
        >>> a = np.array([ [[1, 2], [3, 4]], [[1, 2], [2, 1]], [[1, 3], [3, 1]] ])
        >>> a.shape
        (3, 2, 2)
        >>> np.linalg.det(a)
        array([-2., -3., -8.])
    
        """
        a = asarray(a)
        _assert_stacked_square(a)
        t, result_t = _commonType(a)
        signature = 'D->D' if isComplexType(t) else 'd->d'
>       r = _umath_linalg.det(a, signature=signature)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E       RuntimeWarning: divide by zero encountered in det

a          = array([[1. +0.j, 0.5+0.j],
       [0.5+0.j, 1. +0.j]])
result_t   = <class 'numpy.complex128'>
signature  = 'D->D'
t          = <class 'numpy.complex128'>

numpy/linalg/_linalg.py:2430: RuntimeWarning
=========================== short test summary info ============================
FAILED numpy/linalg/tests/test_linalg.py::TestDet::test_types[complex64] - Ru...
FAILED numpy/linalg/tests/test_linalg.py::TestDet::test_types[complex128] - R...
= 2 failed, 43508 passed, 332 skipped, 2819 deselected, 33 xfailed, 1539 xpassed in 501.42s (0:08:21) =

@bedroge

bedroge commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator

a64fx has the same failing numpy tests.

=========================== short test summary info ============================
FAILED numpy/linalg/tests/test_linalg.py::TestDet::test_types[complex64] - Ru...
FAILED numpy/linalg/tests/test_linalg.py::TestDet::test_types[complex128] - R...
= 2 failed, 43512 passed, 328 skipped, 2819 deselected, 33 xfailed, 1539 xpassed in 2166.92s (0:36:06) =

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2025.06-software.eessi.io 2025.06 version of software.eessi.io

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants