-
-
Notifications
You must be signed in to change notification settings - Fork 570
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
eclib: suppress / delete files left by doctests and check, fix building in parallel #8357
Comments
comment:1
The quickest quick fix would be just to comment out line 372 in src/procs/marith.cc (in eclib). Anything else requires thought and testing, which I don't have time for i nthe next several days. |
This comment has been minimized.
This comment has been minimized.
Author: John Cremona, Mitesh Patel |
comment:3
There's still a timing(?) problem (log). |
Attachment: trac_8357-eclib_makefiles.patch.gz Tweak |
comment:5
Replying to @qed777:
That sounds likely. We (I) should probably tidy this up; there are several useful executables which are built, but the only one actually used by and accessible from Sage after the build is mwrank. So i should change the targets so that the other progs are only built when doing a make check. |
comment:6
Replying to @qed777:
It seems to work and it survives a stress test on sage.math, e.g., export MAKE="make -j20" # And NTL_PREFIX, etc.
make veryclean && make && make so && make veryclean && make && make so && [lots of reps] && ls |
comment:7
mpatel: if possible could you make he following additional edits to src/procs/Makefile (in eclib...p10):
It's another temp file which gets left behind, this time after "make check". If that's too much hassle I'll do it next time I make changes to the eclib spkg, but it would be convenient to do it now. |
Diff of |
Attachment: trac_8357-spkg.patch.gz Attachment: trac_8357-suppress_PRIMES.patch.gz Don't write |
comment:8
Replying to @JohnCremona:
Done! I've updated spkg and two patches. |
This comment has been minimized.
This comment has been minimized.
comment:9
I noticed a different problem with
I think we can fix this with, e.g., env NF_DIR=tmp_nf_dir ./tmanin < tmanin.in > t 2>/dev/null && diff t tmanin.out |
comment:10
I tested the current version of the spkg. (This does nto have the suggested changes to the handling of NF_DIR). All was well. I did not make new changes (for the NF_DIR thing) since I thought that would be too confusing. But I'll be happy to check the next version of p10 in due course. |
comment:11
There is a simpler solution to the problem with "export NF_DIR". The code uses a default directory name for this, namely "newforms", which can be over-ridden by the use of the environment variable NF_DIR. For this test therefore we can replace the 2 lines "rm -rf tmp_nf_dir" by "rm -rf newforms" (strictly only the second one is needed) and remove all the starts of lines of the form "export NF_DIR=tmp_nf_dir && ". Here's why I did not do this in the first place: by own private copy of this code has a newforms directory which contains 3.4G of data which took many many processor-years to compute. I do not want a simple "make check" to delete that so I put in this temporary (and non-default) tmp_nf_dir thing instead. But for the Sage distribution that is not needed. I can attach a replacement Makefile here if that would be convenient, for yet another version of p10. |
comment:12
Sure, that sounds good. |
replacement src/g0n/Makefile |
comment:13
Attachment: Makefile.gz Replying to @qed777:
I have attached the replacement Makefile -- could you update the spkg with it? |
comment:14
Done! The package now builds in parallel and |
This comment has been minimized.
This comment has been minimized.
Attachment: trac_8357-newforms_dir.patch.gz Simplify |
comment:15
The updated eclib package eclib-20080310.p10.spkg looks good. It solves the unexpected annoyance introduced by #7575. |
Reviewer: Minh Van Nguyen |
Merged: sage-4.3.4.alpha1 |
From John Palmieri:
This is a follow-up to #7575. Please see comment 24+ for some progress.
A new spkg is available at
It includes the
PRIMES
,1
, andmake check
fixes mentioned below and parallel build fixes (cf. #8306).Note to release manager: Merge only the spkg.
Component: elliptic curves
Author: John Cremona, Mitesh Patel
Reviewer: Minh Van Nguyen
Merged: sage-4.3.4.alpha1
Issue created by migration from https://trac.sagemath.org/ticket/8357
The text was updated successfully, but these errors were encountered: