(FILLED) Super Pi

Requests go here. If you fill a request, give it a new thread in the appropriate category and then link to it in the request thread.
Post Reply
Message
Author
Wally
Posts: 145
Joined: Sat 29 May 2010, 14:56
Location: Heaven, Dell X1:NO HDD, NO CD, NO FAN Pup 4.3.1 USB Boot............................ {RAP SUCKS!}

(FILLED) Super Pi

#1 Post by Wally »

Super Pi.

It would be nice and come in handy if we had this as a pet.

A benchmark to test all our Puppy computers.

There is a Linux version, already.
Last edited by Wally on Fri 06 Aug 2010, 07:48, edited 1 time in total.

noryb009
Posts: 634
Joined: Sat 20 Mar 2010, 22:28

#2 Post by noryb009 »

Can you give a link to a linux version?

Wally
Posts: 145
Joined: Sat 29 May 2010, 14:56
Location: Heaven, Dell X1:NO HDD, NO CD, NO FAN Pup 4.3.1 USB Boot............................ {RAP SUCKS!}

#3 Post by Wally »

Here is link to source code for super pi, Linux version:

http://en.pudn.com/downloads147/sourcec ... 46_en.html

noryb009
Posts: 634
Joined: Sat 20 Mar 2010, 22:28

#4 Post by noryb009 »

I found this thread, which just gives you an executable you can run on any linux distro.

http://www.overclockers.com/forums/arch ... 05925.html

Wally
Posts: 145
Joined: Sat 29 May 2010, 14:56
Location: Heaven, Dell X1:NO HDD, NO CD, NO FAN Pup 4.3.1 USB Boot............................ {RAP SUCKS!}

#5 Post by Wally »

I tried it, did you get it to work?

It produced a text file of some numbers..

noryb009
Posts: 634
Joined: Sat 20 Mar 2010, 22:28

#6 Post by noryb009 »

Did you enter it in command line mode?

Try this:

1) Download the file
2) untar it by clicking on it, selecting "Select all", then "extract"
3) using ROX, go to where the files were untar-ed to
4) right-click in ROX -> Window -> Terminal Here
5) type :

Code: Select all

sh super_pi 20
if that doesn't work, try:

Code: Select all

./pi
6) It should output how long it took

Wally
Posts: 145
Joined: Sat 29 May 2010, 14:56
Location: Heaven, Dell X1:NO HDD, NO CD, NO FAN Pup 4.3.1 USB Boot............................ {RAP SUCKS!}

#7 Post by Wally »

Thanks, I got it to work.

How, for example, would you set it to compute to 2 million digits of accuracy?

noryb009
Posts: 634
Joined: Sat 20 Mar 2010, 22:28

#8 Post by noryb009 »

2 million in binary is 111101000010010000000 (yes, I used a converter). The number is 21 bits (digits), so you run:

Code: Select all

sh super_pi 21
or

Code: Select all

./pi 21
The 21 is for 21 bits (digits). This will actually convert up to 2097151 digits of accuracy.


If you want to do x digits of accuracy, type your number into "decimal" here, and copy the "binary" into Geany, count the number of digits, then run the command with the number you counted.

Wally
Posts: 145
Joined: Sat 29 May 2010, 14:56
Location: Heaven, Dell X1:NO HDD, NO CD, NO FAN Pup 4.3.1 USB Boot............................ {RAP SUCKS!}

#9 Post by Wally »

pretty sharp, thanks, I appreciate it.

noryb009
Posts: 634
Joined: Sat 20 Mar 2010, 22:28

#10 Post by noryb009 »

If that is all you need, then please edit your first post, and change the tittle to "[FILLED] Super Pi". If you ever need more help, edit it again to "Super Pi - need help" or something like that.

Post Reply