I've compiled Macaulay2 from source on Clemson's supercomputer (
https://www.palmetto.clemson.edu/palmetto/) and I'm getting a surprising sporadic seg-fault. I'm writing to see if anyone has had similar experiences. Around 30% of the time, the following code causes a seg-fault:
restart -- restarting may be needed to observe the behavior
R = QQ[x_1..x_21,MonomialOrder => Lex]
nvars = 38
degs = {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 1, 1, 1, 2, 2, 2, 1, 1, 1, 2, 2, 2}
orders = append((monoid R).Options.MonomialOrder, Eliminate 21)
monoid[Variables => nvars, Degrees => degs, MonomialOrder => orders]
I can't replicate the seg-fault on either my mac laptop or the online M2 test servers, so I believe that this is a system-specific issue. Also, I've never observed the crash if I prepend the Eliminate 21.
The server has somewhat older software pre-installed, e.g., gcc-8.4.1, gmp-6.1.2, mpfr-4.0.2, eigen-3.3.7, openblas-0.3.10. The server is running CentOS Linux 8 (Core) on an (x86_64) Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz
Any ideas or similar experiences would be appreciated.