Closed olexandr-konovalov closed 7 years ago
I have extracted a reproducible example from tst/anupqeg.tst
:
##Example: "Nott-APG-Rel-i" . . . based on: examples/pga_interactive
##Start point for Nottingham group
##Interactive construction of 40 5-groups of order 5^7
LoadPackage("anupq");
F := FreeGroup("a", "b");
rels := ["a^5", "b^5", "[b, a, b]"];
procId := PqStart(F : Prime := 5, Relators := rels);
PqPcPresentation(procId : ClassBound := 3,
OutputLevel := 1);
PqComputePCover(procId);
PqSavePcPresentation(procId, ANUPQData.outfile);
PqPGSupplyAutomorphisms(procId, [ [[1,0,0,0],
[0,1,0,1]],
[[1,1,0,0],
[0,1,0,1]],
[[1,0,0,0],
[0,4,0,0]],
[[1,0,0,0],
[0,2,0,0]],
[[4,0,0,0],
[0,1,0,0]],
[[2,0,0,0],
[0,1,0,0]] ]);
PqPGConstructDescendants(procId : ClassBound := 4,
CapableDescendants,
StepSize := 1,
PcgsAutomorphisms,
RankInitialSegmentSubgroups := 4);
PqPGSetDescendantToPcp(procId, 4, 1);
PqAPGDegree(procId, 2, 3);
PqAPGPermutations(procId);
PqAPGOrbits(procId : CustomiseOutput := rec(orbit := [1]));
PqAPGOrbitRepresentatives(procId);
PqPGSetDescendantToPcp(procId);
PqDisplayPcPresentation(procId);
PqAPGSingleStage(procId : StepSize:=2, BasicAlgorithm,
CustomiseOutput := rec());
This input runs instantly on my laptop when GAP is built in 64 bit mode, and on the Jenkins node when GAP is built in 32 bit mode. However, it hangs forever on the same Jenkins node when GAP is built in 64-bit mode. Pressing Ctrl-C shows the following:
^CError, user interrupt in
moreOfline := ReadLine( iostream )
; at /data/gap-jenkins/workspace/GAP-major-release-test/GAPCOPTS/64build/GAPTARGET/packages/label/kovacs/gap4r9/lib/streams.gi:169 called from
ReadAllLine( iostream, true, IS_ALL_PQ_LINE
) at /data/gap-jenkins/workspace/GAP-major-release-test/GAPCOPTS/64build/GAPTARGET/packages/label/kovacs/gap4r9/pkg/anupq-3.1.4/lib/anupqios.gi:389 calle\
d from
PQ_READ_NEXT_LINE( datarec.stream
) at /data/gap-jenkins/workspace/GAP-major-release-test/GAPCOPTS/64build/GAPTARGET/packages/label/kovacs/gap4r9/pkg/anupq-3.1.4/lib/anupqios.gi:469 calle\
d from
FILTER_PQ_STREAM_UNTIL_PROMPT( datarec
); at /data/gap-jenkins/workspace/GAP-major-release-test/GAPCOPTS/64build/GAPTARGET/packages/label/kovacs/gap4r9/pkg/anupq-3.1.4/lib/anupqios.gi:630 call\
ed from
ToPQ( datarec, [ 5 ], [ " #single stage" ]
); at /data/gap-jenkins/workspace/GAP-major-release-test/GAPCOPTS/64build/GAPTARGET/packages/label/kovacs/gap4r9/pkg/anupq-3.1.4/lib/anupqi.gi:2924 calle\
d from
PQ_PG_CONSTRUCT_DESCENDANTS( datarec
); at /data/gap-jenkins/workspace/GAP-major-release-test/GAPCOPTS/64build/GAPTARGET/packages/label/kovacs/gap4r9/pkg/anupq-3.1.4/lib/anupqi.gi:3084 calle\
d from
... at *stdin*:44
you can 'return;'
brk>
The actual reason for the hang was this line in the configure output: "checking whether linking against GMP works... no" -- the result was that ANUPQ was built w/o GMP support. Which mostly works, but it disabled one "question" by the anupq menu system, which then broken certain anupq commands, resulting in this hang.
Fixed in ffe7839e6d70e2d944b65238ba82c819376433aa
Two days ago a new version of
bin/BuildPackages.sh
script has been merged in https://github.com/gap-system/gap/pull/1128. It's previous version failed to build anupq on a jenkins slave, and now it builds:file
forx86_64-pc-linux-gnu-gcc-default64/pq
returnsHowever, the test (run via
make testpackages
) hangs: