Package Details: mprime 2:30.19.13-1

Git Clone URL: https://aur.archlinux.org/mprime.git (read-only, click to copy)
Package Base: mprime
Description: A GIMPS, distributed computing project client, dedicated to finding Mersenne primes.
Upstream URL: http://www.mersenne.org
Licenses: custom
Conflicts: mprime-bin
Submitter: graysky
Maintainer: graysky
Last Packager: graysky
Votes: 77
Popularity: 3.11
First Submitted: 2013-12-11 21:18 (UTC)
Last Updated: 2024-03-15 18:35 (UTC)

Latest Comments

1 2 3 4 5 6 Next › Last »

graysky commented on 2024-03-15 18:36 (UTC)

@leebickmtu - that was an accident, fixed now thank you for pointing out. @selfdenial - thanks for the patch, built fine here too.

selfdenial commented on 2024-03-15 10:52 (UTC)

@graysky Thanks for maintaining this package. gwnum.ld is no longer included within the source zip file. This change gets it to build for me. Note that I've only tested small FFT and mixed torture test but both seem to work as expected.

diff --git a/0001-makefile-fix-build-for-Arch-Linux.patch b/0001-makefile-fix-build-for-Arch-Linux.patch
index e63dd49..fb7c17f 100644
--- a/0001-makefile-fix-build-for-Arch-Linux.patch
+++ b/0001-makefile-fix-build-for-Arch-Linux.patch
@@ -30,7 +30,7 @@ index 61d130e..639c1bd 100644
 -LFLAGS = -Wl,-M -Wl,-L/usr/local/lib
  #LIBS = ../gwnum/gwnum.a ../gwnum/polymult.a -lm -lpthread -Wl,-Bstatic -lhwloc -Wl,-Bstatic -lcurl -Wl,-Bdynamic -lrt -lstdc++ -lz -lxml2 -ldl -lgmp
 -LIBS = ../gwnum/gwnum.a ../gwnum/polymult.a -lm -lpthread -Wl,-Bstatic -lhwloc -Wl,-Bstatic -lcurl -Wl,-Bdynamic -lrt -lstdc++ -ldl -lgmp
-+LIBS = ../gwnum/gwnum.a ../gwnum/gwnum.ld ../gwnum/polymult.a -lm -lpthread $(shell pkg-config --libs libcurl) -lstdc++ $(shell pkg-config --static --libs hwloc) -lgmp
++LIBS = ../gwnum/gwnum.a ../gwnum/polymult.a -lm -lpthread $(shell pkg-config --libs libcurl) -lstdc++ $(shell pkg-config --static --libs hwloc) -lgmp
 +
 +ALFLAGS = -I.. -I../gwnum -march=x86-64 -DX86_64 -O2 -Wno-unused-result -march=x86-64 -DPORT=8

diff --git a/PKGBUILD b/PKGBUILD
index 3bda3ca..5bd6c83 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,7 +17,7 @@ conflicts=(mprime-bin)
 source=("https://www.mersenne.org/download/software//v${pkgver%%.*}/${pkgver%.*}/p95v${_pkgver}.source.zip"
         0001-makefile-fix-build-for-Arch-Linux.patch)
 b2sums=('d0dbc36269585321a4cef44298b6438ab75f255a5ada5f35aea1218173da5ff04a8593d70cccc3776f45c415b9c1ed4152f3dda23710758ae21be66a94524bf3'
-        '630b854d53db06980dddb5b4489cb6192cba9205839ced97397ef2cff5c7cc1905443f3bf37608233b84d2a84634dc38a46a40d4239d844cba424fa3a34de15b')
+        '524d09fc9670d1d7cfb0550335de0f55e6b5caa3a65588b4725a2c6cbbedb704f179fdb13e28de4a6db784c4529f9ccb4a54b401c7c82b8edad4110fe1c0c784')

 prepare () {
    patch -Np1 -i 0001-makefile-fix-build-for-Arch-Linux.patch

leebickmtu commented on 2024-03-14 20:11 (UTC) (edited on 2024-03-14 20:14 (UTC) by leebickmtu)

epoch value in PKGBUILD was incorrectly decremented from 2 -> 1.
Since the versioning scheme has not changed this should stay 2.
This will be seen as an older version due to the change, See here

graysky commented on 2024-03-14 19:36 (UTC)

The new commit does not build. The makefile patch needs to be adjusted. I am too busy right now. Help from someone is appreciated.

Alucard commented on 2023-11-30 21:04 (UTC)

v30.8,build 15 does not seem to work on Zen 4 (7800X3D), and there is a build 17/18 download (but no source?).

Symptoms: "mprime -t" consumes CPU but never prints any worker start messages like "Test 1, 7600 Lucas-Lehmer iterations", and cannot be killed with ctrl+c/signal 15 (signal 9 works), and never makes results.txt. And the error from "mprime -b" is:

[Worker #1 Nov 30 15:56] Cannot initialize FFT code, errcode=1002 [Worker #1 Nov 30 15:56] Number sent to gwsetup is too large for the FFTs to handle.

v30.8,build 18 binary (from file p95v308b17.linux64.tar.gz, idk why 18 vs 17) downloaded from https://www.mersenne.org/download/ works.

Is it possible for you to again poke for the source of the updated version? Thank you!

graysky commented on 2023-11-15 10:20 (UTC)

Thanks yu17

yu17 commented on 2023-11-15 03:16 (UTC)

It seems that the original source URL no longer works. The source could now be downloaded from https://www.mersenne.org/download/software/v30/30.8/p95v308b15.source.zip. The checksums remain the same.

gabor_zoka commented on 2023-04-07 13:42 (UTC)

Hello graysky,

Would you consider this patch? https:// makes more credibility, and not just relying on the chksum in the PKGBUILD

Thank you,

Gábor

--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,7 +14,7 @@ license=('custom')
 depends=(curl hwloc boost-libs)
 makedepends=(boost)
 conflicts=(mprime-bin)
-source=("http://www.mersenne.org/ftp_root/gimps/p95v${_pkgver}.source.zip"
+source=("https://www.mersenne.org/ftp_root/gimps/p95v${_pkgver}.source.zip"
 0001-makefile-fix-build-for-Arch-Linux.patch)
 b2sums=('9ec5da2125b62630da84cad91b2293403fbdc9d86eb3b03a3b943256417f816cdfff1d8c5af9f6e7604c5cc628c65c13161437e19468985b7b037562fc1050da'
         '8b6f218b70d89d76b555e0955d480e7112279dd87f8f6101dd10eaf9b8de846d9fd469a7ba0ba7685ed68aa40fff240e0c7a9002380e4482ddf44d69b285587c')

gabor_zoka commented on 2023-04-05 23:11 (UTC)

Hello Graysky,

Would you be kind to change http:// to https:// in source=(...) please? Call me paranoid, but I consider that safer. Then, I do not just have to trust the maintainer's chksum, but at least I know I downloaded from the URL stated there.

I have tested and it worked. It would make my pull requests simpler and benefits others as well.

Thank you for your consideration and maintenance.

Kind Regards,

Gábor

graysky commented on 2023-02-10 16:41 (UTC)

@Beneter - not out-of-date/this is the source package and no source is available for 308b17. 308b15 is the latest source tarball. see mprime-bin for the version you called out.