Source: petsc4py
Version: 3.18.2-1
Severity: serious
X-Debbugs-CC: nu...@packages.debian.org
Tags: sid bookworm
User: debian...@lists.debian.org
Usertags: needs-update
Control: affects -1 src:numpy

Dear maintainer(s),

With a recent upload of numpy the autopkgtest of petsc4py fails in testing when that autopkgtest is run with the binary packages of numpy from unstable. It passes when run with only packages from testing. In tabular form:

                       pass            fail
numpy                  from testing    1:1.23.5-2
petsc4py               from testing    3.18.2-1
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration of numpy to testing [1]. Of course, numpy shouldn't just break your autopkgtest (or even worse, your package), but it seems to me that the change in numpy was intended and your package needs to update to the new situation.

If this is a real problem in your package (and not only in your autopkgtest), the right binary package(s) from numpy should really add a versioned Breaks on the unfixed version of (one of your) package(s). Note: the Breaks is nice even if the issue is only in the autopkgtest as it helps the migration software to figure out the right versions to combine in the tests.

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=numpy

https://ci.debian.net/data/autopkgtest/testing/amd64/p/petsc4py/29469875/log.gz

Running petsc4py demos using PETSC_DIR=/usr/lib/petsc
Run demos (single processor) with python3
make: Entering directory '/tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos'
make -C petsc-examples
make[1]: Entering directory '/tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/petsc-examples'
make -C ksp
make[2]: Entering directory '/tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/petsc-examples/ksp'
python3 ex2.py
- Serial OK
mpiexec -n 2 python3 ex2.py
- Parallel OK
python3 ex23.py
- Serial OK
mpiexec -n 2 python3 ex23.py
- Parallel OK
make[2]: Leaving directory '/tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/petsc-examples/ksp' make[1]: Leaving directory '/tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/petsc-examples'
make -C binary-io
make[1]: Entering directory '/tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/binary-io'
python3 matvecio.py
rm -f matrix-*.dat* vector-*.dat*
rm -f *.py[co]
rm -f -r __pycache__
make[1]: Leaving directory '/tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/binary-io'
make -C kspsolve
make[1]: Entering directory '/tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/kspsolve'
python3 test_mat_cg.py
[0]PETSC ERROR: Unable to open display on :0.0
    Make sure your COMPUTE NODES are authorized to connect
    to this X server and either your DISPLAY variable
    is set or you use the -display name option
[0]PETSC ERROR: PETSc unable to use X windows
proceeding without graphics
iterations: 46 residual norm: 0.000303767
iterations: 46 residual norm: 0.000303767
python3 test_mat_ksp.py
[0]PETSC ERROR: Unable to open display on :0.0
    Make sure your COMPUTE NODES are authorized to connect
    to this X server and either your DISPLAY variable
    is set or you use the -display name option
[0]PETSC ERROR: PETSc unable to use X windows
proceeding without graphics
rm -f *.py[co]
rm -f -r __pycache__
make[1]: Leaving directory '/tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/kspsolve'
make -C bratu2d
make[1]: Entering directory '/tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/bratu2d'
python3 bratu2d.py -impl python
[0]PETSC ERROR: Unable to open display on :0.0
    Make sure your COMPUTE NODES are authorized to connect
    to this X server and either your DISPLAY variable
    is set or you use the -display name option
[0]PETSC ERROR: PETSc unable to use X windows
proceeding without graphics
f2py3 --noarch --f90flags='' -DF2PY_REPORT_ON_ARRAY_COPY=1 -c bratu2df90.f90 -m bratu2df90
running build
running config_cc
INFO: unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
INFO: unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
INFO: build_src
INFO: building extension "bratu2df90" sources
INFO: f2py options: []
INFO: f2py:> /tmp/tmp50_plbq5/src.linux-x86_64-3.10/bratu2df90module.c
creating /tmp/tmp50_plbq5/src.linux-x86_64-3.10
Reading fortran codes...
        Reading file 'bratu2df90.f90' (format:free)
Post-processing...
        Block: bratu2df90
                        Block: bratu2d
Post-processing (stage 2)...
Building modules...
    Building module "bratu2df90"...
    Generating possibly empty wrappers"
    Maybe empty "bratu2df90-f2pywrappers.f"
        Constructing wrapper function "bratu2d"...
          bratu2d(alpha,x,f)
Wrote C/API module "bratu2df90" to file "/tmp/tmp50_plbq5/src.linux-x86_64-3.10/bratu2df90module.c" INFO: adding '/tmp/tmp50_plbq5/src.linux-x86_64-3.10/fortranobject.c' to sources.
INFO:   adding '/tmp/tmp50_plbq5/src.linux-x86_64-3.10' to include_dirs.
copying /usr/lib/python3/dist-packages/numpy/f2py/src/fortranobject.c -> /tmp/tmp50_plbq5/src.linux-x86_64-3.10 copying /usr/lib/python3/dist-packages/numpy/f2py/src/fortranobject.h -> /tmp/tmp50_plbq5/src.linux-x86_64-3.10 INFO: adding '/tmp/tmp50_plbq5/src.linux-x86_64-3.10/bratu2df90-f2pywrappers.f' to sources.
INFO: build_src: building npy-pkg config files
running build_ext
INFO: customize UnixCCompiler
INFO: customize UnixCCompiler using build_ext
INFO: get_default_fcompiler: matching types: '['arm', 'gnu95', 'intel', 'lahey', 'pg', 'nv', 'absoft', 'nag', 'vast', 'compaq', 'intele', 'intelem', 'gnu', 'g95', 'pathf95', 'nagfor', 'fujitsu']'
INFO: customize ArmFlangCompiler
WARN: Could not locate executable armflang
INFO: customize Gnu95FCompiler
INFO: Found executable /usr/bin/gfortran
INFO: customize Gnu95FCompiler
INFO: customize Gnu95FCompiler using build_ext
INFO: building 'bratu2df90' extension
INFO: compiling C sources
INFO: C compiler: x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

creating /tmp/tmp50_plbq5/tmp
creating /tmp/tmp50_plbq5/tmp/tmp50_plbq5
creating /tmp/tmp50_plbq5/tmp/tmp50_plbq5/src.linux-x86_64-3.10
INFO: compile options: '-DF2PY_REPORT_ON_ARRAY_COPY=1 -DNPY_DISABLE_OPTIMIZATION=1 -I/tmp/tmp50_plbq5/src.linux-x86_64-3.10 -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.10 -c' INFO: x86_64-linux-gnu-gcc: /tmp/tmp50_plbq5/src.linux-x86_64-3.10/bratu2df90module.c INFO: x86_64-linux-gnu-gcc: /tmp/tmp50_plbq5/src.linux-x86_64-3.10/fortranobject.c In file included from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1948, from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib/python3/dist-packages/numpy/core/include/numpy/arrayobject.h:5, from /tmp/tmp50_plbq5/src.linux-x86_64-3.10/fortranobject.h:13, from /tmp/tmp50_plbq5/src.linux-x86_64-3.10/fortranobject.c:2: /usr/lib/python3/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
   17 | #warning "Using deprecated NumPy API, disable it with " \
      |  ^~~~~~~
