![]() |
![]() |
#1 |
Sep 2003
1010000101112 Posts |
![]()
In the README file for GMP-ECM, it mentions using the possibility of using the --enable-openmp flag with the configure command. This enables multithreading and greater parallelism in stage 2.
I ran configure with this flag and compiled 7.0.4, and "make check" indicated the tests were passed. However, when I tried testing it, it missed a P-1 factor it should have found. First I ran: Code:
echo "2^20173-1" | ./ecm -pm1 -save toto.txt 50e6 50e6 Then I ran: Code:
./ecm -resume toto.txt 50e6 150e6 242259284775981115080842803960207 = 2kp + 1, k = 3 × 449773 × 628373 × 49835969 × 142103537 However, ecm-7.0.4 configured with --enable-openmp does not find this fourth factor, whereas ecm-7.0.3 configured without --enable-openmp does find it. This was using gcc 4.8 on Linux, which presumably implies support of OpenMP 3.1, which are both somewhat outdated versions, but these are standard on Amazon Linux. The save file toto.txt is included as an attachment. The second command above (stage 2) takes only a few seconds to complete. Is there any more extensive test suite for gmp-ecm beyond what is provided by "make check" ? |
![]() |
![]() |
![]() |
#2 | |
Bamboozled!
"𒉺𒌌𒇷𒆷𒀭"
May 2003
Down not across
3·3,529 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#3 |
Sep 2003
A1716 Posts |
![]()
One reason I posted here was to warn other users or get feedback about whether anyone else has tried to enable OpenMP, and also providing a very simple test case that can be checked in a few seconds.
|
![]() |
![]() |
![]() |
#4 | |
Bamboozled!
"𒉺𒌌𒇷𒆷𒀭"
May 2003
Down not across
3×3,529 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Which SIMD flag to use for Raspberry Pi | BrainStone | Mlucas | 14 | 2017-11-19 00:59 |
Work flag | richs | YAFU | 11 | 2016-01-30 14:27 |
C and the scarry flag | Mr. P-1 | Programming | 77 | 2015-02-23 00:04 |
OpenMP | R. Gerbicz | Programming | 13 | 2011-09-22 01:11 |
HOWTO: enable the HLT command on nforce2 chipsets with freeware utils! | graysky | Hardware | 4 | 2004-10-17 10:23 |