Version 28.9 - See the latest WhatsNew.txt file for a list of changes.
This latest version of prime95 has been optimized for Intel's new AVX2 instruction set. Owners of Haswell CPUs
(Core i3/i5/i7 4xxx and later) will see a significant performance increase.
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.
Unix and non-x86 users should check out Ernst Mayer's Mlucas page and the
Glucas page for guidance as to which code is best for their platform.
Some software has been written for NVIDIA and AMD GPUs. Visit the Mersenne GPU Computing Forum
for more information.
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 and proceed to Step 3:
Windows 64-bit, Windows 32-bit, Mac OS X Mavericks and later, Linux 64-bit, or one of the other special versions listed below.
More details about these programs, plus and a few more versions for other operating systems, are given here:
|Windows 10/8/7/Vista/XP/2008 64-bit||28.9||2016-03-29||5.2MB||p95v289.win64.zip|
|Windows 10/8/7/Vista/XP/2008/2003/2000/NT/Me/98/95 32-bit||28.9||2016-03-29||4.1MB||p95v289.win32.zip|
|Mac OS X||28.9||2016-03-29||3.5MB||p95v289.MacOSX.zip||Requires Mac OS X 10.9 (Mavericks) or later|
|Mac OS X command line version||28.7||2015-10-07||3.5MB||p95v287.MacOSX.noGUI.tar.gz||No GUI. Requires Mac OS X 10.7 or later and an Intel CPU.|
|Mac OS X pre-Mavericks||27.9||2012-12-12||5.1MB||p95v279.MacOSX.zip||Requires Mac OS X 10.3 to 10.8 and an Intel CPU.|
|FreeBSD 64-bit||28.7||2015-08-10||5.3MB||p95v287.FreeBSD10-64.tar.gz||Requires FreeBSD 10.0|
|FreeBSD 64-bit||27.9||2012-12-12||4.5MB||p95v279.FreeBSD64.tar.gz||Requires FreeBSD 8.0. May work on later versions.|
|FreeBSD 32-bit||26.6||2011-04-08||4.0MB||mprime266-FreeBSD.tar.gz||Requires FreeBSD 7.0. May work on later versions.|
|Windows 10/8/7/Vista/XP/2008 64-bit Service||28.9||2016-03-29||5.0MB||p95v289.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.|
|Windows 10/8/7/Vista/XP/2008/2003/2000/NT 32-bit Service||28.9||2016-03-29||4.0MB||p95v289.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.|
|Source code for Windows, Linux, FreeBSD, and Mac OS X||28.9||2016-04-25||42.8MB||p95v289.source.zip|
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 the
competitive 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 it's 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:
If you are upgrading from version 24, then get special instructions needed to first upgrade to the latest version.
- 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.
hide v24 upgrade instructions
Upgrade Instructions for upgrading from v24 (or older) to current versions
If you have not done so, create your new PrimeNet v5.0 UserID. Optional, but required to link your v4 account(s)
to keep work credit earned prior to 10/20/2008. You can then check your new account details and
link your old PrimeNet v4.0 UserID(s) to your new PrimeNet v5 ID. All of your V4 computers will appear as
a single virtual V5 computer, called v4_computers. Each v4 account linked should:
- Appear in the list of linked accounts on the v4 migration page
- Associate one v4_computers virtual CPU on your v5 account for each v4 account linked.
Note that the v4_computers virtual CPU is initially assigned to ANONYMOUS until you link your v4 account.
- Create TWO fat CPU credits, one each for LL and TF, which contain the ENTIRE v4 credit accumulated prior to 10/20/2008.
- These two fat credits should appear on your v5 account summary page.
- Your V4 computers will continue to run, receive work assignments, return work results.
- We will soon provide a way to distribute V4 shared work credit with other V5 users. Stay tuned!
- Some work credits may be applied or corrected after we complete our data reconciliation in late November.
- Not linking your v4 and v5 accounts is optional, but your V4 computer(s) will run under the v5 ANONYMOUS user.
- Upgrading several computers incrementally over time is OK. There's no hurry.
- To see each of your computers individually by name again you will need to upgrade the software.
- You can check the details of your upgraded computers in PrimeNet V5.0.
Upgrade the software. You can upgrade even if you are in the middle of testing an exponent.
- Save file and prime.spl formats are different so there is no going back.
- First allow the program to sync with PrimeNet to unspool and delete the prime.spl file of unsent results.
- Stop and exit the current version of the program.
- You should make a backup copy of the entire directory before upgrading.
- Upgrading in the middle of P-1 stage 2 will restart stage 2 from scratch.
- On dual and quad core machines, all CPUs are now managed by a single program instance.
- You must manually merge the worktodo.ini files into the v25 worktodo.txt (note the change in file suffix).
- In the instances of Prime95 you will no longer need, uncheck Start at Bootup before you exit the program.
- Save files must be copied to the new v25 directory.
Download the appropriate program for your OS:
Windows 64-bit, Windows 32-bit, Mac OS X Mavericks and later, Linux 64-bit, or one of the other ports listed below in the instructions for new users sections.
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.
Please consult the readme.txt file for possible answers. You can also search for an answer, or ask for help in the
GIMPS 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 Scott Kurowski. 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 to
George 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 can
download all the source code (42.8MB). This file includes all the version 28.9 source code for Windows, Linux, FreeBSD, and Mac OS X. Last updated: 2016-04-25.
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 and
other available source code that you can use to help search for Mersenne primes.
At this time, Ernst Mayer's Mlucas program and Guillermo Ballester Valor's Glucas
programs are the best choices 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.