![]() |
|
|
#1 |
|
Jun 2012
Boulder, CO
172 Posts |
Has anyone successfully compiled and used msieve with the latest GMP release, 6.2.0?
I'm seeing segfaults during relation filtering. Some gdb debugging tracked the problem to the "if" block of this method in include/gmp_xface.h: Code:
static INLINE void uint64_2gmp(uint64 src, mpz_t dest) {
#if GMP_LIMB_BITS == 64
dest->_mp_d[0] = src;
dest->_mp_size = (src ? 1 : 0);
#else
/* mpz_import is terribly slow */
mpz_set_ui(dest, (uint32)(src >> 32));
mpz_mul_2exp(dest, dest, 32);
mpz_add_ui(dest, dest, (uint32)src);
#endif
}
Last fiddled with by ryanp on 2020-06-16 at 19:44 Reason: clarification |
|
|
|
|
|
#2 | ||
|
"Ben"
Feb 2007
3·1,171 Posts |
Quote:
https://www.mersenneforum.org/showpo...7&postcount=81 I suspect the problem comes about because of this from the gmp changelog: Quote:
|
||
|
|
|
|
|
#3 | |
|
Jun 2012
Boulder, CO
172 Posts |
Quote:
|
|
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| msieve on KNL | frmky | Msieve | 3 | 2016-11-06 11:45 |
| Msieve on a Mac (Help) | pxp | Msieve | 1 | 2013-02-28 14:56 |
| Using msieve with c | burrobert | Msieve | 9 | 2012-10-26 22:46 |
| msieve help | em99010pepe | Msieve | 23 | 2009-09-27 16:13 |
| fun with msieve | masser | Sierpinski/Riesel Base 5 | 83 | 2007-11-17 19:39 |