-
Notifications
You must be signed in to change notification settings - Fork 0
Spielwiese TODO Overview
Note: In order to avoid desperate last-minute setting up before the coding sprint, please consider checking resp. setting up according to Prepare for coding sprint
-
Documentation: Take from master branch, remove MP, sort out differences
-
Libraries: Basically done, remove MP. Reimplement Watchdog, Timestd (uses MP, now simpler).
-
Paths: Discuss, build version should work like installed version.
-
Bugs: see below.
-
Links/Signals: Take from master and adjust. Important for parallel.lib.
-
Field extensions: Present stuff (sparse) should work to compare with new version (dense).
-
Important bugs:
-
ZZ-coefficients (intersectZ, minassZ, radicalZ, primdecZ, ringZ)(done) - chineseRemainder
-
imap(done) - Groebner walk (discuss with Gerhard)
-
- many tests fail due to missing commits from master (see cherry)!!!
- either go through commits (a lot of commits)
- or for each fail search missing stuff (dengerous!!!)
- how to deal with Hans's commits (too many of them + might be difficult to check)
- Examples of known issues which are probably due to missing commits:
- Manual/testNCfac.tst ?
- O: dump/read/write* output difference: Old/m24si.tst
- missing aliases? Short/alias.tst
- mlee: signed/positive 'mod' (different to master). Examples: Manual/chineseRem.tst (&Manual/coeffmod.tst?)
- O: missing Interpreter update: different indentation output during package/variables listing (e.g. Manual/{Dynamic_modules,Loading_a_library,Miscellaneous_oddities_4,exportto,importfrom,listvar,load,package_declarations}.tst)
- O: "chinrem/extgcd"? Short/paraplan_s.tst, Manual/rationalPointConic.tst: probably due to missing Hans's commits from master: 10912c588c406e6aab9dd2342c3d0c200096cb22 and 4b8a660ce83e9c109ec9eae1f413ab721fea2fd4 (see also paraplanecurves.lib::squareRoot)
missing Interpreter update: '// ** SOME_VARIABLE_NAME is already global': see Manual/{allprint.tst,texobj.tst,closureFrac.tst,KSconvert.tst,texmap.tst,morsesplit.tst}mlee: ebf3a465 "primeFactorization"? see: Manual/primefactors.tst- mlee: f25cc9241 seems to affect option handling
- mlee: 125f6587 see Short/bug_tr300.tst
- ~~O.: the following bug has been fixed in master but not in SW:
ring r = integer,(x),dp;ideal i=0;qring q=i; // segfault !
~~~
- possibly different degree functions and/or
- possibly different option selected
Example tests:
-
Manual/Tracing_of_procedures.tst (!)(invalid results, Yue) -
Old/weight2.tst
-
Old/res.tst, Old/res2.tst, Old/std_test.tst, Old/Example_3_2_3.tst(fixed already)
imap/fetch-
map(mlee: done)
- Groebner walk: currently completely broken
- Manual/frwalk.tst
- ringsum
- Short/ring*.tst
- ring.lib
- ringlist
- introducing a new type for "coeff" ?
-
ringtype versus cf->typemlee: got rid of ringtype
minAssZ, ringz, ...
- what is the "normal form"
- when to normalize
- general tests
see also: Remaining failing tests with SW
- Old/agnes.tst
- Old/algnorm.tst,...
- Old/Zahlen0.tst
- qhweight/weights: overflow checks and/or use bigintmat
Short/qhw_s.tst (mlee: seems to fail only on 32-bit now)
pyobject*polybori*
NOTE/TODO: SW currently fails without '--without-python' in case of building a 32-bit version on 64-bit machine :-/
(configured with
AD: https://github.com/Singular/Sources/pull/261 should fix this issue.CFLAGS=-m32 CXXFLAGS=-m32 LDFLAGS=-m32
using appropriate 32-bit builds of GMP/NTL...)
NOTE: Assuming GMP, NTL and python2.7 are installed under ROOT32
, here is a working configure command:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ROOT32/lib ../configure --with-gmp=$ROOT32 --with-ntl=$ROOT32 CFLAGS=-m32 CXXFLAGS=-m32 'LDFLAGS=-m32 -L$ROOT32/lib' PKG_CONFIG_PATH=$ROOT32/lib/pkgconfig/ --with-python=$ROOT32/bin/python2.7
NOTE: building a suitable 32-bit python on 64 Linux required manual corrections for installed (config) files!
-
needs to be ported from master(Done by O. not easy...)
- needs to be ported from master
- needs discussions about standard paths
- needs to be ported from master
- needs to be based on waitfirst/waitall/parallel.lib (?!)
- configure with
--without-ntl --with-ntl=no
- create a SW package
- use SW (libSingular +....) instead of late libsingular in cython library layer (?)
- choose a single simple warning occurring in multiple places and assign it to you (e.g. by writing about it here)
- investigate the issue
- find the best solution
- in a non-trivial case: discuss it with others
- fix it everywhere (e.g. using the multiple-search-and-replace tool)
here are some tips to make the hunt easier:
- configure with
"CFLAGS=-Wno-unused-function -Wno-unused-parameter -Wno-unused-variable" "CXXFLAGS=-Wno-unused-function -Wno-unused-parameter -Wno-unused-variable"
- make with something like
make -j 1 LIBTOOLFLAGS=--silent QUIET=yes -s V=0 >log 2>&1
- best to use clang - configure with
'CC=clang' 'CXX=clang++'
-
Manual/CornacchiaModified.tst(line 236 in atkins.lib in example: -(D mod 2) = 1 in master, but = -1 in spielwiese) Manual/Schoof.tst-
Manual/Tracing_of_procedures.tst(invalid results, Yue) Manual/bigint_operations.tstManual/chineseRem.tstManual/coeffmod.tst- Manual/facFirstShift.tst
- Manual/facSubWeyl.tst
-
Manual/listvar.tst(invalid results, Yue) -
Manual/powerpolyX.tst(difference in res: +2x instead of -3x; calculations done modulo 5) -
Short/bug_tr329.tst(commit is imported to spielwiese, see 2fd733a; minimal failing code: "ring r=(0,c),x,dp; 1/3<1/2;") - Short/ncfactor_example2_7FromMaster_s.tst
- Short/ncfactor_koepfShift_s.tst
- Short/ncfactor_koepf_s.tst
- Short/ncfactor_tsai_s.tst
- Manual/Dynamic_modules.tst (missing
kstd
dynamic module, TODO: update build system) - Manual/Loading_a_library.tst
- Manual/Miscellaneous_oddities_4.tst
- Manual/exportto.tst
- Manual/importfrom.tst
- Manual/load.tst
- Manual/package_declarations.tst
- Manual/rationalPointConic.tst
- Old/m24si.tst
-
Short/alias.tst(note: running through -teq fails in both master and spielwiese, if not run in Sources folder) - Short/bug_tr357.tst
- Short/paraplan_s.tst
- see also Remaining failing tests with SW for an older list (with additional details?)
- Buch/Example_1_9_31.tst
BuchDL/Ex_L6.tst O.BuchDL/Ex_L9.tstManual/AGcode_Omega.tstManual/frwalk.tstManual/intersectZ.tstManual/minAssZ.tstNew/stdZ.tstManual/paraPlaneCurve.tstNew/testParametrization_2.tstNew/quotient_cleardenom.tstNew/sat_cleardenom.tstNew/syz_cleardenom.tstManual/primdecZ.tst- Manual/primeClosure.tst
Manual/radicalZ.tst- Manual/syz_BR_PLURAL_BR.tst
- Manual/testNCfac.tst
New/bigints.tstOld/agnes.tst- Old/algnorm.tst
- Old/longalg.tst
Old/palg.tst- Old/weight2.tst
- Old/zahlen0.tst
- Plural/Syz-qso3-q3.tst
Plural/doc-std.tst- Plural/doc-syz.tst
- Short/brnoeth_s.tst
Short/equising_s.tstNew/hnoether_transcendental.tstShort/gcdp_s.tstShort/imap.tst- Short/ncfactor_example_all_procedures_s.tst
- Short/ncfactor_inhomog_s.tst
Short/rInit.tst- Short/ringmod2m.tst
Short/ringz.tst
-
Manual/KSconvert.tst
-
Manual/allprint.tst
-
Manual/closureFrac.tst
-
Manual/morsesplit.tst
-
Manual/primefactors.tst
-
Manual/texmap.tst, Manual/texobj.tst
-
Short/bug_tr300.tst
-
Short/primefactors.tst
-
Manual/multiDegBasis.tst
- Manual/diagInvariants.tst
- Manual/ehrhartRing.tst
- Manual/exportNuminvs.tst
- Manual/finiteDiagInvariants.tst
- Manual/intclMonIdeal.tst
- Manual/intclToricRing.tst
- Manual/intersectionValRingIdeals.tst
- Manual/intersectionValRings.tst
- Manual/normalToricRing.tst
- Manual/normaliz.tst
- Manual/readNmzData.tst
- Manual/showNuminvs.tst
- Manual/torusInvariants.tst
-
Short/qhw_s.tst fails due to "signal 6" (SIGABRT) with -ftrapv:(fixed with-fwrapv
for misc/intvec.cc)
Do the same for factory (immediate integer multiplication imm.h
)???
see the comments to (https://github.com/Singular/Sources/pull/236). Examples:
- Manual/Cornacchia.tst
- Manual/CornacchiaModified.tst
- Manual/ShanksMestre.tst
- Manual/ellipticAllPoints.tst
- Manual/ellipticRandomCurve.tst
- Manual/ellipticRandomPoint.tst
- Manual/factorLenstraECM.tst
- Manual/rootsModp.tst
- Manual/squareRoot.tst
- Manual/normalToricRingFromBinomials.tst
- Manual/primeClosure.tst (TODO: Janko???)
- Eliminations (order of output elements)
- Manual/Elimination.tst, Old/m8ex.tst
- SW building direcftly on some Cygwin Windows machine
- Cross-compiling?
Required is:
- GMP
Needed are:
- NTL or FLINT
- readline?
Note: see also Building Singular from source
To be decided! Current installation tree: SW-Tree
Discuss the following:
- enable/disable arguments (take no arguments) - should turn on/off internal features/subsystems?
- with/without arguments (able to take arguments) - should concern whole external packages?
- gcov (http://www.linux-mag.com/id/1409/) / kcov / ggcov?
- gcovr-svn or lcov http://ltp.sourceforge.net/coverage/lcov.php (file pathes :()
(Ask Olaf?)