ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Mon, 29 Aug 2022 04:18:14 +0200Sagemath 9.6 developer verification fail for M2?https://ask.sagemath.org/question/63824/sagemath-96-developer-verification-fail-for-m2/I've just installed Sagemath 9.6 on my M2 Macbook Air. And... I get the "“SageMath-9-6” cannot be opened because the developer cannot be verified." error. The release page says "The files for Arm CPUs were replaced on Augut 20, 2022 to correct some notarization issues." So, I'm confused and not sure what to try/do next. smbelcasMon, 29 Aug 2022 04:18:14 +0200https://ask.sagemath.org/question/63824/MAC M1 Unhandled SIGILL: An illegal instruction occurred.https://ask.sagemath.org/question/63223/mac-m1-unhandled-sigill-an-illegal-instruction-occurred/I got MAC OS 12.4 installed and after attempting to do matrix product over the CyclotomicField in SAGE 9.6 I get next problem:
------------------------------------------------------------------------
(no backtrace available)
------------------------------------------------------------------------
Unhandled SIGILL: An illegal instruction occurred.
This probably occurred because a compiled module has a bug
in it and is not properly wrapped with sig_on(), sig_off().
Python will now terminate.
------------------------------------------------------------------------
/usr/local/bin/sage: line 20: 7998 Illegal instruction: 4 /usr/bin/env - PATH="$PATH" $MIN_ENV "$SYMLINK"/venv/bin/sage "$@"
The example of a code that crashes SAGE is:
K = CyclotomicField(16)
A = matrix( [ [K(1)] ] )
A*A
The processor is Apple M1 Pro. SAGE installed via binary from the official site.Alex KareninTue, 12 Jul 2022 11:19:42 +0200https://ask.sagemath.org/question/63223/Cannot build sage from source on m1 Machttps://ask.sagemath.org/question/63142/cannot-build-sage-from-source-on-m1-mac/ Hi,
I am trying to build sage from the source code on my Mac with an M1 processor. I mention the M1 processor, because I was able to install on an older Intel based Mac without a problem.
Anyway, after downloading and extracting the 9.6 files into a directory, I ran the following commands:
./configure --enable-glucose
export MAKE="make -j6"
make
After a few minutes of it attempting to build things, it quit with the following messages. Let me know if you have any ideas how to get past this.
***************************************************************
Error building Sage.
The following package(s) may have failed to build (not necessarily
during this run of 'make all-start'):
* package: gfortran-11.3.0
last build time: Jun 20 17:09
log file: /Users/cmann/sage/sage-9.6/logs/pkgs/gfortran-11.3.0.log
build directory: /Users/cmann/sage/sage-9.6/local/var/tmp/sage/build/gfortran-11.3.0
* package: gcc-11.3.0
last build time: Jul 5 14:02
log file: /Users/cmann/sage/sage-9.6/logs/pkgs/gcc-11.3.0.log
build directory: /Users/cmann/sage/sage-9.6/local/var/tmp/sage/build/gcc-11.3.0
* package: m4ri-20200115
last build time: Jul 5 14:05
log file: /Users/cmann/sage/sage-9.6/logs/pkgs/m4ri-20200115.log
build directory: /Users/cmann/sage/sage-9.6/local/var/tmp/sage/build/m4ri-20200115
* package: openblas-0.3.20
last build time: Jul 5 14:19
log file: /Users/cmann/sage/sage-9.6/logs/pkgs/openblas-0.3.20.log
build directory: /Users/cmann/sage/sage-9.6/local/var/tmp/sage/build/openblas-0.3.20
It is safe to delete any log files and build directories, but they
contain information that is helpful for debugging build problems.
WARNING: If you now run 'make' again, the build directory of the
same version of the package will, by default, be deleted. Set the
environment variable SAGE_KEEP_BUILT_SPKGS=yes to prevent this.
cmannTue, 05 Jul 2022 23:34:10 +0200https://ask.sagemath.org/question/63142/installation of sage on an apple m1 for a mac newbiehttps://ask.sagemath.org/question/60788/installation-of-sage-on-an-apple-m1-for-a-mac-newbie/ Hi guys,
How do I go about installing sage on an Apple Macbook Pro with an M1 Pro chip (2021)
Thank youaurelius_neroSun, 23 Jan 2022 19:42:24 +0100https://ask.sagemath.org/question/60788/cannot build gmp using sage.9.3.rc2 sourcehttps://ask.sagemath.org/question/56530/cannot-build-gmp-using-sage93rc2-source/ Hello,
Tried to build sage and died when make was configuring to building gmp.
**configure: error: Oops, mp_limb_t is 64 bits, but the assembler code in this configuration expects 32 bits.**
Seems like it is "just a simple fix," but I have no idea of how to do it. I'd attach the output from configure & make, but I don't have the points. I suppose I could put them on GitHub, please let me know if you need them. The device used was MacBook Air (M1, 2020) running 11.2.3.
Thanks,
Phil
56philWed, 07 Apr 2021 17:05:15 +0200https://ask.sagemath.org/question/56530/Apple Silicon M1 chip?https://ask.sagemath.org/question/54220/apple-silicon-m1-chip/I wonder if the code base for Sage will be recompiled for Apple's new M1 chip. Big Sur's XCode supposedly makes the task easy peasy. However, I doubt anything is easy when dealing with massively complex software. Although I am happy with my Intel-based MacBook Air, I will eventually need to upgrade to Apple Silicon. Any thoughts? b@nnon.usWed, 11 Nov 2020 21:26:13 +0100https://ask.sagemath.org/question/54220/