Page 1 of 1

(FILLED) Super Pi

Posted: Thu 29 Jul 2010, 14:36
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.

Posted: Mon 02 Aug 2010, 15:38
by noryb009
Can you give a link to a linux version?

Posted: Tue 03 Aug 2010, 17:31
by Wally
Here is link to source code for super pi, Linux version:

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

Posted: Tue 03 Aug 2010, 19:09
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

Posted: Wed 04 Aug 2010, 18:12
by Wally
I tried it, did you get it to work?

It produced a text file of some numbers..

Posted: Thu 05 Aug 2010, 01:46
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

Posted: Thu 05 Aug 2010, 02:45
by Wally
Thanks, I got it to work.

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

Posted: Thu 05 Aug 2010, 11:52
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.

Posted: Thu 05 Aug 2010, 19:45
by Wally
pretty sharp, thanks, I appreciate it.

Posted: Fri 06 Aug 2010, 00:41
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.