-
Notifications
You must be signed in to change notification settings - Fork 226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Topcom isRegularTriangulation example running out of memory on some s390x builds #1707
Comments
The weird thing is that this function pretty much just calls M2/M2/Macaulay2/packages/Topcom.m2 Lines 115 to 120 in afaa83b
|
No, it can't be, because we enforce a memory limit, and the example has worked in the past. |
Possibly related. if ! grep "CacheExampleOutput => true" ./Topcom.m2 >/dev/null ; then /<<BUILDDIR>>/macaulay2-1.16.99+git202101061312/M2/usr-dist/arm-Linux-Ubuntu-18.04/bin/M2 -q --no-preload --stop --silent -e "needsPackage(\"Topcom\",LoadDocumentation=>true,DebuggingMode=>true); check(Topcom,UserMode=>false,Verbose=>true); exit 0" ; fi
-- running check(0, "Topcom") -- 2.75511 seconds elapsed
-- capturing check(1, "Topcom")
E: Build killed with signal TERM after 150 minutes of inactivity |
This happened again, but now on the next test: if ! grep "CacheExampleOutput => true" ./Topcom.m2 >/dev/null ; then /<<BUILDDIR>>/macaulay2-1.17.1.1+git202101251610/M2/usr-dist/arm-Linux-Ubuntu-18.04/bin/M2 -q --no-preload --stop --silent -e "needsPackage(\"Topcom\",LoadDocumentation=>true,DebuggingMode=>true); check(Topcom,UserMode=>false,Verbose=>true); exit 0" ; fi
-- running check(0, "Topcom") -- 1.43566 seconds elapsed
-- skipping check(1, "Topcom") -- 0.000170822 seconds elapsed
-- capturing check(2, "Topcom")
E: Build killed with signal TERM after 150 minutes of inactivity |
And again: /<<BUILDDIR>>/macaulay2-1.17.2.1+git202105071727/M2/usr-dist/x86_64-Linux-Ubuntu-21.10/bin/M2 -q --no-preload --stop --silent -e "needsPackage(\"Topcom\",LoadDocumentation=>true,DebuggingMode=>true); check(Topcom,UserMode=>false,Verbose=>true); exit 0"
-- running check(0, "Topcom") -- 0.303817 seconds elapsed
-- skipping check(1, "Topcom") -- 0.000048815 seconds elapsed
-- capturing check(2, "Topcom")
E: Build killed with signal TERM after 150 minutes of inactivity |
Ran out of memory on another -- running check(0, "Topcom")
ulimit -c unlimited; ulimit -t 700; ulimit -m 850000; ulimit -s 8192; ulimit -n 512; cd /tmp/M2-7356-0/1-rundir/; GC_MAXIMUM_HEAP_SIZE=400M "/<<BUILDDIR>>/macaulay2-1.18.0.1+git202106251709/M2/usr-dist/x86_64-Linux-Ubuntu-21.04/bin/M2-binary" -q --int --no-randomize --no-readline --silent --stop --print-width 77 -e 'needsPackage("Topcom",Reload=>true,FileName=>"/<<BUILDDIR>>/macaulay2-1.18.0.1+git202106251709/M2/Macaulay2/packages/Topcom.m2")' <"/tmp/M2-7356-0/0.m2" >>"/tmp/M2-7356-0/0.tmp" 2>&1
/tmp/M2-7356-0/0.tmp:0:1: (output file) error: Macaulay2 exited with status code 1
/tmp/M2-7356-0/0.m2:0:1: (input file)
M2: *** Error 1
-- 847.387 seconds elapsed
-- skipping check(1, "Topcom") -- 0.000046747 seconds elapsed
-- skipping check(2, "Topcom") -- 0.000026299 seconds elapsed
-- running check(3, "Topcom") -- 0.338551 seconds elapsed
-- capturing check(4, "Topcom") -- 0.149882 seconds elapsed
Topcom.m2:370:1-382:1: error:
-- o3 = {{0, 2, 4}, {2, 3, 4}, {0, 1, 4}, {1, 3, 4}}
--
-- o3 : List
--
-- i4 : assert isRegularTriangulation(A,tri)
--
-- i5 : assert(regularTriangulationWeights(A,tri,Homogenize=>false) == {1,1,0,0,0})
--
--
-- *** out of memory trying to allocate 954956588 bytes, exiting ***
--
../m2/debugging.m2:23:6:(1):[9]: error: test(s) #0 of package Topcom failed. Again, the number of bytes we're trying to allocate seems very large -- nearly a gig! |
From a recent PPA build of the
development
branch on s390x using Ubuntu 20.04. (The same thing happened in Ubuntu 20.10, but not Ubuntu 18.04 or Ubuntu 21.04, where everything built just fine):3311714395 bytes?!? That's over 3 gigs! Is this example really that big?
The text was updated successfully, but these errors were encountered: