M2
M2 copied to clipboard
The primary source code repository for Macaulay2, a system for computing in commutative algebra, algebraic geometry and related fields.
`help` should probably add something automated about methods that have hooks associated to them. This shouldn't be too hard: ```m2 i1 : hooks(saturate, Ideal, Ideal) o1 = {0 => (saturate,...
Should M2 call [`flint_set_num_threads`](http://flintlib.org/doc/threading.html) to use threading there? What about `openblas_set_num_threads` (see [this](https://fossies.org/linux/OpenBLAS/USAGE.md#how-can-i-use-openblas-in-multi-threaded-applications)?
Finally managed to get boost to pretty print stacktraces despite ASLR and get some output form the crashes in Ubuntu. Here's the line from the [stacktrace](https://github.com/Macaulay2/M2/pull/1367/checks?check_run_id=836015030#step:9:14044): ``` FAILED: usr-dist/common/share/Macaulay2/Core/tvalues.m2 cd...
I noticed two recent Github Actions builds, one on [autotools](https://github.com/Macaulay2/M2/runs/3983374880?check_suite_focus=true#step:13:2950) and one on [cmake](https://github.com/Macaulay2/M2/runs/3967515919?check_suite_focus=true#step:12:2966), timed out, so I checked to see what was taking so long and realized they both...
From an example of `superTrace` in `SuperLinearAlgebra` that ran [here](https://github.com/Macaulay2/M2/pull/2109/checks?check_run_id=2679972856): ```m2 -- -*- M2-comint -*- hash: 325525533 i1 : R1 = QQ[x_0..x_3]; i2 : R2 = QQ[z_0..z_2]; i3 : R...
The CMake build has been using 11.4.3 since the beginning without any issues. I just realized that autotools build is using version 10.5.0.
Perhaps it should give an error instead: ```m2 i1 : R = kk[x,y, Degrees => {0,1}] o1 = R o1 : PolynomialRing i2 : poincare ideal (x,y) o2 = 0...
This has happened twice so far ([here](https://ci.debian.net/data/autopkgtest/unstable/i386/m/macaulay2/9795053/log.gz) and [here](https://ci.debian.net/data/autopkgtest/unstable/i386/m/macaulay2/9794142/log.gz)) on continuous integration tests of the 1.17.1 package in Debian unstable for i386: ```m2 -- capturing check(252, "Core") -- 0.21414 seconds...
Here's an annoying bug: ```m2 i1 : X = Proj(QQ[x,y,z,w,Degrees => {2:{1,0}, 2:{0,1}}]); i2 : F = OO_X^1; i3 : F(1,2) stdio:3:1:(3): error: no method for adjacent objects: -- 1...
After #2221 was merged, there have been some errors compiling eigen.cpp for various PPA builds: ### Ubuntu 20.04 arm64 ``` std=gnu++14 -g -fdebug-prefix-map=//macaulay2-1.18.0.1+git202109031258=. -fstack-protector-strong -Wformat -Werror=format-security -g3 -O2 -Wno-unused-local-typedefs -Wno-unknown-pragmas...