![]() |
|
|
#23 | |
|
May 2009
1616 Posts |
Quote:
E. |
|
|
|
|
|
|
#24 | |
|
May 2009
2·11 Posts |
Quote:
If you still have an example polynomial which fails, we can try to address the problem you encounter. E. |
|
|
|
|
|
|
#25 |
|
Jul 2003
So Cal
2·34·13 Posts |
I must be doing something wrong, then, as a GNFS case just failed the same way. I can post the relations for you to download if you've got a fast enough connection to download a total of 1GB.
|
|
|
|
|
|
#26 |
|
(loop (#_fork))
Feb 2006
Cambridge, England
11001000100112 Posts |
I'm running through a medium SNFS example I have lying around (fibonacci(1039)); the matrix comes out as
Code:
Renumbering columns (including sorting w.r.t. weight) Sorting columns by decreasing weight small_nrows=5582216 small_ncols=5582056 Writing sparse representation to file #T# writing sparse: 80.00 # Weight(M_small) = 259518490 Writing index file #T# writing index file: 6.20 Code:
Mon May 18 09:14:02 2009 matrix is 4854784 x 4855032 (1383.4 MB) with weight 336557789 (69.32/col) Mon May 18 09:14:02 2009 sparse part has weight 314102671 (64.70/col) Mon May 18 09:14:02 2009 matrix includes 64 packed rows Code:
nfsslave2@cow:/scratch/fib1039/with-cado$ /home/nfsslave2/cado/cado-nfs-20090528-r2167/build/cow/linalg/bwc/u128_bench snfs.small Code:
Using implementation "sliced" no cache file snfs.small-sliced.bin T0 Building cache file for snfs.small code BUG() : condition x >> 16 == 0 failed in push at /home/nfsslave2/cado/cado-nfs-20090528-r2167/linalg/bwc/matmul-sliced.cpp:108 -- Abort Aborted |
|
|
|
|
|
#27 | |
|
Aug 2004
2×5×13 Posts |
Quote:
1./home/chris/cado-nfs-20090528-r2167/utils/ularith.h: In function ‘ularith_sqr_ul_2ul’: /home/chris/cado-nfs-20090528-r2167/utils/ularith.h:386: error: ‘%’ constraint used with last operand which was easily fixed by changing "%0" to "0" and 2. /home/chris/cado-nfs-20090528-r2167/utils/modredc_15ul.c: In function ‘modredc15ul_isprime’: /home/chris/cado-nfs-20090528-r2167/utils/modredc_15ul.c:274: error: expected declaration or statement at end of input which has got me stumped because I can't even see an implementation of modredc15ul_isprime anywhere, let alone in that file. Chris |
|
|
|
|
|
|
#28 |
|
"Nancy"
Aug 2002
Alexandria
9A316 Posts |
The _isprime() functions is defined in modredc_2ul_common.c and gets renamed according to the modulus width that is used for the arithmetic. From the first error I take it that you're doing a 32 bit build (and with gcc 4.4.0, no less - good luck!). It's probably just a missing bracket in the asm macros, I'll look.
EDIT: modredc_2ul_common.c needs a } in line 915, after line "mod_intcmp (n, c5783688565841) != 0;" Edit2: Tom, your question is strictly Manu's territory. Alex Last fiddled with by akruppa on 2009-05-31 at 21:01 |
|
|
|
|
|
#29 |
|
(loop (#_fork))
Feb 2006
Cambridge, England
191316 Posts |
I'm not very good on French nicknames; is Manu Emmanuel Thomé?
Is there actually any point in people outside the development team attempting to run this code on reasonably-sized (days rather than minutes or weeks of linalg) examples yet? |
|
|
|
|
|
#30 | |
|
May 2009
2·11 Posts |
yes.
Quote:
For the problem you encounter, the fix is quite trivial. The ``good'' low-level code for matrix multiplication is not (yet) the default one. The default, a.k.a. ``sliced'' variant, chokes on matrices having zero blobs larger than 4096*65536. In order to use the better, faster variant called ``bucket'', add bwc_mm_impl=bucket to the params file. Or change the default in linalg/bwc/matmul.c. E. |
|
|
|
|
|
|
#31 | |
|
May 2009
2210 Posts |
Quote:
Some defaults are set in matmul-bucket.cpp, you might also try to change them a bit -- notably the CUTOFF2 value, which is perhaps still a bit large. Such changes require to rebuild the cached matrix file called mat.h#.v#-something.bin ; so before re-running uXXX_bench, rm that file first. E. |
|
|
|
|
|
|
#32 |
|
Mar 2008
5·11 Posts |
I'm running into a different issue, attempting to run the process manually.
When I try to run the linear algebra, I get an error about fopen(mat.info) saying there is not such file. This is from memory, but I can get the exact error when I get home. Is there some other process that I missed? |
|
|
|
|
|
#33 | |
|
May 2009
2×11 Posts |
Quote:
- rmdir the empty directory (something like /path/to/matrix-<number>x<number>) and rerun bwc.pl with the same command line. - run bwc.pl with ``:balance'' instead of ``:complete'' first. This will add the missing files. This being said, unless you've really try to run the stuff manually and got it wrong, there's a possibility that the ``balance'' program wasn't found because of a nasty shell variable expansion problem which has been fixed last week. So I'll refresh the snapshot anyway, there's good chance your problem will be fixed. E. |
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| CADO-NFS on windows | jux | CADO-NFS | 25 | 2021-07-13 23:53 |
| CADO help | henryzz | CADO-NFS | 4 | 2017-11-20 15:14 |
| CADO and WinBlows | akruppa | Programming | 22 | 2015-12-31 08:37 |
| CADO-NFS | skan | Information & Answers | 1 | 2013-10-22 07:00 |
| CADO | R.D. Silverman | Factoring | 4 | 2008-11-06 12:35 |