In file included from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1948, from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib/python3/dist-packages/numpy/core/include/numpy/arrayobject.h:5, from /tmp/tmp50_plbq5/src.linux-x86_64-3.10/fortranobject.h:13, from /tmp/tmp50_plbq5/src.linux-x86_64-3.10/bratu2df90module.c:23: /usr/lib/python3/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
   17 | #warning "Using deprecated NumPy API, disable it with " \
      |  ^~~~~~~
/tmp/tmp50_plbq5/src.linux-x86_64-3.10/bratu2df90module.c:116:12: warning: ‘f2py_size’ defined but not used [-Wunused-function]
  116 | static int f2py_size(PyArrayObject* var, ...)
      |            ^~~~~~~~~
INFO: compiling Fortran sources
INFO: Fortran f77 compiler: /usr/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -fPIC -O3 -funroll-loops
Fortran f90 compiler: /usr/bin/gfortran -fPIC -O3 -funroll-loops
Fortran fix compiler: /usr/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -fPIC -O3 -funroll-loops INFO: compile options: '-DF2PY_REPORT_ON_ARRAY_COPY=1 -I/tmp/tmp50_plbq5/src.linux-x86_64-3.10 -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.10 -c'
INFO: gfortran:f90: bratu2df90.f90
INFO: gfortran:f77: /tmp/tmp50_plbq5/src.linux-x86_64-3.10/bratu2df90-f2pywrappers.f INFO: /usr/bin/gfortran -Wall -g -Wall -g -shared /tmp/tmp50_plbq5/tmp/tmp50_plbq5/src.linux-x86_64-3.10/bratu2df90module.o /tmp/tmp50_plbq5/tmp/tmp50_plbq5/src.linux-x86_64-3.10/fortranobject.o /tmp/tmp50_plbq5/bratu2df90.o /tmp/tmp50_plbq5/tmp/tmp50_plbq5/src.linux-x86_64-3.10/bratu2df90-f2pywrappers.o -L/usr/lib/gcc/x86_64-linux-gnu/12 -L/usr/lib/gcc/x86_64-linux-gnu/12 -lgfortran -o ./bratu2df90.cpython-310-x86_64-linux-gnu.so
Removing build directory /tmp/tmp50_plbq5
python3 bratu2d.py -impl fortran
[0]PETSC ERROR: Unable to open display on :0.0
    Make sure your COMPUTE NODES are authorized to connect
    to this X server and either your DISPLAY variable
    is set or you use the -display name option
[0]PETSC ERROR: PETSc unable to use X windows
proceeding without graphics
rm -f *.py[co] bratu2df90*.so
rm -f -r __pycache__
make[1]: Leaving directory '/tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/bratu2d'
make -C bratu3d
make[1]: Entering directory '/tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/bratu3d'
python3 bratu3d.py -fd -nx 7 -ny 8 -nz 9
python3 bratu3d.py -mf -nx 9 -ny 8 -nz 7
rm -f *.py[co]
rm -f -r __pycache__
make[1]: Leaving directory '/tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/bratu3d'
make -C poisson2d
make[1]: Entering directory '/tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/poisson2d'
python3 poisson2d.py -nx 15 -ny 16
[0]PETSC ERROR: Unable to open display on :0.0
    Make sure your COMPUTE NODES are authorized to connect
    to this X server and either your DISPLAY variable
    is set or you use the -display name option
[0]PETSC ERROR: PETSc unable to use X windows
proceeding without graphics
rm -f *.py[co]
rm -f -r __pycache__
make[1]: Leaving directory '/tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/poisson2d'
make -C poisson3d
make[1]: Entering directory '/tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/poisson3d' f2py3 --quiet --noarch --f90flags='' -DF2PY_REPORT_ON_ARRAY_COPY=1 -c del2lib.f90 -m del2lib
WARN: Could not locate executable armflang
python3 poisson3d.py
[0]PETSC ERROR: ------------------------------------------------------------------------ [0]PETSC ERROR: Caught signal number 11 SEGV: Segmentation Violation, probably memory access out of range
[0]PETSC ERROR: Try option -start_in_debugger or -on_error_attach_debugger
[0]PETSC ERROR: or see https://petsc.org/release/faq/#valgrind and https://petsc.org/release/faq/ [0]PETSC ERROR: configure using --with-debugging=yes, recompile, link, and run [0]PETSC ERROR: to get more information on the crash. [0]PETSC ERROR: Run with -malloc_debug to check if memory corruption is causing the crash.
--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD
with errorcode 59.

NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
--------------------------------------------------------------------------
make[1]: *** [makefile:22: run_py] Error 59
make[1]: Leaving directory '/tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/poisson3d'
make: *** [makefile:9: all] Error 2
make: Leaving directory '/tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos'
Run demos (MPI) with python3
make: Entering directory '/tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos'
make -C binary-io
make[1]: Entering directory '/tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/binary-io'
mpiexec -n 4 python3 matvecio.py
rm -f matrix-*.dat* vector-*.dat*
rm -f *.py[co]
rm -f -r __pycache__
make[1]: Leaving directory '/tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/binary-io'
make -C kspsolve
make[1]: Entering directory '/tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/kspsolve'
mpiexec -n 4 python3 test_mat_cg.py
iterations: 46 residual norm: 0.000303767
iterations: 46 residual norm: 0.000303767
iterations: 46 residual norm: 0.000303767
iterations: 46 residual norm: 0.000303767
iterations: 46 residual norm: 0.000303767
iterations: 46 residual norm: 0.000303767
iterations: 46 residual norm: 0.000303767
iterations: 46 residual norm: 0.000303767
[1]PETSC ERROR: Unable to open display on :0.0
    Make sure your COMPUTE NODES are authorized to connect
    to this X server and either your DISPLAY variable
    is set or you use the -display name option
[1]PETSC ERROR: PETSc unable to use X windows
proceeding without graphics
[0]PETSC ERROR: Unable to open display on :0.0
    Make sure your COMPUTE NODES are authorized to connect
    to this X server and either your DISPLAY variable
    is set or you use the -display name option
[0]PETSC ERROR: PETSc unable to use X windows
proceeding without graphics
[2]PETSC ERROR: Unable to open display on :0.0
    Make sure your COMPUTE NODES are authorized to connect
    to this X server and either your DISPLAY variable
    is set or you use the -display name option
[2]PETSC ERROR: PETSc unable to use X windows
proceeding without graphics
[3]PETSC ERROR: Unable to open display on :0.0
    Make sure your COMPUTE NODES are authorized to connect
    to this X server and either your DISPLAY variable
    is set or you use the -display name option
[3]PETSC ERROR: PETSc unable to use X windows
proceeding without graphics
mpiexec -n 4 python3 test_mat_ksp.py
[3]PETSC ERROR: [1]PETSC ERROR: Unable to open display on :0.0
    Make sure your COMPUTE NODES are authorized to connect
    to this X server and either your DISPLAY variable
    is set or you use the -display name option
