Page 3 of 3 FirstFirst 123
Results 51 to 55 of 55

Thread: Rewriting SuperPi

  1. #51
    Xtreme Member
    Join Date
    Jun 2007
    Location
    Wayne NJ
    Posts
    206
    Quote Originally Posted by Qkjhfhaiguihfma View Post
    Hi guys,

    i was following your discussion and when the above link was posted i wanted to test this pi algorithm. Unfortunately there was only the source code available and it took me one day to figure out how to compile it. And finally i did it

    I thought it might be interesting for other people to run it and compare the results between each other and the website. Since i have almost no expirience with gcc i hope the executables run on your system.....
    Those were created on AMD64-64Bit SuseLinux. The source uses GMP libraries from http://gmplib.org/.
    This means they dont run on 32Bit linux i think.
    Further i have created different optimized versions. One standard(should run on all processors) one for K8 and one for K10.
    But keep in mind since the source uses GMP the optimisations wont effect the program on a large scale i think.

    AFTER DOWNLOAD RENAME THE EXTENSION FROM .TXT TO .out for example.

    I would be interested if someone can run this on a phenom and compare the K8 to the K10 version.

    To execute the files you have to do the following:
    1. copy the files somewhere on your HDD in a folder.
    2. open a shell(console)
    3. go into that folder using cd myfolder or something
    4. Enter: ./programm name.out .Make sure there is no space between ./ and the program name. E.g. ./pi-normal-opt.out 10000000 <PRESS ENTER>. The 10000000 specifies that you want to calculate pi up to 10 million digits.

    I have no idea if those run on your machines.... but i hope so.

    This is what i have gotten @ 3400MHz:
    moork@linux-nns4:~/programming> ./pi-normal-opt.out 10000000
    #terms=705136, depth=21
    sieve time = 0.170
    .................................................. .

    bs time = 15.360
    gcd time = 2.760
    div time = 1.840
    sqrt time = 0.990
    mul time = 0.700
    total time = 19.070
    P size=14561191 digits (1.456119)
    Q size=14561184 digits (1.456118)



    And using
    Attached Files Attached Files
    Last edited by xPliziT; 04-20-2008 at 08:59 AM. Reason: attachments missing
    --------------------------------------------------
    AMD Phenom II 1090T @ 4GHz Asus Crosshair IV
    HD6970
    LSI Megaraid 9260-4i 4xMomentus XT
    OCZ Vertex 3@SB850
    8 gig Patriot Viper 7-7-7-24 T1
    Swiftech Watercooling
    Filco Majestouch 2
    Zowie EC1
    --------------------------------------------------

  2. #52
    Xtreme Addict
    Join Date
    Jun 2007
    Location
    Thessaloniki, Greece
    Posts
    1,307
    Well GMP runs in 32-bit as well. Will try it out. Anyone got any good optimization flags for K8 to suggest? Havent played arond with optimizing for perfomance with gcc.
    //Edit if you mean that you compiled the files on a 64bit OS then yes they wont work on 32bit OSes
    Last edited by BrowncoatGR; 04-20-2008 at 12:07 PM.
    Seems we made our greatest error when we named it at the start
    for though we called it "Human Nature" - it was cancer of the heart
    CPU: AMD X3 720BE@ 3,4Ghz
    Cooler: Xigmatek S1283(Terrible mounting system for AM2/3)
    Motherboard: Gigabyte 790FXT-UD5P(F4) RAM: 2x 2GB OCZ DDR3 1600Mhz Gold 8-8-8-24
    GPU:HD5850 1GB
    PSU: Seasonic M12D 750W Case: Coolermaster HAF932(aka Dusty )

  3. #53
    Xtreme Member
    Join Date
    Jun 2007
    Location
    Wayne NJ
    Posts
    206
    Yes, i have compiled them under 64Bit Linux.

    Here is the link with the CPU specific compilerflags
    http://gcc.gnu.org/onlinedocs/gcc-4....002d64-Options

    e.g. gcc -mtune=K8 etc
    --------------------------------------------------
    AMD Phenom II 1090T @ 4GHz Asus Crosshair IV
    HD6970
    LSI Megaraid 9260-4i 4xMomentus XT
    OCZ Vertex 3@SB850
    8 gig Patriot Viper 7-7-7-24 T1
    Swiftech Watercooling
    Filco Majestouch 2
    Zowie EC1
    --------------------------------------------------

  4. #54
    Registered User
    Join Date
    Nov 2007
    Location
    Paris,France
    Posts
    28
    Hmmm SP on linux without Wine.
    I thought about it for a long time ago.
    I've of course tried but it was only a big loss lol.
    Get on your great work mate

  5. #55
    Xtreme Member
    Join Date
    Jun 2007
    Location
    Wayne NJ
    Posts
    206
    This proggy beats SuperPI tenfold....

    And by the way it is faster on AMD than the Intels and this is the real interesting part The speed info can be found on the GMP website.
    Of course it has no real interface thats the bad part.
    --------------------------------------------------
    AMD Phenom II 1090T @ 4GHz Asus Crosshair IV
    HD6970
    LSI Megaraid 9260-4i 4xMomentus XT
    OCZ Vertex 3@SB850
    8 gig Patriot Viper 7-7-7-24 T1
    Swiftech Watercooling
    Filco Majestouch 2
    Zowie EC1
    --------------------------------------------------

Page 3 of 3 FirstFirst 123

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •