[Dune] Error in implementing PAAMG using dune-istl

Kumar, Paras paras.kumar at fau.de
Thu Dec 14 13:46:04 CET 2017


Dear Christian,

Thank you for the email.

1. The problem tested is Ax=b where the matrix A comes form a FE 
discretization of the laplacian in 1d and is thus a tridiagonal matrix. 
The right hand side b has been taken such that the exact solution is 
x=1.0

2. The segfault happens at line 486 of the previously attached code 
file.

3. Here is the error message displayed once the segfault happens. 
Probably this is not the complete call stack but hopefully it helps.

***********************************************************************
[i10hpc2:52204] *** Process received signal ***
[i10hpc2:52204] Signal: Segmentation fault (11)
[i10hpc2:52204] Signal code: Address not mapped (1)
[i10hpc2:52204] Failing at address: 0x10
[i10hpc2:52204] [ 0] 
/lib/x86_64-linux-gnu/libpthread.so.0(+0x11390)[0x7f932a47b390]
[i10hpc2:52204] [ 1] 
./my_Ex-05(_ZNK4Dune3Imp31compressed_base_array_unmanagedINS_11FieldMatrixIdLi1ELi1EEESaIS3_EEixEm+0x30)[0x63328a]
[i10hpc2:52204] [ 2] 
./my_Ex-05(_ZN4Dune3Amg19SymmetricDependencyINS_10BCRSMatrixINS_11FieldMatrixIdLi1ELi1EEESaIS4_EEENS0_13FirstDiagonalEE7initRowERKNS_3Imp27CompressedBlockVectorWindowIS4_S5_EEi+0xb3)[0x62238b]
[i10hpc2:52204] [ 3] 
./my_Ex-05(_ZN4Dune3Amg15buildDependencyINS0_15PropertiesGraphINS0_8SubGraphINS0_11MatrixGraphIKNS_10BCRSMatrixINS_11FieldMatrixIdLi1ELi1EEESaIS7_EEEEESt6vectorIbSaIbEEEENS0_16VertexPropertiesENS0_14EdgePropertiesENS_11IdentityMapENSF_12EdgeIndexMapEEENS0_16CoarsenCriterionINS0_18SymmetricCriterionIS9_NS0_13FirstDiagonalEEEEEEEvRT_RKNT0_6MatrixESS_b+0xd7)[0x625d75]
[i10hpc2:52204] [ 4] 
./my_Ex-05(_ZN4Dune3Amg10AggregatorINS0_15PropertiesGraphINS0_8SubGraphINS0_11MatrixGraphIKNS_10BCRSMatrixINS_11FieldMatrixIdLi1ELi1EEESaIS7_EEEEESt6vectorIbSaIbEEEENS0_16VertexPropertiesENS0_14EdgePropertiesENS_11IdentityMapENSF_12EdgeIndexMapEEEE5buildIS9_NS0_16CoarsenCriterionINS0_18SymmetricCriterionIS9_NS0_13FirstDiagonalEEEEEEESt5tupleIIiiiiEERKT_RSK_RNS0_13AggregatesMapImEERKT0_b+0x140)[0x615248]
[i10hpc2:52204] [ 5] 
./my_Ex-05(_ZN4Dune3Amg13AggregatesMapImE15buildAggregatesINS_10BCRSMatrixINS_11FieldMatrixIdLi1ELi1EEESaIS6_EEENS0_15PropertiesGraphINS0_8SubGraphINS0_11MatrixGraphIKS8_EESt6vectorIbSaIbEEEENS0_16VertexPropertiesENS0_14EdgePropertiesENS_11IdentityMapENSH_12EdgeIndexMapEEENS0_16CoarsenCriterionINS0_18SymmetricCriterionIS8_NS0_13FirstDiagonalEEEEEEESt5tupleIJiiiiEERKT_RT0_RKT1_b+0x94)[0x6093c0]
[i10hpc2:52204] [ 6] 
./my_Ex-05(_ZN4Dune3Amg15MatrixHierarchyINS_26OverlappingSchwarzOperatorINS_10BCRSMatrixINS_11FieldMatrixIdLi1ELi1EEESaIS5_EEENS_11BlockVectorINS_11FieldVectorIdLi1EEESaISA_EEESC_NS_29OwnerOverlapCopyCommunicationIiiEEEESE_SaISC_EE5buildINS_9NegateSetINS_8EnumItemINS_28OwnerOverlapCopyAttributeSet12AttributeSetELi1EEEEENS0_16CoarsenCriterionINS0_18SymmetricCriterionIS7_NS0_13FirstDiagonalEEEEEEEvRKT0_+0xd1c)[0x5fec9a]
[i10hpc2:52204] [ 7] 
./my_Ex-05(_ZN4Dune3Amg3AMGINS_26OverlappingSchwarzOperatorINS_10BCRSMatrixINS_11FieldMatrixIdLi1ELi1EEESaIS5_EEENS_11BlockVectorINS_11FieldVectorIdLi1EEESaISA_EEESC_NS_29OwnerOverlapCopyCommunicationIiiEEEESC_NS_19BlockPreconditionerISC_SC_SE_NS_7SeqSSORIS7_SC_SC_Li1EEEEESE_SaISC_EE17createHierarchiesIKNS0_16CoarsenCriterionINS0_18SymmetricCriterionIS7_NS0_13FirstDiagonalEEEEEEEvRT_RSF_RKSE_+0xb5)[0x5f5131]
[i10hpc2:52204] [ 8] 
./my_Ex-05(_ZN4Dune3Amg3AMGINS_26OverlappingSchwarzOperatorINS_10BCRSMatrixINS_11FieldMatrixIdLi1ELi1EEESaIS5_EEENS_11BlockVectorINS_11FieldVectorIdLi1EEESaISA_EEESC_NS_29OwnerOverlapCopyCommunicationIiiEEEESC_NS_19BlockPreconditionerISC_SC_SE_NS_7SeqSSORIS7_SC_SC_Li1EEEEESE_SaISC_EEC1INS0_16CoarsenCriterionINS0_18SymmetricCriterionIS7_NS0_13FirstDiagonalEEEEEEERKSF_RKT_RKNS0_19DefaultSmootherArgsIdEERKSE_+0x362)[0x5efb58]
[i10hpc2:52204] [ 9] 
./my_Ex-05(_Z14parallel_solveRN4Dune11BlockVectorINS_11FieldVectorIdLi1EEESaIS2_EEEP10App_Struct+0x7c1)[0x5e1447]
[i10hpc2:52204] [10] ./my_Ex-05(main+0x69d)[0x5e284d]
[i10hpc2:52204] [11] 
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f932a0c0830]
[i10hpc2:52204] [12] ./my_Ex-05(_start+0x29)[0x5df719]
[i10hpc2:52204] *** End of error message ***

***********************************************************************


Please let me know if any further information is needed.

With best regards,
Paras




More information about the Dune mailing list