[petsc-users] Tutorials test case cannot run in parallel

袁煕 yuanxi at advancesoft.jp
Fri Oct 29 05:11:21 CDT 2021


Hi,

I have tried the test case ex3f90 in the folder
\src\dm\impls\plex\tutorials to run in parallel but found it fails. When I
run it in 1 CPU by

-  mpirun -np 1 ./ex3f90

Everything seems OK. But when run it in 2 CPU by

-  mpirun -np 2 ./ex3f90

I got the following error message

[0]PETSC ERROR: --------------------- Error Message
--------------------------------------------------------------
[0]PETSC ERROR: Object is in wrong state
[0]PETSC ERROR: This DMPlex is distributed but its PointSF has no graph set
[0]PETSC ERROR: See https://petsc.org/release/faq/ for trouble shooting.
[0]PETSC ERROR: Petsc Development GIT revision: v3.16.0-248-ge617e6467c
 GIT Date: 2021-10-19 23:11:25 -0500
[0]PETSC ERROR: ./ex3f90 on a  named pc-010-088 by  Fri Oct 29 18:48:54 2021
[0]PETSC ERROR: Configure options --with-cc=mpicc --with-cxx=mpicxx
--with-fc=mpiifort --with-fortran-bindings=1 --with-debugging=0
--with-blaslapack-dir=/opt/intel/oneapi/mkl/2021.4.0
--with-mkl_pardiso-dir=/opt/intel/oneapi/mkl/2021.4.0 --download-metis=1
--download-parmetis=1 --download-cmake --force --download-superlu_dist=1
--download-mumps=1 --download-scalapack=1 --download-hypre=1
--download-ml=1 --with-debugging=yes --prefix=/home/yuanxi
[0]PETSC ERROR: #1 DMPlexCheckPointSF() at
/home/yuanxi/myprograms/petsc/src/dm/impls/plex/plex.c:8626
[0]PETSC ERROR: #2 DMPlexOrientInterface_Internal() at
/home/yuanxi/myprograms/petsc/src/dm/impls/plex/plexinterpolate.c:595
[0]PETSC ERROR: #3 DMPlexInterpolate() at
/home/yuanxi/myprograms/petsc/src/dm/impls/plex/plexinterpolate.c:1357
[0]PETSC ERROR: #4 User provided function() at User file:0
Abort(73) on node 0 (rank 0 in comm 16): application called
MPI_Abort(MPI_COMM_SELF, 73) - process 0
------------------------------------------------------------------------------------------------------------------------------------

It fails in calling DMPlexInterpolate. Maybe this program is not considered
to be run in parallel. But if I wish to do so, how should I modify it to
let it run on multiple CPUs?

Much thanks for your help

Yuan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20211029/03f60fa2/attachment-0001.html>


More information about the petsc-users mailing list