Hi Jon,

Try this .dmg https://github.com/luca-heltai/dealii/releases/tag/v9.0.0-rc1 
If that won't work, you can try building with 
Spack https://github.com/dealii/dealii/wiki/deal.II-in-Spack that's what I 
use on macOS.
You would need to first compile gcc with it, see the wiki page.

Regards,
Denis.

On Thursday, May 10, 2018 at 8:22:58 PM UTC+2, mrjonm...@gmail.com wrote:
>
> Hi all,
> I want to be able to run step-40 on my Mac, but the installation using the 
> .dmg doesn't have PETSc and p4est turned on.
>
> I'm trying to build 8.5.1 starting with the following cmake command:
>
> *~/Library/dealii/sources/build*$ cmake 
> -DCMAKE_INSTALL_PREFIX=/Users/matthejl/Library/dealii 
> -DDEAL_II_WITH_PETSC=ON -DDEAL_II_WITH_P4EST=ON 
> -DPETSC_DIR=/Users/matthejl/Library/petsc/petsc-3.9.0/ 
> -DPETSC_ARCH=arch-darwin-c-debug 
> -DP4EST_DIR=/Users/matthejl/Library/p4est-2.0/local -DDEAL_II_WITH_HDF5=OFF 
> ../dealii-8.5.1/
>
>
> It seems to have a problem compiling the simple test program:
>
> CMake Error at cmake/setup_finalize.cmake:95 (MESSAGE):
>
>   
>
>
>     Configuration error: Cannot compile a test program with the final set 
> of
>
>     compiler and linker flags:
>
>       CXX flags (DEBUG): -pedantic -fPIC -Wall -Wextra -Wpointer-arith 
> -Wwrite-strings -Wsynth -Wsign-compare -Wswitch -Woverloaded-virtual 
> -Wno-long-long -Wno-implicit-fallthrough -Wno-deprecated-declarations 
> -Qunused-arguments -Wno-unsupported-friend -Wno-unused-parameter 
> -Wno-unused-variable -Wno-c99-extensions -Wno-variadic-macros 
> -Wno-c++11-extensions -Wno-undefined-var-template -openmp-simd -std=c++14 
> -ftemplate-depth=1024 -Wno-parentheses -Wno-unused-local-typedefs -Og -ggdb 
> -Wa,--compress-debug-sections
>
>       LD flags  (DEBUG): -Wl,-headerpad_max_install_names 
> -Wl,-flat_namespace -Wl,-commons,use_dylibs -ggdb
>
>       LIBRARIES (DEBUG): 
> /usr/lib/libbz2.dylib;/usr/lib/libz.dylib;/Users/matthejl/Library/petsc/petsc-3.9.0/arch-darwin-c-debug/lib/libpetsc.dylib;/Users/matthejl/Library/petsc/petsc-3.9.0/arch-darwin-c-debug/lib/libHYPRE.a;/usr/lib/liblapack.dylib;/usr/lib/libblas.dylib;/opt/local/lib/mpich-mp/libmpifort.dylib;/opt/local/lib/gcc5/libgcc_ext.10.5.dylib;/usr/lib/libc++.dylib;/opt/local/lib/mpich-mp/libmpicxx.dylib;/System/Library/Frameworks/System.framework;dl;/opt/local/lib/libboost_iostreams-mt.dylib;/opt/local/lib/libboost_serialization-mt.dylib;/opt/local/lib/libboost_system-mt.dylib;/opt/local/lib/libboost_thread-mt.dylib;/opt/local/lib/libboost_regex-mt.dylib;/opt/local/lib/libboost_chrono-mt.dylib;/opt/local/lib/libboost_date_time-mt.dylib;/opt/local/lib/libboost_atomic-mt.dylib;/Users/matthejl/Library/p4est-2.0/local/lib/libp4est.dylib;/Users/matthejl/Library/p4est-2.0/local/lib/libsc.dylib;/System/Library/Frameworks/Accelerate.framework;/opt/local/lib/libf77blas.a;/opt/local/lib/libatlas.a;m;/opt/local/lib/mpich-mp/libmpi.dylib;/opt/local/lib/mpich-mp/libpmpi.dylib;
>
>     
> Attached are my output and error logs for reference. 
> Thanks,
> Jon
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to