I finally abandoned using the terminal that comes with the installer and 
followed +Daniel Arndt's instructions for homebrew on mac os x 
(https://github.com/dealii/dealii/wiki/deal.II-on-Homebrew---Linuxbrew) and 
was able to successfully configure, build and run the example.

Thank you,
Vikram

On Wednesday, May 17, 2017 at 1:09:42 PM UTC-5, Vikram Bhamidipati wrote:
>
> Hi,
>
> When googling I found the following info:
>
> https://github.com/NixOS/nixpkgs/issues/17372
>
> Could it be that the installer for v8.5.0 was not built for mac os x 
> Sierra? Anyone having a success running on Sierra?
>
> Thanks,
> Vikram
>
> On Tuesday, May 16, 2017 at 7:12:40 AM UTC-5, Vikram Bhamidipati wrote:
>>
>> Daniel,
>>
>> Thanks for your reply. I am attaching 2 files. I do not see detailed.log 
>> file anywhere in the build directory.
>>
>> Vikram
>>
>> On Monday, May 15, 2017 at 6:25:38 AM UTC-5, Daniel Arndt wrote:
>>>
>>> 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