Did you try the pre-compiled deal.II package? 

Both 

dealii-9.1.1-clang-9.0.0.dmg

and 

dealii-9.1.1-catalina-haswell-ro.dmg.zip


from https://github.com/dealii/dealii/releases/tag/v9.1.1

should work.

Luca.

> On 25 Jan 2020, at 21:29, Ihar Suvorau <ihar.suvo...@gmail.com> wrote:
> 
> 
> Software:
>       • macOS Catalina 10.15.2
>       • deal.ii 9.1.1
>       • PETSc 3.12
> Question:
> 
> Hey, does somebody know a potential reason for this message while running a 
> well-compiled step-40 program:
> 
> ihar@husky build3 % ./step-40
> 
> 
> Running with PETSc on 1 MPI rank(s)...
> 
> Cycle 0:
> 
>   Number of active cells:       1024
> 
>   Number of degrees of freedom: 4225
> 
> 
> 
> -------------------------------------------------------
> 
> 
> An error occurred in line <543> of file 
> </Users/ihar/lib/dealii-9.1.1/source/lac/petsc_precondition.cc> in function
> 
>    void dealii::PETScWrappers::PreconditionBoomerAMG::initialize(const 
> dealii::PETScWrappers::MatrixBase &, const 
> dealii::PETScWrappers::PreconditionBoomerAMG::AdditionalData &)
> 
> The violated condition was:
> 
>    false
> 
> Additional information:
> 
>    Your PETSc installation does not include a copy of the hypre package 
> necessary for this preconditioner.
> 
> 
> 
> Stacktrace:
> 
> -----------
> 
> #0  2   libdeal_II.g.9.1.1.dylib            0x000000011188b86f 
> _ZN6dealii13PETScWrappers21PreconditionBoomerAMG10initializeERKNS0_10MatrixBaseERKNS1_14AdditionalDataE
>  + 95: 2   libdeal_II.g.9.1.1.dylib            0x000000011188b86f 
> _ZN6dealii13PETScWrappers21PreconditionBoomerAMG10initializeERKNS0_10MatrixBaseERKNS1_14AdditionalDataE
> 
> #1  3   step-40                             0x000000010643881a 
> _ZN6Step4014LaplaceProblemILi2EE5solveEv + 266: 3   step-40                   
>           0x000000010643881a _ZN6Step4014LaplaceProblemILi2EE5solveEv
> 
> #2  4   step-40                             0x000000010642e633 
> _ZN6Step4014LaplaceProblemILi2EE3runEv + 451: 4   step-40                     
>         0x000000010642e633 _ZN6Step4014LaplaceProblemILi2EE3runEv
> 
> #3  5   step-40                             0x000000010642e23a main + 106: 5  
>  step-40                             0x000000010642e23a main
> 
> #4  6   libdyld.dylib                       0x00007fff6350f7fd start + 1: 6   
> libdyld.dylib                       0x00007fff6350f7fd start
> 
> --------------------------------------------------------
> 
> 
> 
> [husky:92536] *** Process received signal ***
> 
> [husky:92536] Signal: Abort trap: 6 (6)
> 
> [husky:92536] Signal code:  (0)
> 
> [husky:92536] [ 0] 0   libsystem_platform.dylib            0x00007fff6370842d 
> _sigtramp + 29
> 
> [husky:92536] [ 1] 0   ???                                 0x00007ffee97d8838 
> 0x0 + 140732815738936
> 
> [husky:92536] [ 2] 0   libsystem_c.dylib                   0x00007fff635dda1c 
> abort + 120
> 
> [husky:92536] [ 3] 0   libdeal_II.g.9.1.1.dylib            0x00000001119ec74d 
> _ZN6dealii18deal_II_exceptions9internals5abortERKNS_13ExceptionBaseE + 205
> 
> [husky:92536] [ 4] 0   libdeal_II.g.9.1.1.dylib            0x000000010de0f63f 
> _ZN6dealii18deal_II_exceptions9internals20issue_error_noreturnINS_18StandardExceptions10ExcMessageEEEvNS1_17ExceptionHandlingEPKciS7_S7_S7_T_
>  + 223
> 
> [husky:92536] [ 5] 0   libdeal_II.g.9.1.1.dylib            0x000000011188b86f 
> _ZN6dealii13PETScWrappers21PreconditionBoomerAMG10initializeERKNS0_10MatrixBaseERKNS1_14AdditionalDataE
>  + 95
> 
> [husky:92536] [ 6] 0   step-40                             0x000000010643881a 
> _ZN6Step4014LaplaceProblemILi2EE5solveEv + 266
> 
> [husky:92536] [ 7] 0   step-40                             0x000000010642e633 
> _ZN6Step4014LaplaceProblemILi2EE3runEv + 451
> 
> [husky:92536] [ 8] 0   step-40                             0x000000010642e23a 
> main + 106
> 
> [husky:92536] [ 9] 0   libdyld.dylib                       0x00007fff6350f7fd 
> start + 1
> 
> [husky:92536] *** End of error message ***
> 
> 
> 
> The thing is that I've compiled PETSC with the "--download-hypre=1" option 
> and there is a compiled library with the name "libHYPRE-2.18.2.dylib" 
> alongside "libpetsc.3.12.3.dylib" and others in the folder for my 
> architecture "arch-darwin-c-debug". Environment variables "PETSC_DIR" and 
> "PETSC_ARCH" all point to the correct folder like in the instruction at 
> https://www.dealii.org/developer/external-libs/petsc.html. 
> 
> Did I miss something?
> 
> I'm trying to install all the packages with "dealii/candi", but PETSc 
> compilation fails there also, but for a different reason though 
> (https://github.com/dealii/candi/issues/133).
> 
> -- 
> The deal.II project is located at http://www.dealii.org/
> For mailing list/forum options, see 
> https://groups.google.com/d/forum/dealii?hl=en
> --- 
> You received this message because you are subscribed to the Google Groups 
> "deal.II User Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to dealii+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/dealii/dd55f761-c2fe-458f-964f-399addab2122%40googlegroups.com.

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/FDBF64BE-EBE8-4FBE-90CF-D929944303B5%40gmail.com.

Reply via email to