10 Awesome Tricks for Numerical The Links Researchers Matthew R. - - PowerPoint PPT Presentation

10 awesome tricks for numerical
SMART_READER_LITE
LIVE PREVIEW

10 Awesome Tricks for Numerical The Links Researchers Matthew R. - - PowerPoint PPT Presentation

10 Awesome Tricks for Numerical Researchers Goodman The Talk 10 Awesome Tricks for Numerical The Links Researchers Matthew R. Goodman 1 1 3Scan Biodata Nerd San Francisco matt@3scan.com July 14, 2011 Scipy 2011 1.)


slide-1
SLIDE 1

10 Awesome Tricks for Numerical Researchers Goodman The Talk The Links

10 Awesome Tricks for Numerical Researchers

Matthew R. Goodman1

13Scan Biodata Nerd – San Francisco

matt@3scan.com

July 14, 2011 Scipy 2011

slide-2
SLIDE 2

10 Awesome Tricks for Numerical Researchers Goodman The Talk The Links

1.) numpy/scipy/matplotlib DUH

slide-3
SLIDE 3

10 Awesome Tricks for Numerical Researchers Goodman The Talk The Links

2.) iPython

◮ Interactive namespace ◮ Intelligent debugging ◮ New parallel tools and kernel wrangling ◮ Web-notebook?

If you are not using this tool you are DOING IT WRONG

slide-4
SLIDE 4

10 Awesome Tricks for Numerical Researchers Goodman The Talk The Links

3.) numexpr/theano

◮ Kill those pesky intermediate evaluations ◮ Less malloc and dealloc thrashing etc. ◮ numexpr ← super easy ◮ theano ← comes w/ GPU magic

(more complicated)

slide-5
SLIDE 5

10 Awesome Tricks for Numerical Researchers Goodman The Talk The Links

4.) pytables (+blosc)

Stolen from project page. The above graphic should

  • ffend you . . .
slide-6
SLIDE 6

10 Awesome Tricks for Numerical Researchers Goodman The Talk The Links

5.) mayavi2 / mlab

slide-7
SLIDE 7

10 Awesome Tricks for Numerical Researchers Goodman The Talk The Links

6.) Cython

◮ Autogen/Compile Python-eqsue code into C ◮ Easy to use for wrapping existing code ◮ EPIC Speedups

slide-8
SLIDE 8

10 Awesome Tricks for Numerical Researchers Goodman The Talk The Links

7.) Your Local HPC

◮ HPC admins get graded on machine utilization and

assisted publications.

◮ They WANT to give you hours ◮ They WANT to help you setup tools

◮ Give them a good excuse!

◮ Check out Teragrid and your local facilities.

slide-9
SLIDE 9

10 Awesome Tricks for Numerical Researchers Goodman The Talk The Links

8.) Amazon EC2

◮ FREE TO RESEARCHERS!

(google for “EC2 research” or see links)

◮ 4000 character proposal and and .edu email get you

$7500 in EC2 credit . . . every 6 months.

◮ Do you need four cores 24 hours a day or 100 for 4

hours a day? GPU instances? 16 cores and 60GB or RAM? Clusters w/ 10Gig-E Interconnects. All possible.

◮ Can mail-in hard drives for big data projects

slide-10
SLIDE 10

10 Awesome Tricks for Numerical Researchers Goodman The Talk The Links

9.) Starcluster

◮ Tool that spins up EC2 instances ◮ Image with most of tools previously mentioned

already installed

◮ Manages permanent drives and data movement

slide-11
SLIDE 11

10 Awesome Tricks for Numerical Researchers Goodman The Talk The Links

10.) Trilinos/PyTrilinos

◮ Parallel linear algebra system ◮ Huge number of linear/non-linear solvers/optimizers ◮ Harsh learning curve, but EXTREMELY scalable

slide-12
SLIDE 12

10 Awesome Tricks for Numerical Researchers Goodman The Talk The Links

1–5

◮ Numpy/Scipy(+scikits)/Matplotlib ◮ iPython – Use this. ◮ Numexpr/Theano – Easy speed ◮ pytables (+blosc) – Easy fast IO ◮ mayavi2 and mlab – Beautiful

Visualizations

slide-13
SLIDE 13

10 Awesome Tricks for Numerical Researchers Goodman The Talk The Links

6–10

◮ Cython – Awesome fast. . . ◮ HPC Admins – Talk to these people! ◮ Amazon EC2 – Free Cycles for

Researchers/Educators

◮ Starcluster – Awesome simple

configutaion of above

◮ Trilinos/PyTrilinos – DOF > 100M? Use

this.

slide-14
SLIDE 14

10 Awesome Tricks for Numerical Researchers Goodman The Talk The Links

List-o-links

◮ numpy/scipy – http://numpy.scipy.org/ ◮ ipython – http://ipython.scipy.org/moin/ ◮ pytables – http://www.pytables.org/moin ◮ Teragrid – https://www.teragrid.org/ ◮ EC2 Researchers Link –

http://aws.amazon.com/education/

◮ Starcluster –

http://aws.amazon.com/education/

◮ Trilinos/Pytrilinos –

http://trilinos.sandia.gov/

slide-15
SLIDE 15

10 Awesome Tricks for Numerical Researchers Goodman The Talk The Links

Thanks!

Enjoy your afternoon!