Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: porting C code to Perl

by marioroy (Prior)
on Oct 29, 2017 at 20:40 UTC ( [id://1202295]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # default package build
    MPN_PATH=" x86_64/k8 x86_64 generic"
    ...
    # manually on the broadwell machine, includes extra optimizations
    MPN_PATH=" x86_64/coreibwl x86_64/coreihwl x86_64/coreisbr x86_64/core
    +inhm x86_64/core2 x86_64 generic"
    
  2. or download this
    cd gmp-6.1.2
    ./configure --prefix=/opt/perl-5.26.1
    ...
    make test
    make install
    
  3. or download this
    time /opt/perl-5.26.1/bin/perl -Mntheory=:all -E 'say Pi(1e6)' | wc -c
    1000002
    ...
    91m  7.581s  using system gmp libraries
    67m 40.951s  using gmp libraries from /opt/perl-5.26.1/lib
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1202295]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-04-25 20:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found