![]() |
![]() |
#34 |
"Teal Dulcet"
Jun 2018
1C16 Posts |
![]()
I wrote a script to download, setup, build and run Mlucas on Linux. It supports x86 Intel and AMD and ARM CPUs: https://github.com/tdulcet/Distribut...Scripts#mlucas
If the required dependencies (Make and the GNU C compiler) are already installed, it should work on any Linux distribution. Otherwise, it will install the required dependencies on Ubuntu and Debian/Raspbian. Pull requests are welcome! By creating a Makefile and using Make's jobs (-j) feature with one job for each CPU thread, this script will build Mlucas significantly faster than if you manually ran the gcc commands in the Mlucas README. For example, if your CPU has four CPU threads, it will build approximately four times faster. This script follows the recommended instructions on the Mlucas README for each architecture and CPU, which should provide the best performance for most users. It also saves the Makefile so users can easily change the gcc parameters and rerun make. There is a log of the script running on Travis CI here. Note that there are over 20,000 lines of output, most of which are warnings from gcc. There are also separate scripts to download, setup and run Prime95 and CUDALucas on Linux. |
![]() |
![]() |
![]() |
#35 |
∂2ω=0
Sep 2002
República de California
23·1,453 Posts |
![]()
@tdulcet - thanks for this! Yes, parallel-buildability is the one clear advantage automake has over my beloved command-line mode.
I think a good way to proceed is to let other Mlucas-building GIMPSers try your script out, if feedback is positive I'll be happy to add a link to it, along with suitable text and credit-to-you, on the README page. Sound good? |
![]() |
![]() |
![]() |
#36 |
"Teal Dulcet"
Jun 2018
22×7 Posts |
![]()
@ewmayer Sounds great. Thanks! Feedback is always welcome.
|
![]() |
![]() |
![]() |
#37 |
∂2ω=0
Sep 2002
República de California
23·1,453 Posts |
![]() |
![]() |
![]() |
![]() |
#38 |
"Tony Gott"
Aug 2002
Yell, Shetland, UK
3·107 Posts |
![]()
Curiosity has got the better of me.
Will the new ARM cpu being designed to run Mac OS11 be able to run Mlucas, or is it far too early to know ... Thanks |
![]() |
![]() |
![]() |
#39 |
∂2ω=0
Sep 2002
República de California
101101011010002 Posts |
![]() |
![]() |
![]() |
![]() |
#40 |
∂2ω=0
Sep 2002
República de California
23×1,453 Posts |
![]()
Couple significant announcements, of the I-have-good-news-and-bad-news variety.
o First, the bad: I have found and fixed a pair of critical bugs affecting FFT lengths of form 3*2k. This means current GIMPS double-checks at FFT length 3M (3072K) and recently-reached-by-the-GIMPS-first-time-test-wavefront 6M (6144K). The bug is specific to 256-bit SIMD builds, meaning x86 avx and avx2-targeting builds. Assuming a multithreaded build, only FFT radix sets of form 192,[powers of 2] are affected, but radix-192 is the most common leading radix appearing in the runtime-based mlucas.cfg tuning file for GIMPS-relevant FFT lengths of the above form, in my experience. ARM builds are not affected, but I rebuilt those binaries as a matter of course, to make sure my bugfix didn't inadvertently break anything there. o Now the good news: Thanks to Loïc Le Loarer, we have a vastly improved version of the primenet.py assignment-management script for users to try out. This uses Primenet v5 API calls to do cool stuff like register one's computer and monitor progress of one's various runs across multiple devices, as shown in the attachment below. Check out the Mlucas readme page for details and updated links! |
![]() |
![]() |
![]() |
#41 | |
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest
5,009 Posts |
![]() Quote:
100Mdigit exponents use 18M ffts. For example, complex FFT radices 36 16 16 32 32 which is 32 2k. Are they affected too? Have they been checked for whether they're affected? How many versions back do the relevant bugs go? But it would not affect SSE2 builds, correct? |
|
![]() |
![]() |
![]() |
#42 | |
∂2ω=0
Sep 2002
República de California
23·1,453 Posts |
![]() Quote:
Bug is only related to new code introduced in v19, and if your run at whatever FFT length and radices doesn't crash for expos < 98% the max permitted for the given FFT length (look for the p[ = ...]/pmax_rec on startup, it's unaffected by the bug. Last fiddled with by ewmayer on 2020-07-09 at 05:30 |
|
![]() |
![]() |
![]() |
#43 |
Just call me Henry
"David"
Sep 2007
Cambridge (GMT/BST)
3×1,951 Posts |
![]()
Are any exponents potentially affected tested and double checked with mlucas?
|
![]() |
![]() |
![]() |
#44 | |
"Teal Dulcet"
Jun 2018
22×7 Posts |
![]() Quote:
@ewmayer I tried to download the new source tarballs, but I am getting the old MD5 checksums and not what is listed on the Mlucas README. I was going to update my scripts with the new checksums. |
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mlucas v18 available | ewmayer | Mlucas | 48 | 2019-11-28 02:53 |
Mlucas version 17 | ewmayer | Mlucas | 3 | 2017-06-17 11:18 |
MLucas on IBM Mainframe | Lorenzo | Mlucas | 52 | 2016-03-13 08:45 |
Mlucas on Sparc - | Unregistered | Mlucas | 0 | 2009-10-27 20:35 |
mlucas on sun | delta_t | Mlucas | 14 | 2007-10-04 05:45 |