Hi Farzaneh,
In your error log you find the message:
```
clang: [0;1;31merror: [0mthe clang compiler does not support
'-march=native'[0m
```
Could you edit the DUNE options file, i.e. "dumux/cmake.opts", and
remove the occurrences of `-march=native`? The line `-march=native`
tells your compiler use CPU-specific optimization. However, the target
`native` seems to be not yet implemented in clang [1] for Apple M1 CPUs.
Best regards,
Alex
[1]:
https://stackoverflow.com/questions/65966969/why-does-march-native-not-work-on-apple-m1
On 15.02.22 17:00, Farzaneh Nazari wrote:
Dear DuMux team,
Hope all is well.
I am trying to install DuMux on Mac with the M1 chip. However, I get the
error: “The command ['./dune-common/bin/dunecontrol',
'--opts=dumux/cmake.opts', 'all'] returned with non-zero exit code.” It
seems to be a problem of the Clang complier, but I haven’t be able to
fix it.
I have also attached the installdumux.log. I appreciate your help and
suggestions.
Thanks, and regards,
Farzaneh
_______________________________________________
DuMux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux
--
-----------------------------------------------------
Dr. Alexander Jaust
Phone: +49 (0) 711 685 88308
Institut for Parallel and Distributed Systems (IPVS)
University of Stuttgart
https://www.ipvs.uni-stuttgart.de/departments/sgs/
-----------------------------------------------------
_______________________________________________
DuMux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux