That's impressive!
brew tap macaulay2/tap
brew install $(brew deps --1 --include-build macaulay2/tap/M2)
deps=$(brew deps --1 --include-optional macaulay2/tap/M2 | tr '\n' ';')
paths=$HOMEBREW_PREFIX/opt/${deps//;/;$HOMEBREW_PREFIX/opt/}
cmake -GNinja -S M2/M2 -B M2/M2/BUILD/build \
-DBUILD_NATIVE=OFF \
-DCMAKE_PREFIX_PATH=$paths \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr--
You received this message because you are subscribed to the Google Groups "Macaulay2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to macaulay2+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/macaulay2/94b77daf-1172-4de3-bb71-8e75abb189can%40googlegroups.com.
Hi,
On 15 Aug 2021, at 19:20, Xiaowen Hu wrote:
I ran your binomial primary decomposition benchmark on my Mac Mini 2018 and
MacBook Air M1.
This is interesting, thanks. I cannot repeat my experiments since I got rid of the M1 already (I got it only to do some tests and it did not have enough RAM for me). I’m now waiting to run M2 on the M2 machines.
Yes, I was definitely running a native ARM version that I compiled from git. Mahrud Sayrafi helped me with some libraries and there are some discussions regarding the build on this mailing list and GitHub issues. My Macaulay2 version was whatever was up to date on GitHub back in December 2020. I think it was shortly before the 1.17 release, probably close to 1.17.
I had no issues with the time command as you are experiencing. This is strange and may be related to Rosetta emulation? I think it is still quite amazing that M2 runs about as fast in an emulator on M1 as it does natively on Intel. A 2x speedup when run natively on M1 seems plausible.
Cheers,
Thomas
--
You received this message because you are subscribed to the Google Groups "Macaulay2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to macaulay2+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/macaulay2/3e78c5b8-4dc1-4d26-9810-7070ab5308c2n%40googlegroups.com.
I’m now waiting to run M2 on the M2 machines.