[CIG-MC] Aspect installation error

Hiroaki Matsui hrmatsui at ucdavis.edu
Fri Nov 3 16:43:58 PDT 2017


Dear Hammond, 

Thank you for asking the installation problem.

I made the instruction with Deal II v8.2.1 and I also meet the same problem by using deal II v8.5.
Then, this document becomes outdated instruction.

I am solving this problem, and I also ask if anyone have already install the latest ASPECT with the latest deal ii. on the mailing list.

Have a good weekend,
Hiro.

> 2017/11/03 12:53、Hammond, Noah <noah_hammond at alumni.brown.edu> のメール:
> 
> Hello, I have been following your document <https://wiki.geodynamics.org/_media/software:aspect:aspect_yosemite_20150529.pdf> on how to install ASPECT on Mac OS X. I ran into an error with compiling Aspect and I was wondering if you could help. 
> 
> I am using Mac OS X El Capitan, 10.11.6.  
> 
> After installing Cmake and Deal.II I ran into an error Configuring aspect. It looks like there is a problem with the C compiler but I will include the error message below. I am not very experienced with Cmake so any help would be appreciated. Thanks in advance. Below is the error message:
> 
> bash-3.2$ /Applications/CMake.app/Contents/bin/cmake \
> > -D DEAL_II_DIR=/Applications/deal.II.app/Contents/Resources \
> > -D CMAKE_C_COMPILER="mpicc" \
> > -D CMAKE_CXX_COMPILER="mpicxx" \
> > -D CMAKE_CXX_FLAGS="-g -O3 -std=c++11" \
> > -D CMAKE_C_FLAGS="-g -O3" \
> > ../
> -- ====================================================
> -- ============ Configuring ASPECT ====================
> -- ====================================================
> -- Found deal.II version 8.5.0 at '/Applications/deal.II-8.5-brew.app/Contents/Resources/lib/cmake/deal.II'
> -- Using ASPECT_USE_PETSC = 'OFF'
> -- The C compiler identification is AppleClang 7.3.0.7030031
> -- The CXX compiler identification is AppleClang 7.3.0.7030031
> -- Check for working C compiler: /Applications/deal.II.app/Contents/Resources/opt/openmpi-1.6.5/bin/mpicc
> -- Check for working C compiler: /Applications/deal.II.app/Contents/Resources/opt/openmpi-1.6.5/bin/mpicc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Detecting C compile features
> -- Detecting C compile features - done
> -- Check for working CXX compiler: /Applications/deal.II.app/Contents/Resources/opt/openmpi-1.6.5/bin/mpicxx
> -- Check for working CXX compiler: /Applications/deal.II.app/Contents/Resources/opt/openmpi-1.6.5/bin/mpicxx -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Detecting CXX compile features
> -- Detecting CXX compile features - done
> -- Setting up test project, see tests/setup_tests.log for details.
> CMake Error at /Applications/CMake.app/Contents/share/cmake-3.10/Modules/CMakeTestCXXCompiler.cmake:45 (message):
>   The C++ compiler
> 
>     "/Applications/deal.II-8.5-brew.app/Contents/Resources/brew/bin/mpicxx"
> 
>   is not able to compile a simple test program.
> 
>   It fails with the following output:
> 
>     Change Dir: /Users/noahhammond/src/aspect/build_deal.ii.app/tests/CMakeFiles/CMakeTmp
>     
>     Run Build Command:"/usr/bin/make" "cmTC_65999/fast"
>     /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_65999.dir/build.make CMakeFiles/cmTC_65999.dir/build
>     Building CXX object CMakeFiles/cmTC_65999.dir/testCXXCompiler.cxx.o
>     /Applications/deal.II-8.5-brew.app/Contents/Resources/brew/bin/mpicxx     -o CMakeFiles/cmTC_65999.dir/testCXXCompiler.cxx.o -c /Users/noahhammond/src/aspect/build_deal.ii.app/tests/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
>     make[1]: *** [CMakeFiles/cmTC_65999.dir/testCXXCompiler.cxx.o] Illegal instruction: 4
>     make: *** [cmTC_65999/fast] Error 2
>     
> 
>   
> 
>   CMake will not be able to correctly generate this project.
> Call Stack (most recent call first):
>   CMakeLists.txt:19 (PROJECT)
> 
> 
> CMake Error at CMakeLists.txt:178 (MESSAGE):
>   ERROR: Test project could not be configured.
> 
> 
> -- Configuring incomplete, errors occurred!
> 
>  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geodynamics.org/pipermail/cig-mc/attachments/20171103/1e9361af/attachment.html>


More information about the CIG-MC mailing list