![]() |
|
|
#51 |
|
Jan 2005
3E16 Posts |
I built my input files using CodeWarrior as an editor of convenience. But the point is that ECM should be robust enough to handle both, which is easy to do.
|
|
|
|
|
|
#52 | |
|
"Mark"
Apr 2003
Between here and the
635410 Posts |
Quote:
|
|
|
|
|
|
|
#53 |
|
"Mike"
Aug 2002
823410 Posts |
I have no idea if this will help anyone, but today I ran a pile of benchmarks testing both various k values and the "treefile" command line argument... In a nutshell, "treefile" is supposed to save main memory by using intermediate files written to disk... It appears like it saves you a pile of memory and there is no slowdown that I can tell...
How to interpret this table: I tested 2^1061-1 at 60 digits (26e7) and saved the stage one results and then ran stage two with various k values... The first column is the k, the second is the time in milliseconds for stage two to complete and the third column is my main memory usage for the ecm process, listed in 15s intervals... Code:
k | time ms | resident memory usage at 15s intervals ---+---------+--------------------------------------- 40 | 5646303 | 32 35 37 39 41 47 81 197 139 215 90 93 95 98 99 98 245 108 108 108 108 127 127 255 402 422 148 148 148 148 157 153 295 441 441 223 148 148 148 157 221 148 441 441 307 148 148 148 148 167 185 295 441 441 148 148 148 148 185 148 295 441 441 148 148 148 148 148 157 221 441 441 148 148 148 148 167 221 185 441 441 307 148 148 148 148 221 148 442 441 307 148 148 148 148 157 167 295 442 441 148 148 148 148 167 221 148 442 442 307 148 148 148 148 148 153 295 148 307 148 148 148 148 157 157 190 442 307 148 148 148 148 148 153 295 442 442 148 148 148 148 167 167 295 442 442 148 148 148 148 148 148 295 442 442 148 148 148 148 185 153 221 442 442 148 148 148 148 150 148 221 442 442 148 148 148 148 148 221 157 442 442 307 148 148 148 148 185 148 442 442 307 148 148 148 148 221 157 442 442 307 148 148 148 148 221 185 442 442 307 148 148 148 148 185 157 295 442 442 148 148 148 148 148 148 221 442 442 307 148 148 148 148 148 185 295 442 442 148 148 148 148 185 153 295 442 442 148 148 148 148 185 148 295 442 442 148 148 148 148 148 157 295 442 442 148 148 148 148 185 148 221 442 442 148 148 148 148 148 148 221 442 442 148 148 148 148 148 179 221 442 442 148 148 148 148 167 221 221 442 442 148 148 148 148 167 221 185 442 442 307 148 148 148 148 148 148 185 442 442 307 148 148 148 148 157 221 148 442 442 307 148 148 148 148 185 151 295 442 442 148 148 148 148 167 167 221 442 442 148 148 148 148 148 221 148 442 442 307 148 148 148 148 167 185 295 442 442 148 148 148 148 157 185 295 442 442 439 282 214 180 162 148 145 35 | 4928866 | 33 36 38 41 42 63 197 139 215 91 93 96 98 171 135 108 108 108 108 127 145 255 402 422 148 148 148 148 167 167 441 441 307 148 148 148 157 221 185 441 441 307 148 148 148 157 157 221 441 441 148 148 148 148 185 157 295 441 441 148 148 148 148 153 185 295 441 441 148 148 148 148 148 148 295 441 307 148 148 148 148 185 157 442 441 307 148 148 148 148 221 185 442 441 307 148 148 148 153 157 221 442 442 148 148 148 148 185 148 295 442 442 148 148 148 148 153 167 295 442 442 148 148 148 148 167 148 295 442 442 148 148 148 148 157 157 190 442 307 148 148 148 148 185 157 442 442 307 148 148 148 148 221 185 442 442 307 148 148 148 148 153 221 442 442 148 148 148 148 167 167 221 442 442 307 148 148 148 148 148 167 295 442 442 148 148 148 148 148 153 148 221 442 442 307 148 148 148 148 185 148 442 442 307 148 148 148 148 148 148 295 190 307 148 148 148 148 167 148 221 442 442 307 148 148 148 148 148 167 295 442 442 148 148 148 148 148 221 148 442 442 307 148 148 148 157 221 167 442 442 307 148 148 148 148 167 167 442 442 307 148 148 148 148 185 157 442 442 307 148 148 148 157 221 167 442 442 307 148 148 148 148 221 148 442 442 442 148 148 148 148 167 157 221 442 442 148 148 148 148 185 148 295 442 442 148 148 148 148 148 153 295 442 442 148 148 148 148 153 153 221 442 442 439 282 214 180 162 148 145 30 | 4945303 | 31 34 36 39 41 46 60 112 84 204 94 96 99 101 104 109 114 167 118 118 118 118 118 148 126 238 358 381 323 164 164 164 164 194 164 194 404 404 404 164 164 164 164 164 180 164 284 404 404 323 164 164 164 164 194 164 194 404 386 404 164 164 164 164 168 180 164 284 404 404 323 164 164 164 164 194 171 194 404 164 404 164 164 164 164 164 164 168 224 404 404 404 164 164 164 164 164 180 224 168 229 404 404 164 164 164 164 164 180 164 284 404 404 323 164 164 164 164 164 180 224 404 404 323 164 164 164 164 164 224 171 284 404 404 164 164 164 164 164 164 194 284 404 404 323 164 164 164 164 194 171 224 404 404 323 164 164 164 164 180 224 168 284 404 404 164 164 164 164 164 164 180 284 404 404 323 164 164 164 164 194 164 194 404 404 289 164 164 164 164 171 224 180 284 404 404 164 164 164 164 164 180 164 224 404 404 323 164 164 164 164 168 224 180 404 447 404 164 164 164 164 164 194 171 284 404 404 323 164 164 164 164 164 168 224 404 404 323 164 164 164 164 164 224 164 284 404 404 164 164 164 164 164 166 194 284 404 404 323 164 164 164 164 194 164 194 404 404 404 164 164 164 164 168 194 171 284 404 404 164 164 164 164 164 180 164 224 404 404 323 164 164 164 164 171 224 171 404 404 404 164 164 164 164 164 180 168 284 404 404 323 164 164 164 164 168 164 224 404 404 323 401 293 227 194 177 167 161 161 25 | 4155223 | 30 33 35 38 40 41 50 76 172 204 87 96 98 101 103 135 106 137 118 118 118 118 118 129 126 238 358 381 323 164 164 164 164 171 164 224 404 404 323 164 164 164 164 164 171 194 404 404 404 164 164 164 164 168 194 180 284 404 404 164 164 164 164 164 164 180 284 404 404 323 164 164 164 164 194 171 194 404 404 404 164 164 164 164 164 224 180 284 404 404 164 164 164 164 164 164 180 284 404 404 323 164 164 164 164 194 171 197 404 404 323 164 164 164 164 180 224 164 284 404 404 164 164 164 164 164 164 194 284 404 404 323 164 164 164 164 164 180 224 404 404 323 164 164 164 164 168 224 168 284 404 404 164 164 164 164 164 164 194 284 404 404 323 164 164 164 164 168 180 224 404 404 323 164 164 164 164 164 224 171 284 404 404 164 164 164 164 164 164 194 284 404 404 323 164 164 164 164 168 180 224 404 404 323 164 164 164 164 164 224 164 284 404 404 164 164 164 164 164 168 194 284 404 404 323 164 164 164 164 176 171 224 404 404 323 164 164 164 164 164 224 168 284 404 404 164 164 164 164 164 168 194 284 404 404 323 164 164 164 164 194 164 194 404 404 225 401 293 227 194 177 167 161 161 20 | 3918566 | 35 37 39 42 44 46 46 56 49 126 95 159 214 105 107 109 112 114 116 150 151 186 131 131 131 131 131 131 140 131 165 144 401 427 362 183 183 183 183 183 183 192 183 318 453 453 362 183 183 183 183 183 183 217 217 250 339 453 453 362 183 183 183 183 183 192 192 192 183 318 453 453 453 183 183 183 183 183 200 200 192 250 453 453 453 362 183 183 183 183 183 183 183 183 318 453 453 453 183 183 183 183 183 200 200 187 250 453 453 453 362 183 183 183 183 183 183 187 187 318 453 453 453 183 183 183 183 183 183 192 183 187 318 453 453 362 183 183 183 183 183 187 217 217 217 247 453 453 362 183 183 183 183 183 183 187 183 217 318 453 453 362 183 183 183 183 183 217 250 183 318 453 453 292 183 183 183 183 183 187 250 185 318 453 453 453 183 183 183 183 183 187 192 200 250 453 453 453 362 183 183 183 183 183 217 250 183 318 453 453 453 183 183 183 183 183 183 187 183 183 318 453 453 290 183 183 183 183 183 187 183 183 196 453 453 453 362 183 183 183 183 183 183 217 217 250 453 453 453 362 183 183 183 183 183 217 250 200 318 453 453 453 450 450 328 235 214 194 187 180 180 180 15 | 3519437 | 40 43 45 48 50 53 54 59 65 101 147 109 171 252 123 126 128 131 133 136 158 178 160 181 298 155 155 155 155 156 175 156 156 161 313 471 471 500 424 215 215 215 215 215 215 225 255 215 255 372 530 530 530 424 215 215 215 215 215 226 220 235 225 372 530 330 530 424 215 215 215 215 215 225 220 235 225 372 530 404 530 424 215 215 215 215 215 218 215 225 215 372 530 215 530 424 215 215 215 215 215 215 235 220 294 225 294 530 530 530 424 215 215 215 215 215 215 235 255 225 255 372 530 530 530 424 215 215 215 215 215 220 220 218 225 372 530 530 530 424 215 215 215 215 215 235 215 235 220 372 530 530 530 424 215 215 215 215 215 225 225 235 225 372 530 530 530 424 215 215 215 215 215 215 215 294 225 294 530 530 530 424 215 215 215 215 215 215 224 255 218 255 372 530 530 530 215 215 215 215 215 215 215 219 215 225 372 530 530 530 424 215 215 215 215 215 235 215 215 220 372 530 239 530 424 526 385 385 298 251 227 227 219 211 211 211 10 | 3236481 | 58 61 63 66 68 70 73 75 75 80 96 114 154 225 377 186 265 391 411 163 166 168 171 173 175 178 184 186 253 219 184 327 470 204 204 204 204 204 204 204 213 275 275 240 213 346 489 774 774 812 812 589 280 280 280 280 280 280 280 289 316 423 289 299 565 850 850 850 850 589 280 280 280 280 280 280 280 280 316 289 285 289 351 565 850 850 850 850 589 280 280 280 280 280 280 280 280 285 351 281 316 423 565 850 850 850 850 589 280 280 280 280 280 280 280 280 280 280 351 316 565 850 850 850 850 589 280 280 280 280 280 280 280 280 289 351 280 289 423 565 850 850 850 850 589 280 280 280 280 280 280 280 299 280 423 316 285 565 850 850 850 850 589 280 280 280 280 280 280 280 280 351 316 299 285 423 565 850 850 850 850 589 280 280 280 280 280 280 280 280 299 423 280 289 423 280 850 850 850 850 589 845 845 540 295 408 342 342 306 306 286 281 275 275 275 275 |
|
|
|
|
|
#54 |
|
224108 Posts |
[QUOTE=error404]Rogue,
Thanks for the above. ecm-6.0 compiles correctly on a G5, with no errors, and make check works correctly also. Guil |
|
|
|
#55 | |
|
May 2004
1208 Posts |
Quote:
)Dave |
|
|
|
|
|
|
#56 | |
|
"Nancy"
Aug 2002
Alexandria
2,467 Posts |
Quote:
Alex |
|
|
|
|
|
|
#57 | |
|
Jul 2004
Potsdam, Germany
3·277 Posts |
Quote:
Alternatively, you can try this Pentium-M optimized version. I don't know if there are big differences... Last fiddled with by Mystwalker on 2005-03-06 at 23:19 |
|
|
|
|
|
|
#58 |
|
Jul 2004
Potsdam, Germany
3·277 Posts |
One thing that came to my mind:
According to the readme file, Brent-Suyama's extension finds extra factors and thus reduces the amount of curves that need to be run. Assuming I run stage1 with prime95, does this change the required amount of curves? |
|
|
|
|
|
#59 |
|
"Nancy"
Aug 2002
Alexandria
2,467 Posts |
Stage 1 is completely independent of the Brent-Suyama extension. Brent-Suyama only affects stage 2, specifically the Initing and Computing roots of F and G steps.
And also, last time I tested this, gmp-ecm and Prime95 computed the stage 1 residues exactly the same way. Try printing residues with "-v -v", the value of x after stage 1 should be identical whether the stage 1 was computed in gmp-ecm or resumed from Prime95 (with the same sigma and B1 parameters, of course). This means that all values computed in stage 2 will be the same whether gmp-ecm or Prime95 did stage1, and the probability of success will of course be the same as well. Alex |
|
|
|
|
|
#60 | |
|
Banned
"Luigi"
Aug 2002
Team Italia
2·3·11·73 Posts |
Quote:
Luigi |
|
|
|
|
|
|
#61 | |
|
Jan 2005
2×31 Posts |
Quote:
http://www.komite.net/laurent/soft/ecm/ecm-6.0.html |
|
|
|
|
|
|
#62 |
|
"Nancy"
Aug 2002
Alexandria
2,467 Posts |
Laurent Fousse now hosts the GMP-ECM 6 announcement page at
http://www.komite.net/laurent/soft/ecm/ecm-6.0.html The link on Paul's page http://www.loria.fr/%7Ezimmerma/records/ecmnet.html is updated, but the ones in this thread weren't. Alex |
|
|
|
|
|
#63 | |
|
Banned
"Luigi"
Aug 2002
Team Italia
2×3×11×73 Posts |
Quote:
Luigi |
|
|
|
|
|
|
#64 |
|
Jun 2003
22×61 Posts |
i tried compiling this new version of ecm and when i run the configure script i get this error:
Code:
checking if gmp.h version and libgmp version are the same... (4.1.3/4.1.2) no configure: error: 'gmp.h' and 'libgmp' have different versions! you have to properly reinstall GMP. |
|
|
|
|
|
#65 |
|
"Nancy"
Aug 2002
Alexandria
2,467 Posts |
This means that files from both GMP version 4.1.2 and 4.1.3 are installed, and configure finds the header files from one version but the library from the other.
Where did you install GMP, i.e. what was the --prefix= directory when you configured GMP? Does running configure for GMP-ECM with the same directory given for the --with-gmp= option solve the problem? Alex |
|
|
|
|
|
#66 |
|
Jun 2003
22·61 Posts |
ah yeah i didnt realize i had both 412 and 413 installed. i just ended up getting rid of both of the versions and seeing that 414 was out i installed it. and now the configure script and compilation went fine. thanks
|
|
|
|
|
|
#67 |
|
Aug 2002
3×52×7 Posts |
How does this bug manifest itself?
Potential bug in stage 2 (with very very small probability, of order 1/N where N is the input number). [patch]. Note: this patch changed on March 9, please apply it again if you got it on March 8. |
|
|
|
|
|
#68 |
|
"Nancy"
Aug 2002
Alexandria
2,467 Posts |
A function that is meant to copy entires from one list into another and at the same time negate them did not actually write anything for entries == 0, so undefined data would remain in the target list. The effect could be that factors are not found when they should be, or perhaps that the input number is reported as a factor.
That function is used three times, and two out of the three times the source and target list are identical, so failing to write 0 to the target has no effect because it's already there. I'm not sure if entries with a 0 can actually happen in the third case. I'd expect this bug to occur very, very rarely. Alex Last fiddled with by akruppa on 2005-03-14 at 20:25 |
|
|
|
|
|
#69 | |
|
Aug 2002
10000011012 Posts |
Quote:
|
|
|
|
|
|
|
#70 |
|
"Nancy"
Aug 2002
Alexandria
2,467 Posts |
I've updated the binary with all currently available patches. The URL still is http://home.in.tum.de/~kruppa/ecm6_p3.zip
Note, however, that I strongly recommend that people build their own binaries. The official distribution is the source tarball, the P3 Windows binary was mainly a by-product of a test I did to see if GMP-ECM 6 builds cleanly in MinGW. That binary may not stay up-to-date with patches, and there won't be binaries for other cpu types etc. BTW, while testing the new binary, I found strange behaviour of ecm.exe in Wine: when giving B2 or B2min-B2max parameters in scientific notation, ecm complains about the parameters and exits. The problem seems to be that sscanf() returns a value 1 too high for the %n conversion. Can MinGW users please try to reproduce this problem, for example with ecm.exe 1000 1e6 Thanks, Alex |
|
|
|
|
|
#71 | |
|
Aug 2002
3·52·7 Posts |
Quote:
|
|
|
|
|
|
|
#72 |
|
"Nancy"
Aug 2002
Alexandria
2,467 Posts |
You can become a tool-builder by following JesH's step-by-step instructions in about 10 minutes.
I see a working compiler as a requirement to run small-scale open source software, similar as a computer and installed OS are requirements. What we do is make the build process as easy as we possibly can - "./configure", possibly with a parameter to tell the location of the GMP library, and "make" should be all that is needed to get binaries on any supported platform. If it isn't, it's a bug that we need to fix. You can ask and expect that we make building the binary take as little hassle as at all possible. However, taking that much effort is what I ask of you. Alex |
|
|
|
|
|
#73 | |
|
Aug 2002
52510 Posts |
Quote:
I am perfectly capable of using a compiler and linker. Heck, I am perfectly capable of writing a compiler and/or linker. Some of the ones I have worked on are still available commercially. But if I wanted to build tools, I would be working on GCC. I just want to factor numbers right now. May I suggest that you look at the GIMPS model. Look how many people use this program. Would there be as many if not for the available binaries? |
|
|
|
|
|
|
#74 |
|
"Sander"
Oct 2002
52.345322,5.52471
29·41 Posts |
Maybe someone else wants to make optimized binaries for each cpu and host them?
BTW, isn't it time for a v6.01? That would be much easier than running 6 or 7 patches before compiling? |
|
|
|
|
|
#75 | |||
|
"Nancy"
Aug 2002
Alexandria
2,467 Posts |
Quote:
Quote:
Quote:
Alex |
|||
|
|
|
|
|
#76 | |
|
"Nancy"
Aug 2002
Alexandria
2,467 Posts |
Quote:
Alex |
|
|
|
|
|
|
#77 | |
|
Aug 2002
3×52×7 Posts |
Quote:
By the way, is it the number of architectures that is important? or the number of people that use that architecture? None of this is meant to take away from the good work you all have done. On the contrary, I would like to see your work more widely used, and appreciated. |
|
|
|
|
|
|
#78 |
|
Aug 2003
Europe
2×97 Posts |
Indeed it would be handy to have pre-compiled binairies available. But how will you build them? Since there are at least 10 architectures available for compiling optimal code for it. Or would you like only one? i386/i468/i686 or something? But that gives a slight possible speed decrease.
Would you trust on the compiler that the binairy is indeed optimal or would you test it on the architecture? If you would like to test? who has such different working machines at home? and time enough to test and approve that there are no building errors. Since the source tarball easily compiles on different compilers and platforms i think it is not a problem to distributed only the source. Compiling gmp and ecm for every different x86 cpu flavour for the win-platform is just to time taking to do. Atleast that is my opinion. Especially when the developers don't have a windows machine to test it on. |
|
|
|
|
|
#79 |
|
Jul 2004
Potsdam, Germany
3·277 Posts |
I think it would be no big deal to collect binaries from the persons which use gmp-ecm - I could provide web space.
I can understand that especially Windows users prefer binaries to sources, because most do not compile their programs themselves and don't have the required environment. Without broadband Internet access, I would also think twice before downloading 20 MB of files just for one build process... On the other hand, gmp-ecm is a program that can't be fast enough. Hence, it's always best to have it optimized for the system it runs on - which is done best when it's compiled on that particular system... My proposals: - Offering a collection of Windows builds for as many architectures as possible - Begin could be 6.01 - Every binary should be tested ("make check") before submission - even better would be a solution such that downloaders can check the binaries against their resp. systems - discussion point: What's the best way to take care of patches? - Always suggest the sources & compile tools (incl. manual) to the user, as this is the approach that will result in maximal performance and compatibility The question I have: How dependent is GMP resp. gmp-ecm on the architecture? Is e.g. a binary built on a AMD Thunderbird still optimal for a Sempron? A Northwood binary for a Prescott? If not, we need a large amount of binaries. What about different chipsets? And one further question: Does anyone know a good diff/merge tool for Windows? Last fiddled with by Mystwalker on 2005-03-16 at 17:03 |
|
|
|
|
|
#80 |
|
Sep 2004
18510 Posts |
Hi all !
Before releasing 6.01 version, can someone tell me if he has succesfully applying the loopcount.patch to ecm-6.0?? Even with help from Alex (using the -R option), it doesn't seems to work for me. I have maybe done a mistake so I'll be pleased to hear from you... If nobody use it, can someone explain me how to simply count the curves in output files (without using bad hacks like using the "replace" option in word that counts every occurence of expressions, for example "step 2"...)? The way I use gmp-ecm is to start it before sleeping, to let it run the whole night and working day till I'm back home at 7-8pm, then kill it and do other stuff untill I go to sleep and so on...I usually keep track of the number of curves in the run by renaming the result file (eg : numbername_date_B1_xxxcurves.txt). Thanks for your help... Philippe. Last fiddled with by Phil MjX on 2005-03-16 at 18:48 |
|
|
|
|
|
#81 | |
|
Aug 2002
3×52×7 Posts |
Except for PIV most current CPU's work well with a P3 build or even a PM build like Mystwalkers. Botxxx provided 3 binaries for ECM5.03 I found that his PM and P3 builds worked faster on K7 and K8 than his K7 build. I think something as simple as that provided by PFGW would work:
Quote:
|
|
|
|
|
|
|
#82 |
|
Aug 2003
Europe
2×97 Posts |
well no simple build ;) i just applied the 8 patches, and well got the bin's from MinGW, for 8th platforms. I can only test one, that is PM and well it works ;) but i can not really compare speeds that well.
Here is a 7z compact folder with the bin's in it. http://1202.org/download/ECM6_patch8.7z i will have a look at what things are different when compiling to different types and will try to make bin's when the 6.01 comes out. The bin includes only x86 ready builds -- note: that i did screwup with the naming of the bin. They all report as "Pentium M" while they shouldn't. Just noticed it now... but well have a look at the foldernames instead Last fiddled with by BotXXX on 2005-03-16 at 22:19 |
|
|
|
|
|
#83 | |
|
"Jason Goatcher"
Mar 2005
3×7×167 Posts |
Quote:
When I entered ./configure one of the messages said something like "/home/Jason directory doesn't exist." I tried adding a "Jason" directory in Windows and starting over, but it didn't help. Any ideas? |
|
|
|
|
|
|
#84 |
|
"Mike"
Aug 2002
2·23·179 Posts |
I can host binaries and provide a ftp to upload them if you all need it... Or I can just make the attachment size larger and the binaries could be attached to messages...
Personally, I use the prepackaged Debian version of GMP-ECM... I can build it from source, and have before, but I am lazy... |
|
|
|
|
|
#85 | |
|
Aug 2002
3×52×7 Posts |
Quote:
Thank you. I ran all 8 binaries on an Athlon64 at 2.4MHz. I'll only report on the Step2 times here. The Athlon was the fastest binary at 169079ms, followed by the Prescot at 169112ms, the Pentium M at 169271ms, the Athlon XP at 169358ms, the Pentium 3 at 169481ms, the Athlon K8 at 169627ms, the Nocona at 169666ms, and the Pentium 4 at 169779ms. Note that the difference between the fastest and the slowest binary was only .7 sec, or about .4%. Yes, they all ran including the Prescott. Could you try some of the other binaries on your Pentium M? Maybe Mystwalker can try these on a Pentium IV. It will be the weekend before I have access to a Pentium IV and a Sempron 3100. Just out of curiosity, what compiler did you use? Oh and I just ran Alex's P3 binary 182330ms, and Mystwalker's PM binary 171330ms Though these were with IE open and this reply page open with its animated icons. I'll have to redo these after I post. I've attached the input file I used. The command line parameters were: -dickson 12 11000000 <24737_991.txt >>output_xx.txt Last fiddled with by Joe O on 2005-03-17 at 06:14 |
|
|
|
|
|
|
#86 | |
|
Aug 2003
Europe
2×97 Posts |
Quote:
When i have some of my time freely available. Basicly it is very simple, - install MSYS -> MinGW -> and the packages that come with it. (autoconf, binutils and the compilers) - download and compile gmp ( www.swox.com/gmp ) (in msys and the download folder of gmp) ./configure make make install - download and compile gmp-ecm (in msys and the download folder of gmp-ecm) ./configure --with-gmp=/local make and at that moment you'll have a bin of gmp-ecm 6.0 for your system. Ofcourse now there is the need to apply patches. Do this before starting compiling gmp-ecm. - download the 8 different patches to gmp-ecm folder - open msys - go to the folder (logical ;) ) - type: Patch ecm60.patch1 - do this for all 8 of them - make the compile of gmp-ecm and voila, new and patched bin. |
|
|
|
|
|
|
#87 |
|
Banned
"Luigi"
Aug 2002
Team Italia
2·3·11·73 Posts |
Does the executable need any DLL?
I'mm waiting for someone hosting all Win executables domewhere... Luigi |
|
|
|
|
|
#88 | |
|
Jul 2004
Potsdam, Germany
3×277 Posts |
Quote:
|
|
|
|
|
|
|
#89 | ||
|
Jul 2004
Potsdam, Germany
83110 Posts |
Quote:
Quote:
Alex said that binaries with VC++ would be a tad faster than MinGW and Cygwin builds. Does someone have good step-by-step instructions for this? Espcially using VisualStudio.NET 2003... |
||
|
|
|
|
|
#90 |
|
Aug 2002
3·52·7 Posts |
BotXXX,
When I said "Could you try some of the other binaries on your Pentium M?" Imeant run them for timings. I really think that they all will work, well maybe not all, and will get run times very close together. Your point about recompiling GMP for each environment is a very good one, and may make a difference. But given the amount of work required, wouldn't just providing your Pentium-M binary be "good enough" for everyone? Alex had a very good point when he said there are a lot of environments and we can't support all of them. Also having many binaries may confuse the exact people we are trying to help. Now I for one, would like to see if recompiling GMP would make a significant difference, but maybe you only need to do it for some of the 8 choices? It is a lot of work, after all. If there is no difference for one or two then it may not be worth doing all of them. I will be happy to run timings for whatever you do, on as many different architectures that I can get access to. Thanks again for all your hard work. |
|
|
|
|
|
#91 | |
|
Aug 2002
3×52×7 Posts |
Quote:
|
|
|
|
|
|
|
#92 | |
|
Aug 2002
3·52·7 Posts |
Quote:
Last fiddled with by Joe O on 2005-03-17 at 13:53 |
|
|
|
|
|
|
#93 |
|
Jul 2004
Potsdam, Germany
3×277 Posts |
Ah, missed that one.
I already have 7-zip installed. It could be more userfriendly, but it does its job... I will test the binaries soon. |
|
|
|
|
|
#94 |
|
Jul 2004
Potsdam, Germany
3·277 Posts |
I was only able to test two binaries. gmp-ecm takes ages for stage1.
![]() Guess I'll do a resume of a stage1 for the rest. Much faster, but they won't benefit the factorization... |
|
|
|
|
|
#95 | |
|
"Jason Goatcher"
Mar 2005
3×7×167 Posts |
Quote:
Sorry if I've offended or ruined the topic, but if I had the know-how I WOULD do the task. |
|
|
|
|
|
|
#96 |
|
Jul 2004
Potsdam, Germany
33F16 Posts |
I've tested the 8 binaries on a 3.2 GHz P4. Unforunately, I don't know if it's a Northwood or a Prescott core.
Code:
Core Time for stage2 [ms] AMD athlon 340372 AMD athlon XP 340452 AMD K8 339826 Nocona 339799 P3 339919 P4 340865 PM 339600 Prescott 340628 I think that measurement errors are bigger, so I can't say that there was a "best" binary. It seems like the architecture optimizations are less valuable than I thought.
Last fiddled with by Mystwalker on 2005-03-18 at 14:20 |
|
|
|
|
|
#97 | |
|
"Nancy"
Aug 2002
Alexandria
1001101000112 Posts |
Quote:
In any case, if you make binaries for different architectures, you have to configure and compile GMP for each architecture, anything else will give absymal performance or not run at all on any architecture other than the one GMP was optimized for. Alex (hey, I said cross-compiling was a pain!) |
|
|
|
|
|
|
#98 |
|
"Jason Goatcher"
Mar 2005
66638 Posts |
I got to ./configure and got the following apparent problems:
/home/Jason:No such file or directory AND configure WARNING:Missing script is too old or missing Checking for mawk...No Configure...ERROR:Could not find a working configurer |
|
|
|
|
|
#99 | ||
|
Oct 2004
tropical Massachusetts
1058 Posts |
Quote:
Quote:
-- Sam |
||
|
|
|
|
|
#100 | |
|
Mar 2005
3 Posts |
Quote:
Cross-compiling worked like a charm for me. We have the mingw32 binutils and cross-compiler available in debian, and I could easily produce a static ecm-athlon.exe just by playing with the --host parameter. Well, I couldn't test my binary yet, but I'm confident it works
|
|
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| GMP 6.1.0 released | jwaltos | Software | 0 | 2015-11-10 03:36 |
| GTX 960 Released | Mark Rose | GPU Computing | 12 | 2015-06-12 09:51 |
| GCC 4.8 released | Dubslow | Programming | 0 | 2013-03-24 07:37 |
| PRPNet 4.0.1 Released | Joe O | Sierpinski/Riesel Base 5 | 1 | 2010-10-22 20:11 |
| PFGW 3.2.3 has been Released | rogue | Software | 10 | 2009-10-28 07:07 |