#### Great Internet Mersenne Prime Search (GIMPS)

• 1
• 2
• 3

30.7.9 | Updated: 30 Nov 2021

12,915

40

Maintainer(s):

Software Author(s):

• George Woltman
• 1
• 2
• 3

### All Checks are Passing

3 Passing Tests

Validation Testing Passed

Verification Testing Passed

Details

Scan Testing Successful:

No detections found in any package files

Details

### Deployment Method: Individual Install, Upgrade, & Uninstall

To install Great Internet Mersenne Prime Search (GIMPS), run the following command from the command line or from PowerShell:

>

To upgrade Great Internet Mersenne Prime Search (GIMPS), run the following command from the command line or from PowerShell:

>

To uninstall Great Internet Mersenne Prime Search (GIMPS), run the following command from the command line or from PowerShell:

>

📝 NOTE: This applies to both open source and commercial editions of Chocolatey.

### 1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)

#### 1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

#### 2. Get the package into your environment

• Open Source or Commercial:
• Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
• You can also just download the package and push it to a repository

choco upgrade prime95 -y --source="'INTERNAL REPO URL'" [other options]

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade prime95 -y --source="'INTERNAL REPO URL'"
$exitCode =$LASTEXITCODE

Write-Verbose "Exit code was $exitCode"$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains$exitCode) {
Exit 0
}

Exit $exitCode   - name: Install prime95 win_chocolatey: name: prime95 version: '30.7.9' source: INTERNAL REPO URL state: present   chocolatey_package 'prime95' do action :install source 'INTERNAL REPO URL' version '30.7.9' end   cChocoPackageInstaller prime95 { Name = "prime95" Version = "30.7.9" Source = "INTERNAL REPO URL" }  Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.  package { 'prime95': ensure => '30.7.9', provider => 'chocolatey', source => 'INTERNAL REPO URL', }  Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey. ### 4. If applicable - Chocolatey configuration/installation See infrastructure management matrix for Chocolatey configuration elements and examples. This package was approved as a trusted package on 01 Dec 2021. Description The Great Internet Mersenne Prime Search (GIMPS) is a collaborative project of volunteers using the Prime95 client to participate in a distributed computing effort to find Mersenne Prime numbers. The Prime95 client can also be used as a stress testing tool. The Prime95 client includes a "torture test" that places a heavy computational load on a system. Continuous computations are run and checked against tolerances while they are executing with the final results being compared to the known correct answers. ## Package Parameters The following package parameter can be set: • /AddToDesktop - this puts a shortcut on your desktop to Prime95. This parameter can be passed to the installer with the use of --params. For example: --params '"/AddToDesktop"'. To have choco remember parameters on upgrade, be sure to set choco feature enable -n=useRememberedArgumentsForUpgrades. ## Notes • If support for 32-bit Windows XP is required use the legacy version Prime95 29.8.6. choco install prime95 --version 29.8.6 choco pin pin add -n=prime95 --version 29.8.6  • This package is automatically updated using the Chocolatey Automatic Package Update Model (AU). If you find it is out of date by more than a day or two, please contact the maintainer(s) and let them know the package is no longer updating correctly. legal\LICENSE.txt  Software End User License Agreement ("EULA") • This EULA applies to all versions of GIMPS Prime95 and MPrime software and source code ("Software"). • Software is free to download and use indefinitely on any computer(s) you own or for which you have permission and authority to install and run Software. Software is not export-restricted. • To use the Software you agree to be bound by this EULA and the Terms and Conditions of Use. • GIMPS reserves the right to change this EULA without notice and with reasonable retroactive effect. Last updated 15 October 2008. • GIMPS not responsible for any damages or losses arising from use of Software. SOFTWARE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. Terms and Conditions of Use ("TCU") • GIMPS participation is free of charge and open to the public internationally. • Web Site. The GIMPS "Web Site" is understood to include all Mersenne.org Internet web site domains, web content and services, PrimeNet APIs, data, downloads, etc., regardless of means of access. • Non-Participants. Viewing the Web Site does not necessarily make you a Participant; non-Participants are not bound by this TCU. • Participation Constitutes Agreement. "Participant" is understood to be an individual person, or a single individual person designated as the authorized representative of any group, team, organization or legal entity, who personally, or whose computer(s), accesses and/or communicates with the Web Site to perform, or cause to perform, mathematical calculations that are, or typically, systematically organized by GIMPS. This includes, but is not restricted to, use of Prime95, MPrime, GLucas, or similar software, automatically over the Internet or using the Web Site (manual testing forms, reports, APIs, etc.), to get data or work assignments or to upload results or other data. Participation constitutes agreement with the TCU by that individual and any group, team, organization or legal entity the Participant represents. • Participant Identifiers. Participant's user ID, password and email address are the primary unique identifiers used by GIMPS to communicate and confirm Participant's identity. Secondary identifiers may include unique computer identifiers known as a "GUID". The "Anonymous" or "ANONYMOUS" user ID is owned by GIMPS, but may be used by Participants who do not wish to be publically identified. • Award Rules. Participant agrees to the Research Discovery Award Rules. • Award Refusal. Participant may at their option decline any award. Research Discovery Award Rules apply even if an award is unclaimed or optionally declined by the Participant. • Data Ownership and Privacy. GIMPS owns all collected data, and may publish or make available certain limited subset(s) of that data for public reference, excluding personally identifiable data according to the Privacy Policy. Examples of published data are stats, standings, charts and other derived charts or tables. • Disclaimer. GIMPS is not responsible for any losses due to Web Site errors, electronic transmission errors, omissions or unauthorized disclosures, failure of any software to correctly find and timely report a new prime number, or any other research discovery, or for someone "poaching" or "stealing" your assignment (performing work on it without it being assigned to them by GIMPS) and subsequently making a discovery. • Terms and Conditions of Use Changes. GIMPS reserves the right to change this TCU without notice. Last updated 15 October 2008. • Jurisdiction. Jurisdiction of law shall be the State of California and the United States of America. Participant agrees to settle all disputes through a good faith effort directly with GIMPS officers and directors, or as a last resort, by third-party binding arbitration through a certified arbitrator of GIMPS' choosing. Research Discovery Award Rules ("Rules") 1) General Award Rules • Participants. "Participant" is understood as defined in the Terms and Conditions of Use ("TCU"). • Award Eligibility. All GIMPS Participants are automatically eligible for Research Discovery Awards. GIMPS-interested parties, including its officers, directors, their immediate family members or directly-contracted agents, are ineligible for any award. • Awardees. "Awardee" is understood to be the Participant, or the group, team, organization or legal entity the Participant represents, and whose computer achieves a research discovery for which an award exists and all Rules in effect at the time of the discovery comply. • Award Payee. Awards are payable to a single Awardee, except if the Awardee designates a single charity to receive all or part of the award, for which GIMPS will make reasonable effort but does not guarantee to accommodate. Awardee is responsible for all applicable taxes and fees. • Awardee Information. Certain information about the Awardee, and where designated information about a selected charity, may be collected by GIMPS where lawfully required. • Discovery Evidence. As proof of discovery, Participant agrees to email to GIMPS at [email protected] certain data files generated by any software program used to make the discovery, along with their name, post mailing address, phone number, and GIMPS user ID if not anonymous. If proof is not satisfactory, it will be treated as an unclaimed award. • Discovery Non-Disclosure Period. Participants and Awardees agree to a reasonable immediate period of non-disclosure communications silence, not to exceed 90 days, about any discovery, alleged or verified, until GIMPS announces the discovery to the academia and press. Non-compliance may result in award disqualification. • Evidence of Authority. A Participant who does not own a computer on which a research discovery is found must produce written evidence satisfactory to the GIMPS board of directors of their status as a designated authorized representative with authority over that computer and to bind the TCU, before they, or whom they represent, can be considered an Awardee. If proof is not satisfactory, it will be treated as an unclaimed prize. • Award Notification. Participant is responsible for maintaining and monitoring the email address registered in their GIMPS user ID account. GIMPS is not responsible for ensuring email notification delivery or receipt by Participants. Anonymous Participants will not be notified. It is not necessary to receive an email notification from GIMPS to qualify for a Research Discovery Award. • Award Claims and Release Waivers. Participant and Awardee is/are responsible for claiming any applicable Research Discovery Award, and agree to execute a GIMPS award claim and release waiver and/or release waiver, as appropriate, satisfactory to the GIMPS board of directors. • Unclaimed, Expired, Disqualified and Refused Awards. Unclaimed awards expire one year from the date of the qualifying discovery. Expired, refused or disqualified awards will be donated by GIMPS to a 501(c)(3) charity or retained by GIMPS to fund awards or cover its expenses. • Other Disqualifications. GIMPS reserves the right to deny award payment if the Awardee is determined by the GIMPS board of directors to be personally, or affiliated with, or organized under, a charter or entity, practicing or promoting interests counter to humanitarian good or public benefit. GIMPS may require Awardee to execute an affidavit of eligibility according to these Rules. • Assignment of Specific Interest. Whereas GIMPS has undertaken an organized and systematic attempt to earn the$150,000 (USD) Electronic Frontier Foundation
("EFF") Cooperative Computing Award, all Participants and Awardees agree to  the
Rules and release their entire interest in the EFF award to GIMPS (see  Research
Discovery Awards).
• Final Authority. Decisions of the GIMPS board of directors in applying the TCU
and Rules, and in granting awards, are final.
• Rule Changes. These Rules, as in effect at the date and time of  a  discovery,
shall apply. GIMPS reserves the right to change these Rules without notice. Last
updated 06 January 2019.

2) Research Discovery Awards

Mersenne Prime Award of USD $3,000.00 Awarded to a GIMPS Participant for each new Mersenne prime discovered after August 23, 2008 and having fewer than 100,000,000 (decimal) digits. Rules in addition to the General Award Rules: • The award is presently$3,000. GIMPS may, at its sole discretion and without
notice, change the award amount or retroactively increase certain  previously-
awarded Research Discovery Awards up to the a maximum amount of $5000. • Verification may take several weeks. No money will be awarded until the discovery is independently verified, and the award money is available after GIMPS annual operating expenses. • In the unlikely event that an identical qualifying prime is discovered at about the same time by two or more Participants, then the winner will be the first to either send their result to the GIMPS PrimeNet server or to email their results to GIMPS. 100 Million Digit Prime Award of USD$50,000.00

Awarded to a GIMPS Participant for the first prime discovered having  at  least
100,000,000 (decimal) digits. Rules in addition to the General Award Rules:

• GIMPS has undertaken  an  organized  and  systematic  attempt  to  earn  the
$150,000 (USD) Electronic Frontier Foundation ("EFF") Cooperative Computing Award such that each Participant assigns all interest in this award entirely to GIMPS. Note that this Award may at current participation rates require an estimated 12-15 years of calculations before a qualifying discovery is made. • No money will be awarded unless and until a GIMPS Participant's computer discovers a 100,000,000 digit prime, it is independently verified, EFF validates GIMPS' claim according to their rules, and pays GIMPS the award. • Verification may take several weeks and publication in a suitable academic refereed journal as required by EFF rules will likely take several more months. • GIMPS will redistribute the EFF award money into thirds as follows: ○$50,000 will be awarded to the discoverer Awardee of the 100,000,000
digit prime.
○ $50,000 will be awarded to a 501(c)(3) mathematics-related charity selected by GIMPS. ○$50,000 will be retained by GIMPS to cover expenses and/or fund future
or past awards.
• In the unlikely event that more than one qualifying prime is  discovered  at
about the same time, then the winner will be the first to  either  send  their
result to the GIMPS PrimeNet server or to email their results to GIMPS.

Thank you for investing your trust. Since 1996, we never  have  and  never  will
provide  us  for  the  administration  and  operation  of  this  amazing  public
participation research project, except in the  unlikely  requirement  to  comply
with law. Last updated 15 October 2008.

legal\Prime95BinaryRedistributionAuthorisation.pdf
md5: 14AC7D7F71133B7B97CCFEC00290CF2D | sha1: CA898E09E256E038B50991604980E06DC07B8A9D | sha256: F758D764BD96E7E44F72CE252366E7B19FCCEE34F14DD8F146E8798A055D2F85 | sha512: DDA58A20E31E6CA09C9CE885003993C26C1B2EF0B838583EB53DF93698873A1666169044C9624367C66CEF447F4973EA348AF87B0B1B89D6DE0B332E356723F0
legal\VERIFICATION.txt
VERIFICATION

Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.

be verified by:

1. Go to the binary distribution page

links in the relevant section of the page.

http://www.mersenne.org/ftp_root/gimps/p95v307b9.win32.zip
http://www.mersenne.org/ftp_root/gimps/p95v307b9.win64.zip

2. The package can be validated by comparing checksums
- Use powershell function 'Get-Filehash' - Get-Filehash p95v307b9.win32.zip
- Use chocolatey utility 'checksum.exe' - checksum -t sha256 -f p95v307b9.win32.zip

File32:         p95v307b9.win32.zip
ChecksumType32: sha256
Checksum32:     6747BCA84D089B803AEBE3428A2506A613177DD106DE5E9415135FFCB601433A

- Use powershell function 'Get-Filehash' - Get-Filehash p95v307b9.win64.zip
- Use chocolatey utility 'checksum.exe' - checksum -t sha256 -f p95v307b9.win64.zip

File64:         p95v307b9.win64.zip
ChecksumType64: sha256
Checksum64:     119480C2910CD4FE6AEE6B408BC24A063B33F444D92CFEFD70AF5D85F58A645D

Contents of file LICENSE.txt is obtained from https://www.mersenne.org/legal

The license for Prime95 does not provide authorization for redistribution of the application
but George Woltman, Prime95 author and President Mersenne Research Inc., has authorized the
redistribution of Prime95 from the Chocolatey Community Repository.  A copy of this
authorization is included in Prime95BinaryRedistributionAuthorisation.pdf.

tools\chocolateyBeforeModify.ps1
$ErrorActionPreference = 'Stop';$toolsDir   = "$(Split-Path -parent$MyInvocation.MyCommand.Definition)"

. ("$toolsDir/helpers.ps1") Close-Prime95 Remove-DesktopShortcut  tools\chocolateyInstall.ps1 $ErrorActionPreference = 'Stop';

$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)" . ("$toolsDir/helpers.ps1")

if ((Get-ProcessorBits 32) -or $env:ChocolateyForceX86 -eq 'true') {$archive = Join-Path $toolsDir 'p95v307b9.win32.zip' } else {$archive = Join-Path $toolsDir 'p95v307b9.win64.zip' }$packageArgs = @{
PackageName  = $env:ChocolateyPackageName FileFullPath =$archive
Destination  = $toolsDir } Get-ChocolateyUnzip @packageArgs$pp = Get-PackageParameters

if ($pp.AddToDesktop) { Create-DesktopShortcut }  tools\helpers.ps1 $ErrorActionPreference = 'Stop';

$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"$desktopPath = [Environment]::GetFolderPath("Desktop")

$shortcutFilePath = "$desktopPath\Prime95.lnk"
$targetPath = "$toolsDir\prime95.exe"
$workingDirectoryPath =$toolsDir

function Close-Prime95 {
Get-Process prime95 -ea 0 | ForEach-Object { $_.CloseMainWindow() | Out-Null } Start-Sleep 1 Get-Process prime95 -ea 0 | Stop-Process #in case graceful shutdown did not succeed, try hard kill } function Create-DesktopShortcut {$shortcutArgs = @{
ShortcutFilePath     = $shortcutFilePath TargetPath =$targetPath
WorkingDirectoryPath = $workingDirectoryPath } Install-ChocolateyShortcut @shortcutArgs } function Remove-DesktopShortcut { if (Test-Path -Path$shortcutFilePath) {
Remove-Item -Path \$shortcutFilePath -Force | Out-Null
}
}

tools\p95v307b9.win32.zip
md5: 986E31DA9B991A35EFE30B19C3370704 | sha1: C15FD836F85D8779015B4AA1B8D6A0AD9D3F1F34 | sha256: 6747BCA84D089B803AEBE3428A2506A613177DD106DE5E9415135FFCB601433A | sha512: B9935754292DA6AB8927F20C6155D58ABC50C3F4B8E527792F9D1A04E07BCB72F5F96C1BDEC8467F07E2021F1E46A52E3ADB5C860070F0522D73FFB12266F767
tools\p95v307b9.win64.zip
md5: 174F03C7505A77D639600BFC6DF79617 | sha1: 0BD23035FCE5DDFEFDB196DC2EB64CEA8290CF4D | sha256: 119480C2910CD4FE6AEE6B408BC24A063B33F444D92CFEFD70AF5D85F58A645D | sha512: 9EEFA3A614B50F61527C3012717163428F39EEC95CB3BB747F864E4FB9B7F20156FEED6F49592B5AC462A52BE11D8E1F4296ECB7B89A9FB272340E276B704715

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Great Internet Mersenne Prime Search (GIMPS) 30.3.6 2805 Monday, January 25, 2021 Approved
Great Internet Mersenne Prime Search (GIMPS) 29.8.6 58 Monday, January 25, 2021 Approved
Great Internet Mersenne Prime Search (GIMPS) 29.4 5087 Tuesday, May 15, 2018 Approved
Great Internet Mersenne Prime Search (GIMPS) 28.10 1123 Sunday, June 18, 2017 Approved
Great Internet Mersenne Prime Search 28.9.0.20160823 826 Tuesday, August 23, 2016 Approved
Great Internet Mersenne Prime Search 28.9 308 Thursday, May 12, 2016 Approved
Great Internet Mersenne Prime Search 28.5 583 Tuesday, June 23, 2015 Approved
Great Internet Mersenne Prime Search 27.7.0.1 865 Sunday, January 26, 2014 Approved

This package has no dependencies.

Discussion for the Great Internet Mersenne Prime Search (GIMPS) Package

### Ground Rules:

• This discussion is only about Great Internet Mersenne Prime Search (GIMPS) and the Great Internet Mersenne Prime Search (GIMPS) package. If you have feedback for Chocolatey, please contact the Google Group.
• This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
• The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
• Tell us what you love about the package or Great Internet Mersenne Prime Search (GIMPS), or tell us what needs improvement.
• Share your experiences with the package, or extra configuration or gotchas that you've found.
• If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.