GIMPS - Free Prime95 software downloads (original) (raw)
Great Internet Mersenne Prime Search
GIMPS
Finding World Record Primes Since 1996
You are using the mirror
Free Mersenne Prime Search Software
Prime95 Version 30.19 build 20
- Download Software
- CPU Stress Testing
- Setup Instructions for New Users
- Upgrade Instructions for Existing Users
- Software Source Code
- Other Available Freeware
- Questions and Problems
Any modern personal computer with Windows, Mac OS X, Linux, or FreeBSD can participate. The How it Works page answers many questions you may have before downloading the software. You must also agree to the GIMPS free software license.
Latest version: 30.19 build 20 - see the latest WhatsNew.txt file for a full list of changes. Recent changes include:
- Huge improvements to stage 2 of ECM when lots of memory is available.
- Warning: prime.txt and local.txt files are automatically combined into one file. Consider backing up these files before installing.
- Warning: upgrading in the middle of P-1 or ECM stage 2 may restart stage 2 from scratch
Older version history
Highlights of version 30.8 include
- Huge improvements to stage 2 of P-1 when lots of memory is available.
- Warning: upgrading in the middle of P-1 stage 2 will restart P-1 stage 2 from scratch
Highlights of version 30.7 include
- Intel Alder Lake support. Improvements to stage 2 of P-1, ECM. Added P+1 factoring.
- Warning: upgrading in the middle of P-1 stage 2 will restart P-1 stage 2 from scratch
Highlights of version 30.3 include
- PRP with proofs. Eliminates the need for lengthy double-checking!!!
- Resource Limits dialog box to control Prime95's resource usage. See the readme.txt file for setting these options
Highlights of version 29.8 include
- AVX-512 support
- Modified torture test dialog box with new options and better understanding of the L1/L2/L3 cache hierarchy
- More robust implementation of Gerbicz error checking in PRP tests. This replaces LL testing as the default work type
Highlights of version 29.4 include
- GIMPS has a new sub-project -- finding (probable) prime Mersenne cofactors
- Like LL tests, PRP tests now support shift counts to aid in running double-checks
- PRP tests now support a type of low overhead error checking that almost guarantees correct results even on flaky hardware
- Because PRP tests are highly reliable, we now offer the option to do PRP tests instead of Lucas-Lehmer primality tests
- For non-base-2 PRP tests, there is a new option to run each iteration twice and rollback if a mismatch occurs
Highlights of version 29.3 include
- Enhanced error checking for LL tests
- Faster step 1 GCD for ECM and P-1 factoring
Highlights of version 29.2 include
- New benchmarking routines to determine the optimal FFT code
- Changes to default CPU cores assigned to each worker to optimize total throughput per system
- Optimized FFT sizes for AMD Ryzen
- The new code will now do multithreaded trial factoring
- Faster factoring code using FMA if available
- Improvements to the hyperthread core detection
Joining GIMPS is usually as simple as downloading and running the program, answering a few questions, and the program does the rest.
There are cash awards for discovering a new Mersenne prime!
- If you have not done so, create your UserID. It's optional, but required to check your account details, computer status and performance statistics and to assign computers to your user ID.
- Download the appropriate free program for your OS (see below for GPU software) and proceed to Step 3:
Operating System Version Released Size Download Notes / Checksums Windows: 64-bit 30.19b20 2024-06-02 8.4MB p95v3019b20.win64.zip MD5: 7a4ac1f3ff0045951fe6ad66e36c7929SHA1: 51a5849e8652b69909cce28f1d5f5697d96c1571SHA256: d9475f2ff3f4a6a701abc49a86a66126cb48abd10bda6fa87039d98fa8756bca Windows: 32-bit 30.19b20 2024-06-02 7.1MB p95v3019b20.win32.zip MD5: 52e4620151b6992c8139b57e55f416bdSHA1: 2824aaf9afcdb7bcdc3f502624292eb701229e96SHA256: a77c9297bd80dffcb7e2e7e6e89db674126c06a2fe8e769dcec06da2e66e8516 Linux: 64-bit 30.19b20 2024-06-02 5.6MB p95v3019b20.linux64.tar.gz MD5: 83481a73b8d6a3322d1f710bb7597b29SHA1: da9917594bcf4bb47ac0852f4edae669a08072e2SHA256: 4ce2377e03deb4cf189523136e26401ba08f67857a128e420dd030d00cdca601 Linux: 32-bit 30.19b20 2024-06-02 4.5MB p95v3019b20.linux32.tar.gz MD5: 1dd02a33c2a05b2bdaedfa0e734d8251SHA1: 1d14ca11958c5a2323322adfd6bcd5f2603f1fd5SHA256: 2b7e5d8447246cbb4fabebfd8599cee16a407e659b3bb5142314023e9f0d11e1 Mac OS X 30.19b20 2024-06-02 4.3MB p95v3019b20.MacOSX.tar.gz Command line version, requires Intel CPU, Mac OS X 10.9 (Mavericks) or laterMD5: 820167eeea2b5468a6a16a08ad3b26ffSHA1: 2dc404c679a0e8feeb3afdc565e10086faeb3fc9SHA256: 3e5a05b1849b501e35f9def0b6c7253a13a3baafa054aa1c69ba41c1d3d3326a FreeBSD 12: 64-bit 30.19b20 2024-06-02 5.9MB p95v3019b20.FreeBSD12-64.tar.gz Requires FreeBSD 12.0MD5: 90d4bbd391784808a9e171ea75a45574SHA1: 586028811b417b9a7cb4f323b9fad5d25823aa46SHA256: 156f64014cb4ea280966b24b979286c03c5cfff82b3407361bcd701457af87c6 Windows Service: 64-bit 30.19b20 2024-06-02 6.7MB p95v3019b20.win64.service.zip This is for administrators that want the extra security of running a traditional GUI-less service. You will still need to download the standard windows executable to configure the client. This program is for Windows Server experts only.MD5: d0ba13acc52ee58913be4501aa1d77eeSHA1: 18898748a375ef5d65e270a36b8f9cb391903873SHA256: dccf1c6f35e04bc16f01acdff1567371d3b14898950eafc2ae303cb09cd301dd Windows Service: 32-bit 30.19b20 2024-06-02 5.7MB p95v3019b20.win32.service.zip This is for administrators that want the extra security of running a traditional GUI-less service. You will still need to download the standard windows executable to configure the client. This program is for Windows Server experts only.MD5: a60ea8f345ccf4b6c759cf320ab47734SHA1: 0808e8f50d9f758e1c7087b9aa4d8dd7b3693b34SHA256: fca3b804b54c31f5d28fef76f728722afea617eb9c818d6dd1878c9bb8b9b0bf Source code 30.19b21 2024-09-14 37.7MB p95v3019b21.source.zip for Windows, Linux, FreeBSD, and Mac OS XMD5: b94656a5be4d11daacc13850cd3a4cccSHA1: 76cabdcbe4bd3d0d14faa4f0cfd674757d872928SHA256: bdc843a547a6f91dc67004a3efbcd99858af7db075ecd77b7188b23e5ac2ce2a Visit the Mersenne GPU Computing Forum for more information. If you have a recent discrete videocard powered by an AMD or NVIDIA GPU, it's potentially more powerful than your CPU at prime-testing (or factoring) Mersenne numbers. GPU Software Some Mersenne-related software has been written for NVIDIA and AMD GPUs, including: primality test (PRP): gpuowl trial-factoring (TF): mfaktc (NVIDIA) / mfakto (AMD) All GPU software communicates with PrimeNet using AutoPrimeNet. See the Quick Start Guide for setup instructions. Legacy Operating Systems Mac OS X, GUI version 29.8b7 2020-03-19 5.0MB p95v298b7.MacOSX.tar.gz Requires Intel CPU, Mac OS X 10.9 (Mavericks) or laterMD5: 5a110a0a5210fd10d7b8da0ce9ff43cfSHA1: 5a93d5f45dadd09b60520176f9abaead7c22d356SHA256: 3a0e228ea35bd96824163c7f5ab8e21502a33ae647752de3e5aab0f88fc7c52e Mac OS Xpre-Mavericks 27.9 2012-12-12 5.1MB p95v279.MacOSX.zip Requires Mac OS X 10.3 to 10.8 and an Intel CPU.MD5: 0390ae2ff3d4a7082927482d82e62f59SHA1: 5f08298fb4aff5dbbab3d072519cd80ecce576c1SHA256: c44e3bdae50d3360ec58a0efff47ccfdff5bdc5d31f669e2761da4737d5560d8 FreeBSD 11+: 64-bit 30.7b9 2021-11-15 7.1MB p95v307b9.FreeBSD11-64.tar.gz Requires FreeBSD 11.0MD5: a88718f5d985c3a0e0f76323969ffcafSHA1: 767e890fb914e5a81b0ee6c0df9b4624408caf4aSHA256: 750a36bce52d33db7c6765ea454d12a25aea0b967b99642d3847cb87c7e844a5 FreeBSD 10: 64-bit 28.7 2015-08-10 5.3MB p95v287.FreeBSD10-64.tar.gz Requires FreeBSD 10.0MD5: 5dd21b471946fdcb4858a9fa50fe718bSHA1: 5143e7e355f8fdbce5b3629cc9cd8d4e9bd04592SHA256: 0a04bb01524e7c10edce501f57e902b3ce9f82cda0e39aaae8bfaa1af95ab416 FreeBSD 8: 64-bit 27.9 2012-12-12 4.5MB p95v279.FreeBSD64.tar.gz Requires FreeBSD 8.0. May work on later versions.MD5: c6b1c84a79bb1b2e8366a81ddea0087cSHA1: 0f2972edb728a017b3bfe7da5cb7fddad7ed785cSHA256: 5ab9feddeb53fca9d9684119fae7ac271de3d85a4dd3c3f1fd26ab97ff71c05a FreeBSD 7: 32-bit 26.6 2011-04-08 4.0MB mprime266-FreeBSD.tar.gz Requires FreeBSD 7.0. May work on later versions.MD5: d7e78a458b0c7ebbd6db57ff08835739SHA1: b283278dea4887494ebb7357992981ece8df3e08SHA256: d4c2c044cfa45311dd7f2c41574f59a0519c989fd6e0ca723505dea12b2ff1fd Windows XP: 32-bit 29.8b6 2019-08-18 5.4MB p95v298b6.win32.zip MD5: 4f7d1cc7904d5d9ccb26c8c00b6470a9SHA1: 54dd8f9b4692d7a878626ac993562b83cb5587fbSHA256: cdd32b4c358869d3f588ae430bc67d9e88a5a69506002f864adac3c477c9202a non-x86 OS Unix and non-x86 users should check out Ernst Mayer's Mlucas page . - Create a directory and decompress the file you just downloaded. Windows 10, 8, 7, Vista, and XP have built-in unzip features. Other Windows users can choose from a variety of decompression programs. We use 7-zip. Linux and FreeBSD users should use the standard tar and gzip decompression utilities.
- Start the program! Linux and FreeBSD users should run the program from the command line with a -m switch, i.e. ./mprime -m
Enter your optional userID created on the website in Step 1, and optionally name your computer. We recommend Windows users select Options ยป Start at Bootup or Start at Logon.
That's all you need to do! The program contacts a central server called PrimeNet to get some work to do. Usually the program and PrimeNet know the best work to assign, but it's up to you! You can administer your account and computers on your userID's account page. Once you complete a workunit you can track your standings on thecompetitive stats pages the server updates every hour (see Top Producers in the menu, left, for more stats). You can monitor each of your computers' progress, even remote-control the work assignments they request using your userID's CPUs page!
Linux and FreeBSD versions can also be set up to run every time you restart your computer.
Ask for help at the Mersenne Forum.
Prime95 has been a popular choice for stress / torture testing a CPU since its introduction, especially with overclockers and system builders. Since the software makes heavy use of the processor's integer and floating point instructions, it feeds the processor a consistent and verifiable workload to test the stability of the CPU and the L1/L2/L3 processor cache. Additionally, it uses all of the cores of a multi-CPU / multi-core system to ensure a high-load stress test environment.
From the most recent "<stress.txt>" file included in the download:
Today's computers are not perfect. Even brand new systems from major manufacturers can have hidden flaws. If any of several key components such as CPU, memory, cooling, etc. are not up to spec, it can lead to incorrect calculations and/or unexplained system crashes.
Overclocking is the practice of increasing the speed of the CPU and/or memory to make a machine faster at little cost. Typically, overclocking involves pushing a machine past its limits and then backing off just a little bit.
For these reasons, both non-overclockers and overclockers need programs that test the stability of their computers. This is done by running programs that put a heavy load on the computer. Though not originally designed for this purpose, this program is one of a few programs that are excellent at stress testing a computer.
The Prime95 Wikipedia page has an excellent overview on using Prime95 to test your system and ensure it is working properly. The tips presented there should be helpful regarding how long to run the torture test and provide a solid guideline on how long to run the Prime95 stress test.
Performing a stress test is simple:
Download the software and unzip the files to your desired location.
Run the Prime95 executable and select "Just Stress Testing" when asked.
The default options are sufficient to do a well balanced stress test on the system.
Download the appropriate program for your OS
Upgrade the software. Stop and exit your current version, then install the new version overwriting the previous version. You can upgrade even if you are in the middle of testing an exponent.
Restart the program.
Read WhatsNew.txt
Please consult the readme.txt file for possible answers. You can also search for an answer, or ask for help in theGIMPS forums. Otherwise, you will need to address your question to one of the two people who wrote the program. Networking and server problems should be sent to GIMPS admin. Such problems include errors contacting the server, problems with assignments or userids, and errors on the server's statistics page. All other problems and questions should be sent toGeorge Woltman, but please consult the forums first.
See GIMPS Terms and Conditions. However, please do send bug reports and suggestions for improvements.
If you use GIMPS source code to find Mersenne primes, you must agree to adhere to the GIMPS free software license agreement. Other than that restriction, you may use this code as you see fit.
The source code for the program is highly optimized Intel assembly language. There are many more-readable FFT algorithms available on the web and in textbooks. The program is also completely non-portable. If you are curious anyway, you candownload all the source code (37.7MB). This file includes all the version 30.19b21 source code for Windows, Linux, FreeBSD, and Mac OS X. Last updated: 2024-09-14.
The GIMPS program is very loosely based on C code written by Richard Crandall. Luke Welsh has started a web page that points to Richard Crandall's program andother available source code that you can use to help search for Mersenne primes.
At this time, Ernst Mayer's Mlucas program is the best choice for non-Intel architectures. Luke Welsh has a web page that points to available source code of mostly historical interest you can use to help search for Mersenne primes.