[1]PETSC ERROR: PETSc unable to use X windows
proceeding without graphics
Unable to open display on :0.0
    Make sure your COMPUTE NODES are authorized to connect
    to this X server and either your DISPLAY variable
    is set or you use the -display name option
[3]PETSC ERROR: PETSc unable to use X windows
proceeding without graphics
[0]PETSC ERROR: [2]PETSC ERROR: Unable to open display on :0.0
    Make sure your COMPUTE NODES are authorized to connect
    to this X server and either your DISPLAY variable
    is set or you use the -display name option
[2]PETSC ERROR: PETSc unable to use X windows
proceeding without graphics
Unable to open display on :0.0
    Make sure your COMPUTE NODES are authorized to connect
    to this X server and either your DISPLAY variable
    is set or you use the -display name option
[0]PETSC ERROR: PETSc unable to use X windows
proceeding without graphics
rm -f *.py[co]
rm -f -r __pycache__
make[1]: Leaving directory '/tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/kspsolve'
make -C bratu3d
make[1]: Entering directory '/tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/bratu3d'
mpiexec -n 4 python3 bratu3d.py -fd -nx 7 -ny 8 -nz 9
mpiexec -n 4 python3 bratu3d.py -mf -nx 9 -ny 8 -nz 7
rm -f *.py[co]
rm -f -r __pycache__
make[1]: Leaving directory '/tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/bratu3d'
make -C poisson2d
make[1]: Entering directory '/tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/poisson2d'
mpiexec -n 4 python3 poisson2d.py -nx 15 -ny 16
[3]PETSC ERROR: Unable to open display on :0.0
    Make sure your COMPUTE NODES are authorized to connect
    to this X server and either your DISPLAY variable
    is set or you use the -display name option
[3]PETSC ERROR: [0]PETSC ERROR: Unable to open display on :0.0
    Make sure your COMPUTE NODES are authorized to connect
    to this X server and either your DISPLAY variable
    is set or you use the -display name option
[0]PETSC ERROR: PETSc unable to use X windows
proceeding without graphics
PETSc unable to use X windows
proceeding without graphics
[2]PETSC ERROR: Unable to open display on :0.0
    Make sure your COMPUTE NODES are authorized to connect
    to this X server and either your DISPLAY variable
    is set or you use the -display name option
[2]PETSC ERROR: PETSc unable to use X windows
proceeding without graphics
[1]PETSC ERROR: Unable to open display on :0.0
    Make sure your COMPUTE NODES are authorized to connect
    to this X server and either your DISPLAY variable
    is set or you use the -display name option
[1]PETSC ERROR: PETSc unable to use X windows
proceeding without graphics
rm -f *.py[co]
rm -f -r __pycache__
make[1]: Leaving directory '/tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/poisson2d'
make -C perftest
make[1]: Entering directory '/tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/perftest'
make -f makefile.f2py
make[2]: Entering directory '/tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/perftest' f2py3 --quiet --noarch --f90flags='' -DF2PY_REPORT_ON_ARRAY_COPY=1 -m App -c App.pyf App.f90
WARN: Could not locate executable armflang
make[2]: Leaving directory '/tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/perftest'
mpiexec -n 4 python3 driver.py
Grid  13 x  13 x  13 -> 0.393549  seconds ( 1 samples)
make -f makefile.petsc \
        PETSC_DIR=/usr/lib/petsc PETSC_ARCH=
make[2]: Entering directory '/tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/perftest' mpif90 -c -g -O2 -ffile-prefix-map=/build/petsc-gfEpUh/petsc-3.18.2+dfsg1=. -fstack-protector-strong -fPIC -ffree-line-length-0 -I/usr/lib/petscdir/petsc3.18/x86_64-linux-gnu-real/include -I/usr/include/hypre -I/usr/include/suitesparse -I/usr/include/superlu -I/usr/include/superlu-dist -I/usr/include/trilinos -I/usr/include/scotch -I/usr/include/hdf5/openmpi App.f90 mpicc -c -g -O2 -ffile-prefix-map=/build/petsc-gfEpUh/petsc-3.18.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/lib/petscdir/petsc3.18/x86_64-linux-gnu-real/include -I/usr/include/hypre -I/usr/include/suitesparse -I/usr/include/superlu -I/usr/include/superlu-dist -I/usr/include/trilinos -I/usr/include/scotch -I/usr/include/hdf5/openmpi -Wdate-time -D_FORTIFY_SOURCE=2 `pwd`/driver.c mpicc -Wl,-z,relro -fPIC -g -O2 -ffile-prefix-map=/build/petsc-gfEpUh/petsc-3.18.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -o driver.exe driver.o App.o -L/usr/lib/petscdir/petsc3.18/x86_64-linux-gnu-real/lib -L/usr/lib/petscdir/petsc3.18/x86_64-linux-gnu-real/lib -L/usr/lib/x86_64-linux-gnu/hdf5/openmpi -L/usr/lib/x86_64-linux-gnu/openmpi/lib -L/usr/lib/x86_64-linux-gnu/openmpi/lib/fortran/gfortran -L/usr/lib/gcc/x86_64-linux-gnu/12 -lpetsc_real -lHYPRE -lspqr -lumfpack -lamd -lcholmod -lklu -ldmumps -lzmumps -lsmumps -lcmumps -lmumps_common -lpord -lscalapack-openmpi -lsuperlu -lsuperlu_dist -ltrilinos_ml -lfftw3 -lfftw3_mpi -llapack -lblas -ltrilinos_zoltan -lptesmumps -lptscotch -lptscotcherr -lhdf5 -lmpi -lm -lOpenCL -lyaml -lX11 -lstdc++ -ldl -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lopen-rte -lopen-pal -lhwloc -levent_core -levent_pthreads -lgfortran -lm -lz -lgfortran -lm -lgfortran -lgcc_s -lquadmath -lstdc++ -ldl
/bin/rm -f driver.o App.o
make[2]: Leaving directory '/tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/perftest'
mpiexec -n 4 ./driver.exe
Grid   13 x  13 x  13 -> 0.321691 seconds ( 1 samples)
Grid   13 x  13 x  13 -> 0.364944 seconds ( 1 samples)
Grid   13 x  13 x  13 -> 0.386227 seconds ( 1 samples)
Grid   13 x  13 x  13 -> 0.386798 seconds ( 1 samples)
rm -f -r __pycache__ *.py[co]
rm -f App.so driver.exe
make[1]: Leaving directory '/tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/perftest'
make -C wrap-swig
make[1]: Entering directory '/tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/wrap-swig' CC=mpicc F90=mpif90 LDSHARED='mpicc -Wl,-z,relro -fPIC -g -O2 -ffile-prefix-map=/build/petsc-gfEpUh/petsc-3.18.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -shared' \
python3 setup.py -q build_ext --inplace
/tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/wrap-swig/setup.py:7: DeprecationWarning:
  `numpy.distutils` is deprecated since NumPy 1.23.0, as a result
  of the deprecation of `distutils` itself. It will be removed for
  Python >= 3.12. For older Python versions it will remain present.
  It is recommended to use `setuptools < 60.0` for those Python versions.
  For more details, see:
    https://numpy.org/devdocs/reference/distutils_status_migration.html

  from numpy.distutils.fcompiler     import FCompiler
