Prime Number Program (Fun) | Unix Linux Forums | Shell Programming and Scripting

  Go Back    


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

Prime Number Program (Fun)

Shell Programming and Scripting


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 05-22-2008
Kweekwom Kweekwom is offline
Registered User
 
Join Date: Jul 2007
Last Activity: 5 April 2010, 3:43 PM EDT
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Prime Number Program (Fun)

Hi,

I was just wondering if anyone has, or knows where to download a prime number finder program. I would like a fairly simple bash program, and also I would like one that could take advantage of multiple processors. I have 500 cores I can use, and would like to take advantage of them using a prime number finder.

Thanks
Sponsored Links
    #2  
Old 05-22-2008
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon (Administrator Emeritus)
 
Join Date: Aug 2001
Last Activity: 29 July 2014, 6:05 PM EDT
Location: Ashburn, Virginia
Posts: 9,896
Thanks: 58
Thanked 415 Times in 249 Posts
Take your 500 cores and join PrimGrid. You will have fun, you will be using the most advanced prime number software on the planet, and you won't be rediscovering primes that are already known. PrimGrid has published all of the consecutive primes up to 210,000,000,000. Compressed, the list requires 6 DVD's. Finding consecutive primes is only one of the many projects they have. With 500 cores you should make the leader board easily.

link: PrimeGrid
Sponsored Links
    #3  
Old 05-22-2008
Kweekwom Kweekwom is offline
Registered User
 
Join Date: Jul 2007
Last Activity: 5 April 2010, 3:43 PM EDT
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks! I didn't realize people were finding these numbers on personal computers, I guess I may make the leader board considering each core has 4 GB of memory
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Resolving port number to program name thmnetwork Solaris 0 03-07-2012 03:28 PM
ksh program that finds the lowest number in a .txt file tinsteer Shell Programming and Scripting 4 10-24-2011 02:34 AM
prime armi con sed e awk L_92 Shell Programming and Scripting 1 04-09-2010 01:24 PM
Perl Prime number help Kweekwom Shell Programming and Scripting 1 04-05-2010 06:16 PM
A perfect number shell program Cyansnow UNIX for Dummies Questions & Answers 12 10-09-2009 07:01 AM



All times are GMT -4. The time now is 10:57 PM.