[petsc-users] DM/DS crash after update to 3.19 (Fortran)

Martin Diehl martin.diehl at kuleuven.be
Mon Aug 14 11:05:30 CDT 2023


Dear PETSc team,

my simulation crashes after updating from 3.18.5 to 3.19.4.

The error message is attached, so is the main code. The mesh (variable
named geomMesh) is read with DMPlexCreateFromFile in a different part
of the code). 
I did not start serious debugging yet in the hope that you can point me
into the right direction having recent changes in FE/DS in mind.

If this does not ring a bell, I'll have a look with a PETSc debug
build.

many thanks in advance,
Martin
-- 
KU Leuven
Department of Computer Science
Department of Materials Engineering
Celestijnenlaan 200a
3001 Leuven, Belgium

-------------- next part --------------
[0]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------
[0]PETSC ERROR: Null argument, when expecting valid pointer
[0]PETSC ERROR: Null Pointer: Parameter # 1
[0]PETSC ERROR: WARNING! There are option(s) set that were not used! Could be the program crashed before they were used or a spelling mistake, etc!
[0]PETSC ERROR:   Option left: name:-mechanical_ksp_max_it value: 25 source: code
[0]PETSC ERROR:   Option left: name:-mechanical_ksp_type value: fgmres source: code
[0]PETSC ERROR:   Option left: name:-mechanical_mg_levels_ksp_type value: chebyshev source: code
[0]PETSC ERROR:   Option left: name:-mechanical_mg_levels_pc_type value: sor source: code
[0]PETSC ERROR:   Option left: name:-mechanical_pc_ml_nullspace value: user source: code
[0]PETSC ERROR:   Option left: name:-mechanical_pc_type value: ml source: code
[0]PETSC ERROR:   Option left: name:-mechanical_snes_ksp_ew (no value) source: code
[0]PETSC ERROR:   Option left: name:-mechanical_snes_ksp_ew_rtol0 value: 0.01 source: code
[0]PETSC ERROR:   Option left: name:-mechanical_snes_ksp_ew_rtolmax value: 0.01 source: code
[0]PETSC ERROR:   Option left: name:-mechanical_snes_linesearch_type value: cp source: code
[0]PETSC ERROR:   Option left: name:-mechanical_snes_type value: newtonls source: code
[0]PETSC ERROR: See https://petsc.org/release/faq/ for trouble shooting.
[0]PETSC ERROR: Petsc Release Version 3.19.4, Jul 31, 2023 
[0]PETSC ERROR: DAMASK_mesh on a  named hp by m Mon Aug 14 17:45:41 2023
[0]PETSC ERROR: Configure options --prefix=/opt/petsc/linux-c-opt --with-shared-libraries=1 --with-petsc4py=1 --with-mpi-f90module-visibility=0 --with-cc=/usr/bin/mpicc --with-cxx=/usr/bin/mpicxx --with-fc=/usr/bin/mpifort --with-fftw=1 --with-hdf5=1 --with-hdf5-fortran-bindings=1 --with-metis=1 --with-parmetis=1 --with-mumps=1 --with-scalapack=1 --with-ptscotch=1 --with-ptscotch-lib="[libesmumps.so,libptscotch.so,libptscotcherr.so,libscotch.so,libscotcherr.so,libbz2.so]" --with-ptscotch-include= --with-suitesparse=1 --with-superlu-lib=-lsuperlu --with-superlu-include=/usr/include/superlu --with-superlu_dist-lib=-lsuperlu_dist --with-superlu_dist-include=/usr/include/superlu_dist --with-ml=1 --with-boost=1 --COPTFLAGS=-O3 -march=native --CXXOPTFLAGS=-O3 -march=native --FOPTFLAGS=-O3 -march=native
[0]PETSC ERROR: #1 PetscQuadratureGetNumComponents() at /home/m/.cache/yay/petsc/src/petsc-3.19.4/src/dm/dt/interface/dt.c:252
[0]PETSC ERROR: #2 PetscFESetQuadrature() at /home/m/.cache/yay/petsc/src/petsc-3.19.4/src/dm/dt/fe/interface/fe.c:651
[0]PETSC ERROR: #3 PetscDSSetUp() at /home/m/.cache/yay/petsc/src/petsc-3.19.4/src/dm/dt/interface/dtds.c:446
[0]PETSC ERROR: #4 DMCreateDS() at /home/m/.cache/yay/petsc/src/petsc-3.19.4/src/dm/interface/dm.c:6003
[0]PETSC ERROR: #5 /home/m/DAMASK/src/mesh/mesh_mech_FEM.f90:177
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mesh_mech_FEM.f90
Type: text/x-fortran
Size: 37382 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20230814/196b01a1/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: This is a digitally signed message part
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20230814/196b01a1/attachment-0001.sig>


More information about the petsc-users mailing list