WARN: CCompilerOpt.__init__[1240] : feature 'XOP' is disabled, Intel Compiler doesn't support it WARN: CCompilerOpt.__init__[1240] : feature 'FMA4' is disabled, Intel Compiler doesn't support it WARN: CCompilerOpt.dist_test[630] : CCompilerOpt._dist_test_spawn[764] : Command (mpicc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.10 -c /usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_popcnt.c -o /tmp/tmpm3i5nv3r/usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_popcnt.o -MMD -MF /tmp/tmpm3i5nv3r/usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_popcnt.o.d -msse -msse2 -msse3 -mssse3 -msse4.1 -Werror) failed with exit status 1 output -> In file included from /usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_popcnt.c:17:
/usr/lib/gcc/x86_64-linux-gnu/12/include/popcntintrin.h: In function ‘main’:
/usr/lib/gcc/x86_64-linux-gnu/12/include/popcntintrin.h:35:1: error: inlining failed in call to ‘always_inline’ ‘_mm_popcnt_u32’: target specific option mismatch
   35 | _mm_popcnt_u32 (unsigned int __X)
      | ^~~~~~~~~~~~~~
/usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_popcnt.c:30:9: note: called from here
   30 |     b = _mm_popcnt_u32(b);
      |         ^~~~~~~~~~~~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/12/include/popcntintrin.h:42:1: error: inlining failed in call to ‘always_inline’ ‘_mm_popcnt_u64’: target specific option mismatch
   42 | _mm_popcnt_u64 (unsigned long long __X)
      | ^~~~~~~~~~~~~~
/usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_popcnt.c:28:9: note: called from here
   28 |     a = _mm_popcnt_u64(a);
      |         ^~~~~~~~~~~~~~~~~

WARN: CCompilerOpt.feature_test[1563] : testing failed
WARN: CCompilerOpt.dist_test[630] : CCompilerOpt._dist_test_spawn[764] : Command (mpicc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.10 -c /usr/lib/python3/dist-packages/numpy/distutils/checks/test_flags.c -o /tmp/tmpm3i5nv3r/usr/lib/python3/dist-packages/numpy/distutils/checks/test_flags.o -MMD -MF /tmp/tmpm3i5nv3r/usr/lib/python3/dist-packages/numpy/distutils/checks/test_flags.o.d -march=common-avx512) failed with exit status 1 output -> cc1: error: bad value ‘common-avx512’ for ‘-march=’ switch cc1: note: valid arguments to ‘-march=’ switch are: nocona core2 nehalem corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client rocketlake icelake-server cascadelake tigerlake cooperlake sapphirerapids alderlake bonnell atom silvermont slm goldmont goldmont-plus tremont knl knm x86-64 x86-64-v2 x86-64-v3 x86-64-v4 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 znver2 znver3 btver1 btver2 native

WARN: CCompilerOpt.cc_test_flags[1077] : testing failed
WARN: CCompilerOpt.dist_test[630] : CCompilerOpt._dist_test_spawn[764] : Command (mpicc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.10 -c /usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_avx512f.c -o /tmp/tmpm3i5nv3r/usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_avx512f.o -MMD -MF /tmp/tmpm3i5nv3r/usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_avx512f.o.d -march=core-avx2 -Werror) failed with exit status 1 output -> /usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_avx512f.c: In function ‘main’: /usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_avx512f.c:18:13: error: AVX512F vector return without AVX512F enabled changes the ABI [-Werror=psabi] 18 | __m512i a = _mm512_abs_epi32(_mm512_loadu_si512((const __m512i*)argv[argc-1]));
      |             ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/12/include/immintrin.h:49, from /usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_avx512f.c:14: /usr/lib/gcc/x86_64-linux-gnu/12/include/avx512fintrin.h:15827:1: error: inlining failed in call to ‘always_inline’ ‘_mm512_castsi512_si128’: target specific option mismatch
15827 | _mm512_castsi512_si128 (__m512i __A)
      | ^~~~~~~~~~~~~~~~~~~~~~
/usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_avx512f.c:19:12: note: called from here
   19 |     return _mm_cvtsi128_si32(_mm512_castsi512_si128(a));
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/12/include/avx512fintrin.h:4057:1: error: inlining failed in call to ‘always_inline’ ‘_mm512_abs_epi32’: target specific option mismatch
 4057 | _mm512_abs_epi32 (__m512i __A)
      | ^~~~~~~~~~~~~~~~
/usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_avx512f.c:18:17: note: called from here 18 | __m512i a = _mm512_abs_epi32(_mm512_loadu_si512((const __m512i*)argv[argc-1])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-linux-gnu/12/include/avx512fintrin.h:6490:1: error: inlining failed in call to ‘always_inline’ ‘_mm512_loadu_si512’: target specific option mismatch
 6490 | _mm512_loadu_si512 (void const *__P)
      | ^~~~~~~~~~~~~~~~~~
/usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_avx512f.c:18:17: note: called from here 18 | __m512i a = _mm512_abs_epi32(_mm512_loadu_si512((const __m512i*)argv[argc-1])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors

WARN: CCompilerOpt.feature_test[1563] : testing failed
WARN: CCompilerOpt.dist_test[630] : CCompilerOpt._dist_test_spawn[764] : Command (mpicc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.10 -c /usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_f16c.c -o /tmp/tmpm3i5nv3r/usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_f16c.o -MMD -MF /tmp/tmpm3i5nv3r/usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_f16c.o.d -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -Werror) failed with exit status 1 output -> In file included from /usr/lib/gcc/x86_64-linux-gnu/12/include/immintrin.h:107, from /usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_f16c.c:15:
/usr/lib/gcc/x86_64-linux-gnu/12/include/f16cintrin.h: In function ‘main’:
/usr/lib/gcc/x86_64-linux-gnu/12/include/f16cintrin.h:52:1: error: inlining failed in call to ‘always_inline’ ‘_mm256_cvtph_ps’: target specific option mismatch
   52 | _mm256_cvtph_ps (__m128i __A)
      | ^~~~~~~~~~~~~~~
/usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_f16c.c:20:17: note: called from here 20 | __m256 a8 = _mm256_cvtph_ps(_mm_loadu_si128((const __m128i*)argv[argc-2])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-linux-gnu/12/include/f16cintrin.h:46:1: error: inlining failed in call to ‘always_inline’ ‘_mm_cvtph_ps’: target specific option mismatch
   46 | _mm_cvtph_ps (__m128i __A)
      | ^~~~~~~~~~~~
/usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_f16c.c:19:17: note: called from here 19 | __m128 a = _mm_cvtph_ps(_mm_loadu_si128((const __m128i*)argv[argc-1])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-linux-gnu/12/include/f16cintrin.h:46:1: error: inlining failed in call to ‘always_inline’ ‘_mm_cvtph_ps’: target specific option mismatch
   46 | _mm_cvtph_ps (__m128i __A)
      | ^~~~~~~~~~~~
/usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_f16c.c:19:17: note: called from here 19 | __m128 a = _mm_cvtph_ps(_mm_loadu_si128((const __m128i*)argv[argc-1])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-linux-gnu/12/include/f16cintrin.h:52:1: error: inlining failed in call to ‘always_inline’ ‘_mm256_cvtph_ps’: target specific option mismatch
   52 | _mm256_cvtph_ps (__m128i __A)
      | ^~~~~~~~~~~~~~~
/usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_f16c.c:20:17: note: called from here 20 | __m256 a8 = _mm256_cvtph_ps(_mm_loadu_si128((const __m128i*)argv[argc-2])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

WARN: CCompilerOpt.feature_test[1563] : testing failed
WARN: CCompilerOpt.dist_test[630] : CCompilerOpt._dist_test_spawn[764] : Command (mpicc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.10 -c /usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_avx512_cnl.c -o /tmp/tmpm3i5nv3r/usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_avx512_cnl.o -MMD -MF /tmp/tmpm3i5nv3r/usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_avx512_cnl.o.d -xCANNONLAKE -Werror) failed with exit status 1 output -> gcc: warning: ‘-x CANNONLAKE’ after last input file has no effect /usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_avx512_cnl.c: In function ‘main’: /usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_avx512_cnl.c:18:13: error: AVX512F vector return without AVX512F enabled changes the ABI [-Werror=psabi]
   18 |     __m512i a = _mm512_loadu_si512((const __m512i*)argv[argc-1]);
      |             ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/12/include/immintrin.h:49, from /usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_avx512_cnl.c:14: /usr/lib/gcc/x86_64-linux-gnu/12/include/avx512fintrin.h:15827:1: error: inlining failed in call to ‘always_inline’ ‘_mm512_castsi512_si128’: target specific option mismatch
15827 | _mm512_castsi512_si128 (__m512i __A)
      | ^~~~~~~~~~~~~~~~~~~~~~
/usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_avx512_cnl.c:23:12: note: called from here
   23 |     return _mm_cvtsi128_si32(_mm512_castsi512_si128(a));
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/gcc/x86_64-linux-gnu/12/include/immintrin.h:71: /usr/lib/gcc/x86_64-linux-gnu/12/include/avx512vbmiintrin.h:105:1: error: inlining failed in call to ‘always_inline’ ‘_mm512_permutex2var_epi8’: target specific option mismatch
  105 | _mm512_permutex2var_epi8 (__m512i __A, __m512i __I, __m512i __B)
      | ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_avx512_cnl.c:22:9: note: called from here
   22 |     a = _mm512_permutex2var_epi8(a, _mm512_setzero_si512(), a);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/12/include/avx512fintrin.h:334:1: error: inlining failed in call to ‘always_inline’ ‘_mm512_setzero_si512’: target specific option mismatch
  334 | _mm512_setzero_si512 (void)
      | ^~~~~~~~~~~~~~~~~~~~
/usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_avx512_cnl.c:22:9: note: called from here
   22 |     a = _mm512_permutex2var_epi8(a, _mm512_setzero_si512(), a);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/gcc/x86_64-linux-gnu/12/include/immintrin.h:67: /usr/lib/gcc/x86_64-linux-gnu/12/include/avx512ifmaintrin.h:49:1: error: inlining failed in call to ‘always_inline’ ‘_mm512_madd52hi_epu64’: target specific option mismatch
   49 | _mm512_madd52hi_epu64 (__m512i __X, __m512i __Y, __m512i __Z)
      | ^~~~~~~~~~~~~~~~~~~~~
/usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_avx512_cnl.c:20:9: note: called from here
   20 |     a = _mm512_madd52hi_epu64(a, a, _mm512_setzero_si512());
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/12/include/avx512fintrin.h:334:1: error: inlining failed in call to ‘always_inline’ ‘_mm512_setzero_si512’: target specific option mismatch
  334 | _mm512_setzero_si512 (void)
      | ^~~~~~~~~~~~~~~~~~~~
/usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_avx512_cnl.c:20:9: note: called from here
   20 |     a = _mm512_madd52hi_epu64(a, a, _mm512_setzero_si512());
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/12/include/avx512fintrin.h:6490:1: error: inlining failed in call to ‘always_inline’ ‘_mm512_loadu_si512’: target specific option mismatch
 6490 | _mm512_loadu_si512 (void const *__P)
      | ^~~~~~~~~~~~~~~~~~
/usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_avx512_cnl.c:18:17: note: called from here
   18 |     __m512i a = _mm512_loadu_si512((const __m512i*)argv[argc-1]);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors

WARN: CCompilerOpt.feature_test[1563] : testing failed
WARN: CCompilerOpt.generate_dispatch_header[2362] : dispatch header dir build/src.linux-x86_64-3.10/numpy/distutils/include does not exist, creating it
/bin/rm -f -r build Bratu3D_wrap.c
CC=mpicc F90=mpif90 LDSHARED='mpicc -Wl,-z,relro -fPIC -g -O2 -ffile-prefix-map=/build/petsc-gfEpUh/petsc-3.18.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -shared' \
python3 setup.py -q build_ext --inplace
/tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/wrap-swig/setup.py:7: DeprecationWarning:
  `numpy.distutils` is deprecated since NumPy 1.23.0, as a result
  of the deprecation of `distutils` itself. It will be removed for
  Python >= 3.12. For older Python versions it will remain present.
  It is recommended to use `setuptools < 60.0` for those Python versions.
  For more details, see:
    https://numpy.org/devdocs/reference/distutils_status_migration.html

  from numpy.distutils.fcompiler     import FCompiler
WARN: CCompilerOpt.__init__[1240] : feature 'XOP' is disabled, Intel Compiler doesn't support it WARN: CCompilerOpt.__init__[1240] : feature 'FMA4' is disabled, Intel Compiler doesn't support it WARN: CCompilerOpt.dist_test[630] : CCompilerOpt._dist_test_spawn[764] : Command (mpicc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.10 -c /usr/lib/python3/dist-packages/numpy/distutils/checks/test_flags.c -o /tmp/tmpllb8ew4f/usr/lib/python3/dist-packages/numpy/distutils/checks/test_flags.o -MMD -MF /tmp/tmpllb8ew4f/usr/lib/python3/dist-packages/numpy/distutils/checks/test_flags.o.d -march=common-avx512) failed with exit status 1 output -> cc1: error: bad value ‘common-avx512’ for ‘-march=’ switch cc1: note: valid arguments to ‘-march=’ switch are: nocona core2 nehalem corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client rocketlake icelake-server cascadelake tigerlake cooperlake sapphirerapids alderlake bonnell atom silvermont slm goldmont goldmont-plus tremont knl knm x86-64 x86-64-v2 x86-64-v3 x86-64-v4 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 znver2 znver3 btver1 btver2 native

WARN: CCompilerOpt.cc_test_flags[1077] : testing failed
WARN: CCompilerOpt.dist_test[630] : CCompilerOpt._dist_test_spawn[764] : Command (mpicc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.10 -c /usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_avx512f.c -o /tmp/tmpllb8ew4f/usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_avx512f.o -MMD -MF /tmp/tmpllb8ew4f/usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_avx512f.o.d -march=core-avx2 -Werror) failed with exit status 1 output -> /usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_avx512f.c: In function ‘main’: /usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_avx512f.c:18:13: error: AVX512F vector return without AVX512F enabled changes the ABI [-Werror=psabi] 18 | __m512i a = _mm512_abs_epi32(_mm512_loadu_si512((const __m512i*)argv[argc-1]));
      |             ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/12/include/immintrin.h:49, from /usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_avx512f.c:14: /usr/lib/gcc/x86_64-linux-gnu/12/include/avx512fintrin.h:15827:1: error: inlining failed in call to ‘always_inline’ ‘_mm512_castsi512_si128’: target specific option mismatch
15827 | _mm512_castsi512_si128 (__m512i __A)
      | ^~~~~~~~~~~~~~~~~~~~~~
/usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_avx512f.c:19:12: note: called from here
   19 |     return _mm_cvtsi128_si32(_mm512_castsi512_si128(a));
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/12/include/avx512fintrin.h:4057:1: error: inlining failed in call to ‘always_inline’ ‘_mm512_abs_epi32’: target specific option mismatch
 4057 | _mm512_abs_epi32 (__m512i __A)
      | ^~~~~~~~~~~~~~~~
/usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_avx512f.c:18:17: note: called from here 18 | __m512i a = _mm512_abs_epi32(_mm512_loadu_si512((const __m512i*)argv[argc-1])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-linux-gnu/12/include/avx512fintrin.h:6490:1: error: inlining failed in call to ‘always_inline’ ‘_mm512_loadu_si512’: target specific option mismatch
 6490 | _mm512_loadu_si512 (void const *__P)
      | ^~~~~~~~~~~~~~~~~~
/usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_avx512f.c:18:17: note: called from here 18 | __m512i a = _mm512_abs_epi32(_mm512_loadu_si512((const __m512i*)argv[argc-1])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors

WARN: CCompilerOpt.feature_test[1563] : testing failed
WARN: CCompilerOpt.dist_test[630] : CCompilerOpt._dist_test_spawn[764] : Command (mpicc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.10 -c /usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_f16c.c -o /tmp/tmpllb8ew4f/usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_f16c.o -MMD -MF /tmp/tmpllb8ew4f/usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_f16c.o.d -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -Werror) failed with exit status 1 output -> In file included from /usr/lib/gcc/x86_64-linux-gnu/12/include/immintrin.h:107, from /usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_f16c.c:15:
/usr/lib/gcc/x86_64-linux-gnu/12/include/f16cintrin.h: In function ‘main’:
/usr/lib/gcc/x86_64-linux-gnu/12/include/f16cintrin.h:52:1: error: inlining failed in call to ‘always_inline’ ‘_mm256_cvtph_ps’: target specific option mismatch
   52 | _mm256_cvtph_ps (__m128i __A)
      | ^~~~~~~~~~~~~~~
/usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_f16c.c:20:17: note: called from here 20 | __m256 a8 = _mm256_cvtph_ps(_mm_loadu_si128((const __m128i*)argv[argc-2])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-linux-gnu/12/include/f16cintrin.h:46:1: error: inlining failed in call to ‘always_inline’ ‘_mm_cvtph_ps’: target specific option mismatch
   46 | _mm_cvtph_ps (__m128i __A)
      | ^~~~~~~~~~~~
/usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_f16c.c:19:17: note: called from here 19 | __m128 a = _mm_cvtph_ps(_mm_loadu_si128((const __m128i*)argv[argc-1])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-linux-gnu/12/include/f16cintrin.h:46:1: error: inlining failed in call to ‘always_inline’ ‘_mm_cvtph_ps’: target specific option mismatch
   46 | _mm_cvtph_ps (__m128i __A)
      | ^~~~~~~~~~~~
/usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_f16c.c:19:17: note: called from here 19 | __m128 a = _mm_cvtph_ps(_mm_loadu_si128((const __m128i*)argv[argc-1])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-linux-gnu/12/include/f16cintrin.h:52:1: error: inlining failed in call to ‘always_inline’ ‘_mm256_cvtph_ps’: target specific option mismatch
   52 | _mm256_cvtph_ps (__m128i __A)
      | ^~~~~~~~~~~~~~~
/usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_f16c.c:20:17: note: called from here 20 | __m256 a8 = _mm256_cvtph_ps(_mm_loadu_si128((const __m128i*)argv[argc-2])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

WARN: CCompilerOpt.feature_test[1563] : testing failed
WARN: CCompilerOpt.dist_test[630] : CCompilerOpt._dist_test_spawn[764] : Command (mpicc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.10 -c /usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_popcnt.c -o /tmp/tmpllb8ew4f/usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_popcnt.o -MMD -MF /tmp/tmpllb8ew4f/usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_popcnt.o.d -msse -msse2 -msse3 -mssse3 -msse4.1 -Werror) failed with exit status 1 output -> In file included from /usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_popcnt.c:17:
/usr/lib/gcc/x86_64-linux-gnu/12/include/popcntintrin.h: In function ‘main’:
/usr/lib/gcc/x86_64-linux-gnu/12/include/popcntintrin.h:35:1: error: inlining failed in call to ‘always_inline’ ‘_mm_popcnt_u32’: target specific option mismatch
   35 | _mm_popcnt_u32 (unsigned int __X)
      | ^~~~~~~~~~~~~~
/usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_popcnt.c:30:9: note: called from here
   30 |     b = _mm_popcnt_u32(b);
      |         ^~~~~~~~~~~~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/12/include/popcntintrin.h:42:1: error: inlining failed in call to ‘always_inline’ ‘_mm_popcnt_u64’: target specific option mismatch
   42 | _mm_popcnt_u64 (unsigned long long __X)
      | ^~~~~~~~~~~~~~
/usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_popcnt.c:28:9: note: called from here
   28 |     a = _mm_popcnt_u64(a);
      |         ^~~~~~~~~~~~~~~~~

WARN: CCompilerOpt.feature_test[1563] : testing failed
WARN: CCompilerOpt.dist_test[630] : CCompilerOpt._dist_test_spawn[764] : Command (mpicc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.10 -c /usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_avx512_skx.c -o /tmp/tmpllb8ew4f/usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_avx512_skx.o -MMD -MF /tmp/tmpllb8ew4f/usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_avx512_skx.o.d -xSKYLAKE-AVX512 -Werror) failed with exit status 1 output -> gcc: warning: ‘-x SKYLAKE-AVX512’ after last input file has no effect /usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_avx512_skx.c: In function ‘main’: /usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_avx512_skx.c:18:13: error: AVX512F vector return without AVX512F enabled changes the ABI [-Werror=psabi] 18 | __m512i aa = _mm512_abs_epi32(_mm512_loadu_si512((const __m512i*)argv[argc-1]));
      |             ^~
/usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_avx512_skx.c:20:13: error: AVX vector return without AVX enabled changes the ABI [-Werror=psabi]
   20 |     __m256i a = _mm256_abs_epi64(_mm512_extracti64x4_epi64(aa, 1));
      |             ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/12/include/immintrin.h:49, from /usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_avx512_skx.c:14: /usr/lib/gcc/x86_64-linux-gnu/12/include/avx512fintrin.h:15827:1: error: inlining failed in call to ‘always_inline’ ‘_mm512_castsi512_si128’: target specific option mismatch
15827 | _mm512_castsi512_si128 (__m512i __A)
      | ^~~~~~~~~~~~~~~~~~~~~~
/usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_avx512_skx.c:25:12: note: called from here
   25 |     return _mm_cvtsi128_si32(_mm512_castsi512_si128(b));
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/gcc/x86_64-linux-gnu/12/include/immintrin.h:59: /usr/lib/gcc/x86_64-linux-gnu/12/include/avx512bwintrin.h:2397:1: error: inlining failed in call to ‘always_inline’ ‘_mm512_abs_epi16’: target specific option mismatch
 2397 | _mm512_abs_epi16 (__m512i __A)
      | ^~~~~~~~~~~~~~~~
/usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_avx512_skx.c:24:9: note: called from here
   24 |     b = _mm512_abs_epi16(b);
      |         ^~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/gcc/x86_64-linux-gnu/12/include/immintrin.h:61: /usr/lib/gcc/x86_64-linux-gnu/12/include/avx512dqintrin.h:341:1: error: inlining failed in call to ‘always_inline’ ‘_mm512_broadcast_i32x8’: target specific option mismatch
  341 | _mm512_broadcast_i32x8 (__m256i __A)
      | ^~~~~~~~~~~~~~~~~~~~~~
/usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_avx512_skx.c:22:17: note: called from here
   22 |     __m512i b = _mm512_broadcast_i32x8(a);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/gcc/x86_64-linux-gnu/12/include/immintrin.h:57: /usr/lib/gcc/x86_64-linux-gnu/12/include/avx512vlintrin.h:978:1: error: inlining failed in call to ‘always_inline’ ‘_mm256_abs_epi64’: target specific option mismatch
  978 | _mm256_abs_epi64 (__m256i __A)
      | ^~~~~~~~~~~~~~~~
/usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_avx512_skx.c:20:17: note: called from here
   20 |     __m256i a = _mm256_abs_epi64(_mm512_extracti64x4_epi64(aa, 1));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/12/include/avx512fintrin.h:6010:1: error: inlining failed in call to ‘always_inline’ ‘_mm512_extracti64x4_epi64’: target specific option mismatch
 6010 | _mm512_extracti64x4_epi64 (__m512i __A, const int __imm)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_avx512_skx.c:20:17: note: called from here
   20 |     __m256i a = _mm256_abs_epi64(_mm512_extracti64x4_epi64(aa, 1));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/12/include/avx512fintrin.h:4057:1: error: inlining failed in call to ‘always_inline’ ‘_mm512_abs_epi32’: target specific option mismatch
 4057 | _mm512_abs_epi32 (__m512i __A)
      | ^~~~~~~~~~~~~~~~
/usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_avx512_skx.c:18:18: note: called from here 18 | __m512i aa = _mm512_abs_epi32(_mm512_loadu_si512((const __m512i*)argv[argc-1])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-linux-gnu/12/include/avx512fintrin.h:6490:1: error: inlining failed in call to ‘always_inline’ ‘_mm512_loadu_si512’: target specific option mismatch
 6490 | _mm512_loadu_si512 (void const *__P)
      | ^~~~~~~~~~~~~~~~~~
/usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_avx512_skx.c:18:18: note: called from here 18 | __m512i aa = _mm512_abs_epi32(_mm512_loadu_si512((const __m512i*)argv[argc-1])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors

WARN: CCompilerOpt.feature_test[1563] : testing failed
WARN: CCompilerOpt.generate_dispatch_header[2362] : dispatch header dir build/src.linux-x86_64-3.10/numpy/distutils/include does not exist, creating it
/bin/rm -f -r build Bratu3D_wrap.c
mpiexec -n 4 python3 run_demo.py
/bin/rm -f Bratu3D.py _Bratu3D*.so
/bin/rm -f *.py[co]
/bin/rm -f -r __pycache__
make[1]: Leaving directory '/tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/wrap-swig'
make -C wrap-f2py
make[1]: Entering directory '/tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/wrap-f2py'
env \
F77="mpif90" F77FLAGS="-g -O2 -ffile-prefix-map=/build/petsc-gfEpUh/petsc-3.18.2+dfsg1=. -fstack-protector-strong -fPIC -ffree-line-length-0 " \ F90="mpif90" F90FLAGS="-g -O2 -ffile-prefix-map=/build/petsc-gfEpUh/petsc-3.18.2+dfsg1=. -fstack-protector-strong -fPIC -ffree-line-length-0 " \
        LDSHARED="mpif90" \
python3 setup.py -q build_ext --inplace
/tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/wrap-f2py/setup.py:7: DeprecationWarning:
  `numpy.distutils` is deprecated since NumPy 1.23.0, as a result
  of the deprecation of `distutils` itself. It will be removed for
  Python >= 3.12. For older Python versions it will remain present.
  It is recommended to use `setuptools < 60.0` for those Python versions.
  For more details, see:
    https://numpy.org/devdocs/reference/distutils_status_migration.html

  from numpy.distutils.fcompiler import FCompiler
getctype: "integer(kind=HANDLE_KIND)" is mapped to C "int" (to override define dict(integer = dict(HANDLE_KIND="<C typespec>")) in /tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/wrap-f2py/.f2py_f2cmap file). getctype: "integer(kind=HANDLE_KIND)" is mapped to C "int" (to override define dict(integer = dict(HANDLE_KIND="<C typespec>")) in /tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/wrap-f2py/.f2py_f2cmap file). getctype: "integer(kind=HANDLE_KIND)" is mapped to C "int" (to override define dict(integer = dict(HANDLE_KIND="<C typespec>")) in /tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/wrap-f2py/.f2py_f2cmap file). getctype: "integer(kind=HANDLE_KIND)" is mapped to C "int" (to override define dict(integer = dict(HANDLE_KIND="<C typespec>")) in /tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/wrap-f2py/.f2py_f2cmap file). getctype: "integer(kind=HANDLE_KIND)" is mapped to C "int" (to override define dict(integer = dict(HANDLE_KIND="<C typespec>")) in /tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/wrap-f2py/.f2py_f2cmap file). getctype: "integer(kind=HANDLE_KIND)" is mapped to C "int" (to override define dict(integer = dict(HANDLE_KIND="<C typespec>")) in /tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/wrap-f2py/.f2py_f2cmap file). getctype: "integer(kind=HANDLE_KIND)" is mapped to C "int" (to override define dict(integer = dict(HANDLE_KIND="<C typespec>")) in /tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/wrap-f2py/.f2py_f2cmap file). getctype: "integer(kind=HANDLE_KIND)" is mapped to C "int" (to override define dict(integer = dict(HANDLE_KIND="<C typespec>")) in /tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/wrap-f2py/.f2py_f2cmap file). getctype: "integer(kind=HANDLE_KIND)" is mapped to C "int" (to override define dict(integer = dict(HANDLE_KIND="<C typespec>")) in /tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/wrap-f2py/.f2py_f2cmap file). getctype: "integer(kind=HANDLE_KIND)" is mapped to C "int" (to override define dict(integer = dict(HANDLE_KIND="<C typespec>")) in /tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/wrap-f2py/.f2py_f2cmap file). getctype: "integer(kind=HANDLE_KIND)" is mapped to C "int" (to override define dict(integer = dict(HANDLE_KIND="<C typespec>")) in /tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/wrap-f2py/.f2py_f2cmap file). getctype: "integer(kind=HANDLE_KIND)" is mapped to C "int" (to override define dict(integer = dict(HANDLE_KIND="<C typespec>")) in /tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/wrap-f2py/.f2py_f2cmap file). getctype: "integer(kind=HANDLE_KIND)" is mapped to C "int" (to override define dict(integer = dict(HANDLE_KIND="<C typespec>")) in /tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/wrap-f2py/.f2py_f2cmap file). getctype: "integer(kind=HANDLE_KIND)" is mapped to C "int" (to override define dict(integer = dict(HANDLE_KIND="<C typespec>")) in /tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/wrap-f2py/.f2py_f2cmap file). getctype: "integer(kind=HANDLE_KIND)" is mapped to C "int" (to override define dict(integer = dict(HANDLE_KIND="<C typespec>")) in /tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/wrap-f2py/.f2py_f2cmap file). getctype: "integer(kind=HANDLE_KIND)" is mapped to C "int" (to override define dict(integer = dict(HANDLE_KIND="<C typespec>")) in /tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/wrap-f2py/.f2py_f2cmap file). getctype: "integer(kind=HANDLE_KIND)" is mapped to C "int" (to override define dict(integer = dict(HANDLE_KIND="<C typespec>")) in /tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/wrap-f2py/.f2py_f2cmap file). getctype: "integer(kind=HANDLE_KIND)" is mapped to C "int" (to override define dict(integer = dict(HANDLE_KIND="<C typespec>")) in /tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/wrap-f2py/.f2py_f2cmap file). getctype: "integer(kind=HANDLE_KIND)" is mapped to C "int" (to override define dict(integer = dict(HANDLE_KIND="<C typespec>")) in /tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/wrap-f2py/.f2py_f2cmap file). getctype: "integer(kind=HANDLE_KIND)" is mapped to C "int" (to override define dict(integer = dict(HANDLE_KIND="<C typespec>")) in /tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/wrap-f2py/.f2py_f2cmap file). getctype: "integer(kind=HANDLE_KIND)" is mapped to C "int" (to override define dict(integer = dict(HANDLE_KIND="<C typespec>")) in /tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/wrap-f2py/.f2py_f2cmap file). getctype: "integer(kind=HANDLE_KIND)" is mapped to C "int" (to override define dict(integer = dict(HANDLE_KIND="<C typespec>")) in /tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/wrap-f2py/.f2py_f2cmap file). getctype: "integer(kind=HANDLE_KIND)" is mapped to C "int" (to override define dict(integer = dict(HANDLE_KIND="<C typespec>")) in /tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/wrap-f2py/.f2py_f2cmap file). getctype: "integer(kind=HANDLE_KIND)" is mapped to C "int" (to override define dict(integer = dict(HANDLE_KIND="<C typespec>")) in /tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/wrap-f2py/.f2py_f2cmap file). WARN: CCompilerOpt.dist_test[630] : CCompilerOpt._dist_test_spawn[764] : Command (x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.10 -c /usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_avx512_knl.c -o /tmp/tmpubvn5675/usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_avx512_knl.o -MMD -MF /tmp/tmpubvn5675/usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_avx512_knl.o.d -msse -msse2 -msse3 -mssse3 -msse4.1 -mpopcnt -msse4.2 -mavx -mf16c -mfma -mavx2 -mavx512f -mno-mmx -mavx512cd -mavx512er -mavx512pf -Werror) failed with exit status 1 output -> In file included from /usr/lib/gcc/x86_64-linux-gnu/12/include/immintrin.h:51, from /usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_avx512_knl.c:14:
In function ‘_mm512_exp2a23_round_pd’,
inlined from ‘main’ at /usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_avx512_knl.c:21:17: /usr/lib/gcc/x86_64-linux-gnu/12/include/avx512erintrin.h:55:20: error: ‘__W’ is used uninitialized [-Werror=uninitialized]
   55 |   return (__m512d) __builtin_ia32_exp2pd_mask ((__v8df) __A,
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   56 |                                                (__v8df) __W,
      |                                                ~~~~~~~~~~~~~
   57 |                                                (__mmask8) -1, __R);
      |                                                ~~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/12/include/avx512erintrin.h: In function ‘main’: /usr/lib/gcc/x86_64-linux-gnu/12/include/avx512erintrin.h:54:11: note: ‘__W’ was declared here
   54 |   __m512d __W;
      |           ^~~
In file included from /usr/lib/gcc/x86_64-linux-gnu/12/include/immintrin.h:53:
In function ‘_mm512_mask_prefetch_i64scatter_pd’,
inlined from ‘main’ at /usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_avx512_knl.c:23:5: /usr/lib/gcc/x86_64-linux-gnu/12/include/avx512pfintrin.h:180:3: error: ‘base’ may be used uninitialized [-Werror=maybe-uninitialized] 180 | __builtin_ia32_scatterpfqpd (__mask, (__v8di) __index, __addr, __scale, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  181 |                                __hint);
      |                                ~~~~~~~
<built-in>: In function ‘main’:
<built-in>: note: by argument 3 of type ‘const void *’ to ‘__builtin_ia32_scatterpfqpd’ declared here /usr/lib/python3/dist-packages/numpy/distutils/checks/cpu_avx512_knl.c:18:9: note: ‘base’ declared here
   18 |     int base[128];
      |         ^~~~
cc1: all warnings being treated as errors

WARN: CCompilerOpt.feature_test[1563] : testing failed
WARN: CCompilerOpt.generate_dispatch_header[2362] : dispatch header dir build/src.linux-x86_64-3.10/numpy/distutils/include does not exist, creating it
WARN: Could not locate executable armflang
/bin/rm -f -r build Bratu2Dmodule.c
python3 run_demo.py
Traceback (most recent call last):
File "/tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/wrap-f2py/run_demo.py", line 58, in <module>
    app.formInitGuess(snes, X)
File "/tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/wrap-f2py/run_demo.py", line 18, in formInitGuess
    ierr = Bratu2D.FormInitGuess(da, vec_X, self.lambda_)
OverflowError: Python int too large to convert to C int
make[1]: *** [makefile:18: run] Error 1
make[1]: Leaving directory '/tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos/wrap-f2py' make: Leaving directory '/tmp/autopkgtest-lxc.2k3drj0o/downtmp/build.8C2/src/test-demos'
make: *** [makefile:21: all-mpi] Error 2
autopkgtest [13:18:48]: test run-demos

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to