![]() |
|
|
#221 | |
|
Tribal Bullet
Oct 2004
DD516 Posts |
Quote:
I'm not sure what to make of the recent spate of reports of linear algebra trouble. People have reported both successes and failures with multithreaded runs using versions > 1.30 PS: Richard, what changes to v1.33 did you have to make? Last fiddled with by jasonp on 2008-02-20 at 16:07 |
|
|
|
|
|
|
#222 |
|
Nov 2007
4B16 Posts |
[quote=(I use 4.1.1 and it's never caused any trouble)
[/quote] Version 1.33 works well without failures on freebsd. Unequivocally. GCC 4.2.1 admin@relay.diakom.ru [19:09:48][1][~] >gcc -v Using built-in specs. Target: i386-undermydesk-freebsd Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 4.2.1 20070719 [FreeBSD] |
|
|
|
|
|
#223 |
|
(loop (#_fork))
Feb 2006
Cambridge, England
72·131 Posts |
The C151 completed without issue (and with a noticeably smaller matrix than msieve-1.33 was offering me with default settings, about 4.5M^2 rather than 5M^2) using msieve-1.29 this morning after about 60 hours on two cores of a quad-core; I'm leaving it to Chad Davis, who did all the sieving, to post the factors.
I'm running linalg for a C154 SNFS (the last Cunningham-table composite of <512 bits) with msieve-1.29 at the moment, that should again take about 60 hours so I can post something more detailed at the weekend. |
|
|
|
|
|
#224 |
|
Jun 2003
The Texas Hill Country
44116 Posts |
After it aborted with an allocation error when the matrix started getting VERY large (I assume that the "wrong" implementation of malloc had been selected), I wanted to be able to run it from Xcode (the IDE for OSX). It was too much trouble porting your multi-architecture library of sieving "cores" to compile in that environment. So I just stripped out the options that I did not need.
In the process, I think that both __i386__ and __x86_64__ were set. So in the cpuid code as well as the call to the architecture specific core, I inverted the order of your selection so that the 64 bit code would take precedence. |
|
|
|
|
|
#225 |
|
31·53 Posts |
Another threading datapoint:
Machines were A64 X2 6000+ linux amd64, A64 X2 4800+ linux i386. GCC versions from 4.1.x to 4.2.2. msieve versions 1.31+threading patch to 1.33. sieved with ggnfs lasieve, pp/la/sqrt with msieve -t 2. gnfs 1 c155, 1 c154, 5+ c120-130. snfs 1 c198, 10+ c160-c180. 40+ small snfs and gnfs. no problems with msieve at all, had a bunch of lasieve crashes on the snfs c198. |
|
|
|
#226 |
|
Feb 2008
Russia
510 Posts |
Hello!
First of all, thank you Jason for such a brilliant piece of software! When I used Msieve for the first time, I was amazed how fast it was going. Great optimization, nice code, awesome job! Now I'm trying my first rather "big" job (at least for single man). It's C145 with GNFS. Almost everything went smooth. After finding good poly and sieving with GGNFS, I switched to Msieve. When trying to do linear algebra, first problems occured. Msieve failed few times with the following error: Code:
commencing linear algebra read 3432998 cycles cycles contain 9838531 unique relations failed to allocate 236124744 bytes Code:
Fri Feb 22 15:20:05 2008 commencing Lanczos iteration (2 threads) Fri Feb 22 15:20:05 2008 memory use: 906.2 MB Sun Feb 24 02:20:26 2008 lanczos halted after 53238 iterations (dim = 3366183) Sun Feb 24 02:20:39 2008 recovered 40 nontrivial dependencies Sun Feb 24 02:20:40 2008 elapsed time 35:13:47 Code:
Sun Feb 24 18:48:09 2008 Msieve v. 1.33 ..skipped.. Sun Feb 24 18:48:13 2008 Sun Feb 24 18:48:13 2008 commencing square root phase Sun Feb 24 18:48:13 2008 reading relations for dependency 1 Sun Feb 24 18:48:15 2008 read 1682371 cycles Sun Feb 24 18:48:21 2008 cycles contain 5796302 unique relations Sun Feb 24 18:51:37 2008 read 5796302 relations Sun Feb 24 18:52:33 2008 multiplying 8104966 relations I thought this could cause a problem and enabled it. 512 MB of swap for next run. No luck. 1024 MB of swap for next run. No luck. 1536 MB - same. :( 1792 MB - again ![]() ![]() I think that 3GB RAM + 1,75GB of swap is more than enough for such a thing (matrix building/solving was finished successfully after all). I tried two versions of Msieve - 1.32 and 1.33. If you request any files needed to find out where error is, I provide any of them. Looking for help ![]() Thanks in advance. WBR, Craig |
|
|
|
|
|
#227 | |
|
Tribal Bullet
Oct 2004
DD516 Posts |
Quote:
In the past I'd started making changes to the square root that flushed intermediate results to disk, but they turned out to be more difficult than I expected and they are stalled for now. |
|
|
|
|
|
|
#228 |
|
Nov 2007
3×52 Posts |
It certainly your right to do or to not do a conclusion of intermediate data. But on mine it for such project vital. As to appear a certain opportunity of search of mistakes and localizations of problems. Well and the right for you. It simply my opinion.
|
|
|
|
|
|
#229 | ||
|
Feb 2008
Russia
5 Posts |
Right, sorry for not including this valuable info in previous post.
Quote:
Quote:
Thanks for your reply, I didn't know square root computation could take more memory than matrix step. Last fiddled with by _dc_ on 2008-02-25 at 05:33 Reason: typo |
||
|
|
|
|
|
#231 | |
|
Feb 2008
Russia
5 Posts |
Quote:
When I have time and passion I can try harder and produce cute solution that I personally like. But usually one has loads of other problems to solve and he just can't spend time on one of them. It's always your choice and there is no need for excuse to yourself. /3GB swith solved my issue - I attached logfile. Everything went smooth except I had to reboot once and so stop working copy of Msieve. Non-trivial factors were found on 3rd depency. To use this switch one just has to put /3GB in boot.ini and then use application linked in special way (/LARGEADDRESSAWARE must be specified for linker). Then you just run this application and voila - it has 3GB of virtual memory available. May be you could put both versions on your web page (one .exe linked with /LARGEADDRESSAWARE and another without it)? Msieve is memory-hungry software, so this one could be a good solution. By the way do you have any plans/ideas about futher development of Msieve? I'm not sure if it's possible to call this a feature request, but still this could be useful to split sqrt problem on few PCs. At the moment one could do this by copying all .dat and other files to other PCs and executing Msieve (in my case it's 3.5+ GB in compressed form). May I introduce the following idea (I'm sorry if something of that is wrong from the point of underlying maths). As far as I understand you need just a subset of relations to proceed square root step. Is it possible to make a special call to msieve, that would generate only required subset of relations for specific depency to transfer it to another machine and run sqrt procedure there? I don't know how much effort is required for implementing this feature, because I don't know underlying theory on level. If it takes more than day to implement, then it's probably useless. Last fiddled with by _dc_ on 2008-02-25 at 14:27 Reason: typo again :P |
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| error when running msieve 1.53 with cuda | aein | Msieve | 9 | 2019-02-25 14:09 |
| Help need to running Msieve | appleseed | Msieve | 12 | 2016-04-10 02:31 |
| Problem in running msieve with CUDA | mohamed | Msieve | 20 | 2013-08-01 08:27 |
| CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES when running msieve 1.5.0 with CUDA | ryanp | Msieve | 3 | 2012-06-12 03:27 |
| Trouble Running Msieve | Sab | Msieve | 4 | 2009-07-07 06:19 |