This Message Is From an External Sender
This message came from outside your organization.
On 27/06/24 2:30 pm, Barry Smith wrote: > > Can you add > > PetscCallA(PetscSectionGetValueLayout(PETSC_COMM_WORLD, section, > layout, ierr)) > > to line 276 of src/dm/imps/plex/tests/ex26f90.F90 and see if it runs ok? It doesn't - I get the same error, see below output. > > Are you initializing layout or doing anything to it before your call > to PetscSectionGetValueLayout()?
No, I just declare it and then pass it in, expecting that routine to assign it. - Adrian acro018@EN438880:~/software/PETSc/code/src/dm/impls/plex/tests$ ./ex26f90 -i ${PETSC_DIR}/share/petsc/datafiles/meshes/FourSquareT-large.exo -o FourSquareT-large_out.exo -dm_view -dm_section_view -petscpartitioner_type simple -order 1 DM Object: cubit(FourSquareT-large.exo): 12/02/2017: 09:20:39 1 MPI process type: plex cubit(FourSquareT-large.exo): 12/02/2017: 09:20:39 in 2 dimensions: Number of 0-cells per rank: 61 Number of 1-cells per rank: 156 Number of 2-cells per rank: 96 Labels: celltype: 3 strata with value/size (0 (61), 3 (96), 1 (156)) depth: 3 strata with value/size (0 (61), 1 (156), 2 (96)) Cell Sets: 4 strata with value/size (1 (24), 2 (18), 3 (28), 5 (26)) PetscViewer Object: 1 MPI process type: exodusii Filename: FourSquareT-large_out.exo exoid: -1 IO Mode: 1 Mesh order: 1 PetscViewer Object: 1 MPI process type: exodusii Filename: FourSquareT-large_out.exo exoid: 65536 IO Mode: 1 Mesh order: 1 [0]PETSC ERROR: --------------------- Error Message -------------------------------------------------------------- [0]PETSC ERROR: Null argument, when expecting valid pointer [0]PETSC ERROR: Null Pointer: Parameter # 3 [0]PETSC ERROR: WARNING! There are unused option(s) set! Could be the program crashed before usage or a spelling mistake, etc! [0]PETSC ERROR: Option left: name:-dm_section_view (no value) source: command line [0]PETSC ERROR: See https://urldefense.us/v3/__https://petsc.org/release/faq/__;!!G_uCfscf7eWS!by4sM-Pr3YiMCpIxwVafzgIZvSDA8BlMXAtsBHEifLbNtSsx4xjphVclu7inX6TuMVqiEEHBSBpYWzzmEqkadaNsQy2LAmo$ for trouble shooting. [0]PETSC ERROR: Petsc Development GIT revision: v3.21.2-274-g55d8e0067c3 GIT Date: 2024-06-20 10:02:08 -0400 [0]PETSC ERROR: ./ex26f90 with PETSC_ARCH main-debug-barry on EN438880 by acro018 Thu Jun 27 14:42:34 2024 [0]PETSC ERROR: Configure options: --with-x --download-hdf5 --download-zlib --download-netcdf --download-pnetcdf --download-exodusii --download-triangle --download-ptscotch --download-chaco --download-hypre [0]PETSC ERROR: #1 PetscSectionGetValueLayout() at /home/acro018/software/PETSc/code/src/vec/is/section/interface/section.c:1777 [0]PETSC ERROR: #2 ex26f90.F90:278 Abort(85) on node 0 (rank 0 in comm 16): application called MPI_Abort(MPI_COMM_SELF, 85) - process 0 -- Dr Adrian Croucher Senior Research Fellow Department of Engineering Science Waipapa Taumata Rau / University of Auckland, New Zealand email: a.crouc...@auckland.ac.nz tel: +64 (0)9 923 4611