[petsc-users] PetscSFReduceBegin can not handle MPI_CHAR?

Fande Kong fdkong.jd at gmail.com
Tue Apr 2 22:59:46 CDT 2019


Hi All,

There were some error messages when using PetscSFReduceBegin with MPI_CHAR.

ierr =
PetscSFReduceBegin(ptap->sf,MPI_CHAR,rmtspace,space,MPI_SUM);CHKERRQ(ierr);


My question would be: Does PetscSFReduceBegin suppose work with MPI_CHAR?
If not, should we document somewhere?

Thanks

Fande,


[*0]PETSC ERROR: --------------------- Error Message
--------------------------------------------------------------*
*[0]PETSC ERROR: No support for this operation for this object type*
*[0]PETSC ERROR: No support for type size not divisible by 4*
*[0]PETSC ERROR: See http://www.mcs.anl.gov/petsc/documentation/faq.html
<http://www.mcs.anl.gov/petsc/documentation/faq.html> for trouble shooting.*
*[0]PETSC ERROR: Petsc Development GIT revision: v3.10.4-1989-gd816d1587e
 GIT Date: 2019-04-02 17:37:18 -0600*
*[0]PETSC ERROR: [1]PETSC ERROR: --------------------- Error Message
--------------------------------------------------------------*
*[1]PETSC ERROR: No support for this operation for this object type*
*[1]PETSC ERROR: No support for type size not divisible by 4*
*[1]PETSC ERROR: See http://www.mcs.anl.gov/petsc/documentation/faq.html
<http://www.mcs.anl.gov/petsc/documentation/faq.html> for trouble shooting.*
*[1]PETSC ERROR: Petsc Development GIT revision: v3.10.4-1989-gd816d1587e
 GIT Date: 2019-04-02 17:37:18 -0600*
*[1]PETSC ERROR: ./ex90 on a arch-linux2-c-dbg-feature-ptap-all-at-once
named fn605731.local by kongf Tue Apr  2 21:48:41 2019*
*[1]PETSC ERROR: Configure options --download-hypre=1 --with-debugging=yes
--with-shared-libraries=1 --download-fblaslapack=1 --download-metis=1
--download-parmetis=1 --download-superlu_dist=1
PETSC_ARCH=arch-linux2-c-dbg-feature-ptap-all-at-once --download-ptscotch
--download-party --download-chaco --with-cxx-dialect=C++11*
*[1]PETSC ERROR: #1 PetscSFBasicPackTypeSetup() line 678 in
/Users/kongf/projects/petsc/src/vec/is/sf/impls/basic/sfbasic.c*
*[1]PETSC ERROR: #2 PetscSFBasicGetPack() line 804 in
/Users/kongf/projects/petsc/src/vec/is/sf/impls/basic/sfbasic.c*
*[1]PETSC ERROR: #3 PetscSFReduceBegin_Basic() line 1024 in
/Users/kongf/projects/petsc/src/vec/is/sf/impls/basic/sfbasic.c*
*./ex90 on a arch-linux2-c-dbg-feature-ptap-all-at-once named
fn605731.local by kongf Tue Apr  2 21:48:41 2019*
*[0]PETSC ERROR: Configure options --download-hypre=1 --with-debugging=yes
--with-shared-libraries=1 --download-fblaslapack=1 --download-metis=1
--download-parmetis=1 --download-superlu_dist=1
PETSC_ARCH=arch-linux2-c-dbg-feature-ptap-all-at-once --download-ptscotch
--download-party --download-chaco --with-cxx-dialect=C++11*
*[0]PETSC ERROR: #1 PetscSFBasicPackTypeSetup() line 678 in
/Users/kongf/projects/petsc/src/vec/is/sf/impls/basic/sfbasic.c*
*[0]PETSC ERROR: #2 PetscSFBasicGetPack() line 804 in
/Users/kongf/projects/petsc/src/vec/is/sf/impls/basic/sfbasic.c*
*[0]PETSC ERROR: #3 PetscSFReduceBegin_Basic() line 1024 in
/Users/kongf/projects/petsc/src/vec/is/sf/impls/basic/sfbasic.c*
*[0]PETSC ERROR: #4 PetscSFReduceBegin() line 1208 in
/Users/kongf/projects/petsc/src/vec/is/sf/interface/sf.c*
*[0]PETSC ERROR: #5 MatPtAPNumeric_MPIAIJ_MPIAIJ_allatonce() line 850 in
/Users/kongf/projects/petsc/src/mat/impls/aij/mpi/mpiptap.c*
*[0]PETSC ERROR: #6 MatPtAP_MPIAIJ_MPIAIJ() line 202 in
/Users/kongf/projects/petsc/src/mat/impls/aij/mpi/mpiptap.c*
*[0]PETSC ERROR: #7 MatPtAP() line 9429 in
/Users/kongf/projects/petsc/src/mat/interface/matrix.c*
*[0]PETSC ERROR: #8 main() line 58 in
/Users/kongf/projects/petsc/src/mat/examples/tests/ex90.c*
*[0]PETSC ERROR: PETSc Option Table entries:*
*[0]PETSC ERROR: -matptap_via allatonce*
*[0]PETSC ERROR: ----------------End of Error Message -------send entire
error message to petsc-maint at mcs.anl.gov----------*
*[1]PETSC ERROR: #4 PetscSFReduceBegin() line 1208 in
/Users/kongf/projects/petsc/src/vec/is/sf/interface/sf.c*
*[1]PETSC ERROR: #5 MatPtAPNumeric_MPIAIJ_MPIAIJ_allatonce() line 850 in
/Users/kongf/projects/petsc/src/mat/impls/aij/mpi/mpiptap.c*
*[1]PETSC ERROR: #6 MatPtAP_MPIAIJ_MPIAIJ() line 202 in
/Users/kongf/projects/petsc/src/mat/impls/aij/mpi/mpiptap.c*
*[1]PETSC ERROR: #7 MatPtAP() line 9429 in
/Users/kongf/projects/petsc/src/mat/interface/matrix.c*
*[1]PETSC ERROR: #8 main() line 58 in
/Users/kongf/projects/petsc/src/mat/examples/tests/ex90.c*
*[1]PETSC ERROR: PETSc Option Table entries:*
*[1]PETSC ERROR: -matptap_via allatonce*
*[1]PETSC ERROR: ----------------End of Error Message -------send entire
error message to petsc-maint at mcs.anl.gov----------*
*--------------------------------------------------------------------------*
*MPI_ABORT was invoked on rank 1 in communicator MPI_COMM_WORLD*
*with errorcode 56.*

*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.*
*--------------------------------------------------------------------------*
*[fn605731.local:78133] 1 more process has sent help message
help-mpi-api.txt / mpi-abort*
*[fn605731.local:78133] Set MCA parameter "orte_base_help_aggregate" to 0
to see all help / error messages*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20190402/f93dfbc9/attachment.html>


More information about the petsc-users mailing list