#8059: update Singular SPKG to newest upstream release
----------------------------------------------------------------------+-----
Reporter: malb |
Owner:
Type: enhancement |
Status: needs_work
Priority: major |
Milestone: sage-4.5.3
Component: packages |
Keywords:
Author: Martin Albrecht |
Upstream: Reported upstream. Little or no feedback.
Reviewer: David Kirkby, Simon King, William Stein, John Palmieri |
Merged:
Work_issues: |
----------------------------------------------------------------------+-----
Changes (by mpatel):
* status: positive_review => needs_work
Comment:
There might still be a problem with parallel builds. With 4.5.2 on
sage.math, I applied [attachment:singular-3-1-1-4.2.patch], copied
[http://sage.math.washington.edu/home/malb/spkgs/singular-3-1-1-4.spkg
singular-3-1-1-4.spkg] to `SAGE_ROOT`, and ran
{{{
#!sh
#!/bin/bash
set -o pipefail
JOBS=20
RUNS=50
for I in `seq $RUNS`;
do
LOG="singular-3-1-1-4-j$JOBS.log.$I"
if [ ! -f "$LOG" ]; then
env MAKE="make -j$JOBS" ./sage -f singular-3-1-1-4.spkg 2>&1 | tee
"$LOG"
CODE=$?
echo $0 run $I of $RUNS: code= $CODE
fi
done
}}}
All runs ended with exit code 0 (maybe I didn't retrieve the code
correctly?), but
{{{
#!sh
grep "An error occurred" singular-3-1-1-4*log* | sort -n
}}}
shows that 21 of the 50 runs failed.
I've put the logs [http://sage.math.washington.edu/home/mpatel/trac/8059/
here].
According to
{{{
#!sh
$ grep "No such file or dir" sing*log* | grep -v "cannot remove" | cut -d
':' -f 2- | sort | uniq -c
1 abs_fac.cc:2:21: error: factory.h: No such file or directory
1 bifac.cc:1:21: error: factory.h: No such file or directory
1 cntrlc.o: No such file or directory
11 g++: cntrlc.o: No such file or directory
28 g++: extra.o: No such file or directory
4 g++: feOpt.o: No such file or directory
1 g++: g++: cntrlc.o: No such file or directory
4 g++: g++: extra.o: No such file or directoryextra.o: No such file
or directory
2 g++: misc_ip.o: No such file or directory
1 lgs.h:13:21: error: factory.h: No such file or directory
}}}
and some digging, the `gcc -o gentable` and `gcc -o gentable2` commands,
at least, sometimes don't have all of their dependencies already built.
For example, `singular-3-1-1-4-j20.log.14` contains
{{{
g++ -O3 -g -fPIC -pipe -I. -I../kernel
-I/mnt/usb1/scratch/mpatel/tmp/sage-4.5.2-singular/local/include
-I/mnt/usb1/scratch/mpatel/tmp/sage-4.5.2-singular/local/include
-I/mnt/usb1/scratch/mpatel/tmp/sage-4.5.2
-singular/local/include -fno-implicit-templates -DNDEBUG -DOM_NDEBUG
-Dx86_64_Linux -DHAVE_CONFIG_H -DGENTABLE \
-o gentable1 claptmpl.o iparith.cc tesths.cc mpsr_Tok.cc \
grammar.o scanner.o attrib.o eigenval_ip.o extra.o fehelp.o
feOpt.o ipassign.o ipconv.o ipid.o iplib.o ipprint.o ipshell.o lists.o
sdb.o fglm.o interpolation.o silink.o subexpr.o janet.o wrapper.o
libparse.o sing_win.o gms.o pcv.o maps_ip.o walk.o walk_ip.o cntrlc.o
misc_ip.o calcSVD.o Minor.o MinorProcessor.o MinorInterface.o
slInit_Dynamic.o -ldl -rdynamic -L../kernel -lkernel
-L/mnt/usb1/scratch/mpat
el/tmp/sage-4.5.2-singular/local/lib
-L/mnt/usb1/scratch/mpatel/tmp/sage-4.5.2-singular/local/lib -lm
-lsingfac -lsingcf -lntl -lgmp -lreadline -lncurses -lm -lomalloc
../kernel/mmalloc.o
g++ -O3 -g -fPIC -pipe -I. -I../kernel
-I/mnt/usb1/scratch/mpatel/tmp/sage-4.5.2-singular/local/include
-I/mnt/usb1/scratch/mpatel/tmp/sage-4.5.2-singular/local/include
-I/mnt/usb1/scratch/mpatel/tmp/sage-4.5.2
-singular/local/include -fno-implicit-templates -DNDEBUG -DOM_NDEBUG
-Dx86_64_Linux -DHAVE_CONFIG_H -DGENTABLE \
-o gentable2 claptmpl.o iparith.cc tesths.cc mpsr_Tok.cc \
grammar.o scanner.o attrib.o eigenval_ip.o extra.o fehelp.o
feOpt.o ipassign.o ipconv.o ipid.o iplib.o ipprint.o ipshell.o lists.o
sdb.o fglm.o interpolation.o silink.o subexpr.o janet.o wrapper.o
libparse.o sing_win.o gms.o pcv.o maps_ip.o walk.o walk_ip.o cntrlc.o
misc_ip.o calcSVD.o Minor.o MinorProcessor.o MinorInterface.o
slInit_Dynamic.o -ldl -rdynamic -L../kernel -lkernel
-L/mnt/usb1/scratch/mpat
el/tmp/sage-4.5.2-singular/local/lib
-L/mnt/usb1/scratch/mpatel/tmp/sage-4.5.2-singular/local/lib -lm
-lsingfac -lsingcf -lntl -lgmp -lreadline -lncurses -lm -lomalloc
../kernel/mmalloc.o
g++: extra.o: No such file or directory
g++: extra.o: No such file or directory
}}}
Please see `singular-3-1-1-4-j20.log.47` for the `factory.h` errors.
If I didn't make a mistake: What if we return to serial builds for this
ticket but open a new one for building Singular in parallel?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8059#comment:112>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.