Coming back to dealii after a long time

66 views
Skip to first unread message

Wakil Sarfaraz

unread,
Jan 2, 2021, 6:12:55 AM1/2/21
to deal.II User Group
Hi All,

I am coming back to dealii after about 5 years. I installed version 9.2 of dealii release on Mac OS Catalina version 10.15.7.

I followed the instructions including setting up the xcode command line tools, downloading the dmg file and etc.

As I attempted to compile step-1.cc, I get an error at the last "make run" step:

bash-3.2$ cmake .

-- Autopilot invoked

-- Run   $ make info  to print a detailed help message

-- Configuring done

-- Generating done

-- Build files have been written to: /Applications/deal.II.app/Contents/Resources/examples/step-1

bash-3.2$ make run

[ 66%] Built target step-1

[100%] Run step-1 with Debug configuration

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


Any help will be appreciated, thanks.


Wakil,



Timo Heister

unread,
Jan 2, 2021, 12:40:30 PM1/2/21
to dea...@googlegroups.com
Hi Wakil,

> make[3]: *** [CMakeFiles/run] Illegal instruction: 4

This is due to the library (or a dependency) having been compiled on a
newer processor architecture than the one you are using. Can you
please check that you use the latest dealii-9.2.0-v3.dmg from
https://www.dealii.org/download.html ? I think we fixed this issue a
while ago.

If this is the case, what kind of processor/mac do you have?

--
Timo Heister
http://www.math.clemson.edu/~heister/

Wakil Sarfaraz

unread,
Jan 2, 2021, 12:52:25 PM1/2/21
to dea...@googlegroups.com
Hi Timo,

Thanks for getting back on this.
I just checked, yes I have installed 9.2.0-v3.dmg version of dealii.

However, I installed it before upgrading my Mac OS from Mojave 10.14.6 to Catalina 10.15.7.
Do you think this could be the reason for the error?

I am going ahead to reinstall the 9.2.0-v3.dmg from scratch on the upgraded OS, hopefully this will resolve the issue.

Here are the details of the machine:
Processor: 2.9 GHz Dual-Core Intel Core i7
Memory: 8 GB 1600 MHz DDR3

Best regards,
Wakil
 

--
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 a topic in the Google Groups "deal.II User Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dealii/Yfu3m6yt-ac/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dealii+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/CAMRj59Gk8_5dZrXr3zuU%3D6CKETGs%2BUn0eoS21F4yfqwdE1H2Kw%40mail.gmail.com.


--
--------------------------------------------------------------------------------------------------
Wakil Sarfaraz (PhD)
Founder and Consultant @ MMCESP
--------------------------------------------------------------------------------------------------

Timo Heister

unread,
Jan 2, 2021, 9:58:08 PM1/2/21
to dea...@googlegroups.com
> However, I installed it before upgrading my Mac OS from Mojave 10.14.6 to Catalina 10.15.7.
> Do you think this could be the reason for the error?

I doubt it, but I am not that familiar with the OSX side of things.

> but my xcode version is still version 10, do you think this matters?

I also think that this doesn't matter and does not explain the error.

> Processor: 2.9 GHz Dual-Core Intel Core i7

That must be a quite old machine and might explain the issues you
have. If the current .dmg does not work, I fear you will need to
install deal.II in a different way. See
https://github.com/dealii/dealii/wiki/Getting-deal.II for some
guidance.
Reply all
Reply to author
Forward
0 new messages