Re: OpenBLAS build failure on Catalina, was Re: Failures in installing pymol-py36 on Catalina
Patrone Marco <[email protected]>
| Newsgroups | gmane.os.apple.fink.beginners |
|---|---|
| Message-ID | <[email protected]> |
Dear Derek,
thanks for your message. I've tried to install openBLAS 0.3.9 by replacing your new versions of the .info and .patch files, but I got the following failure at installation (after deleting the per-existing openBLAS 0.3.8):
sudo -u fink-bld [ENV] sh -c /tmp/fink.c7kTg
env LANG=C LC_ALL=C /opt/sw/bin/tar --no-same-owner --no-same-permissions -xf /opt/sw/src/OpenBLAS-0.3.9.tar.gz
Removing runtime build-lock...
Removing build-lock package...
/opt/sw/bin/dpkg-lockwait -r fink-buildlock-openblas-0.3.9-1
(Reading database ... 47408 files and directories currently installed.)
Removing fink-buildlock-openblas-0.3.9-1 ...
Updating the list of locally available binary packages.
Scanning dists/stable/main/binary-darwin-x86_64
New package: dists/stable/main/binary-darwin-x86_64/devel/isl22-shlibs_0.22.1-2_darwin-x86_64.deb
New package: dists/stable/main/binary-darwin-x86_64/devel/isl22_0.22.1-2_darwin-x86_64.deb
New package: dists/stable/main/binary-darwin-x86_64/languages/gcc10_10.1.0-3_darwin-x86_64.deb
New package: dists/stable/main/binary-darwin-x86_64/languages/gcc10-compiler_10.1.0-3_darwin-x86_64.deb
New package: dists/stable/main/binary-darwin-x86_64/languages/gcc10-shlibs_10.1.0-3_darwin-x86_64.deb
Failed: PatchFile "/opt/sw/fink/dists/stable/main/finkinfo/sci/openblas.patch" checksum does not match!
Expected: MD5(c8465ba2b714cd59678c4ea627990234)
Actual: MD5(45b51f6c55bfb22ef91cda3123fee83c)
SHA1(cb0f75f181150ce53a48730a60c05e427d2b34aa)
SHA256(34c25c98abe82e26e67efb94b56d1361534cd1885780837c8d965619d79d6b66)
Did I make any dummy mistakes?
Thank you again for the support.
Best,
marco
Il giorno 29/05/20, 16:14 "Derek Homeier" <[email protected]> ha scritto:
On 28 May 2020, at 8:10 am, Patrone Marco <[email protected]> wrote:
>
> your suggestion worked and made fink capable to install openblas and then pymol-py36.
> Thank you again for your help and patience.
> Cheers,
> marco
>
Thanks both for the bug report and the quick troubleshooting!
I only have two comments on the solution.
>
> The 'make TARGET=NEHALEM’ fix needs to be applied within the Fink package description (.info) file. As noted earlier:
> 1) Fink builds from clean sources, so any changes you make in the source tree are erased.
> 2) Fink doesn’t recognize packages that it didn’t install (apart from a few exceptions), even if they are installed within its tree.
>
1) The original fix was suggested for a lower-range Goldmont CPU; if you have very recent hardware
like a new MacBook Pro it is quite possible that setting a newer target like HASWELL or ICELAKE
will support the full capabilities of its CPU (in particular, if `sysctl hw | grep avx` shows an “avx512”
entry, ICELAKE might be the better target to pick).
2) Fixes for the original issue and some other CPU types have been merged in the new OpenBLAS
version 0.3.9; I have posted an update for that to https://github.com/fink/fink-distributions/pull/632
and you might try the openblas.info + openblas.patch file from there to test if this now automatically
detects your hardware.
Cheers,
Derek
Rispetta l’ambiente: non stampare questa mail se non è necessario.
Respect the environment: print this email only if necessary.
_______________________________________________
Fink-beginners mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners