Vikram,

> I am new to dealii. I installed deal.II 8.5.0 using the dmg package from 
> dealii website on mac OS Sierra. When I tried to configure I got this error:
>
> CMake Error at 
> /Applications/deal.II-8.5-brew.app/Contents/Resources/brew/Cellar/cmake/3.7.2/share/cmake/Modules/CMakeTestCXXCompiler.cmake:44
>  
> (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/vikramb/Documents/dealII/svn_co/deal.II/examples/step-1/CMakeFiles/CMakeTmp
>
>   
>
>   Run Build Command:"/usr/bin/make" "cmTC_5fce3/fast"
>
>   /Applications/Xcode.app/Contents/Developer/usr/bin/make -f
>   CMakeFiles/cmTC_5fce3.dir/build.make CMakeFiles/cmTC_5fce3.dir/build
>
>   Building CXX object CMakeFiles/cmTC_5fce3.dir/testCXXCompiler.cxx.o
>
>   /Applications/deal.II-8.5-brew.app/Contents/Resources/brew/bin/mpicxx -o
>   CMakeFiles/cmTC_5fce3.dir/testCXXCompiler.cxx.o -c
>   
> /Users/vikramb/Documents/dealII/svn_co/deal.II/examples/step-1/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
>
>
>   make[1]: *** [CMakeFiles/cmTC_5fce3.dir/testCXXCompiler.cxx.o] Illegal
>   instruction: 4
>
>   make: *** [cmTC_5fce3/fast] Error 2
>
> To workaround this I changed the CXX compiler option though ccmake. I was 
> able to successfully configure and build. However when I ran I got this 
> error:
>
> make[3]: *** [CMakeFiles/run] Illegal instruction: 4
> make[2]: *** [CMakeFiles/run.dir/all] Error 2
> make[1]: *** [CMakeFiles/run.dir/rule] Error 2
> make: *** [run] Error 2
>
> Can anyone tell what I am not doing right?
>
If CMake failed, there should exist
CMakeFiles/CMakeError.log
CMakeOutput.log
detailed.log
in the build directory. Can you send these files?

Best,
Daniel

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

Reply via email to