[MacPorts] #65989: wannier90 @3.1.0_0+gcc12+openblas / @3.1.0_0+accelerate+gcc12: Compile using libwannier.a fails on Apple M1 macbook
MacPorts
noreply at macports.org
Fri Oct 14 00:14:47 UTC 2022
#65989: wannier90 @3.1.0_0+gcc12+openblas / @3.1.0_0+accelerate+gcc12: Compile
using libwannier.a fails on Apple M1 macbook
--------------------------+--------------------
Reporter: 8rinG-Yrrej | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Resolution: | Keywords: arm64
Port: wannier90 |
--------------------------+--------------------
Comment (by 8rinG-Yrrej):
Thanks a lot! Changing LAPACK/BLAS to using openblas solves the problem
with the 1st build line, so the problem I reported is not there. For the
2nd build line, the +accelerate variant, remove -ff2c and change
"-framework Accelerate" to openblas solved my problem as well.
Thanks again for you help.
BTW, "port test" kind of passes for me in both cases. I have to add a
symlink python->python3 in $PATH, and some of the test nominally fails,
but it seems that there is some mistakes in the Wannier90 tests: relative
error<10^-6^ was used for pass/fail predicate, as in (computed-
benchmark)/benchmark. Those tests fail because benchmark=0, while computed
values are ~10^-10^.
--
Ticket URL: <https://trac.macports.org/ticket/65989#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list