Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

My club is considering buying a Raspberry Pi computer for tinkering. Can Mathematica be installed on and ran from it?

share|improve this question
4  
Hmm, perhaps the accepted answer should be updated? –  Ajasja Dec 2 '13 at 11:07

5 Answers 5

up vote 15 down vote accepted

Mathematica is available for non-commercial use on the RPi now.

No. Mathematica is not available for Linux on the ARM architecture; only for x86/x86-64.

Even if it ran, performance wouldn't be very good, considering the Pi's weaker hardware. From the FAQ you linked to:

Overall real world performance is something like a 300 MHz Pentium 2, only with much, much swankier graphics.

while Wolfram recommends

Processor: Intel Pentium III 650 MHz or equivalent
Disk Space: 4 GB
System Memory (RAM): 512 MB required; 1 GB+ recommended

share|improve this answer
3  
If, hypothetically, you could compile MMA for ARM then you could use a version from the Pentium 2 era which should run better. Moot point though. –  s0rce Oct 9 '12 at 15:43
    
This answer needs updating or deletion. Mathematica now comes pre-shipped on the Raspbian OS, making this answer blatantly wrong. –  Wallacoloo yesterday
    
I updated it. I don't use Mathematica anymore, so I never checked back. –  Renan yesterday
    
@Renan I am curious, what has taken its place for you? –  Mr.Wizard yesterday
    
@Mr.Wizard mostly those days I use MATLAB and Python. –  Renan yesterday

Update: Yes, the Wolfram Language (and Mathematica) are now available free (for non-commercial use) on the Raspberry Pi.

Details:

http://www.raspberrypi.org/archives/5282

http://blog.stephenwolfram.com/2013/11/putting-the-wolfram-language-and-mathematica-on-every-raspberry-pi/

===

We are working on a project related to Raspberry Pi at Wolfram Research.

If you are interested in becoming a prerelease tester for this project, please send email to prerelease@wolfram.com. Please be sure to include your name, wolframid and any ideas you have on using Mathematica on a Raspberry Pi.

share|improve this answer
    
Upvoted, since finally someone at WRI answered. Was it two months ago Mr. Wolfram mentioned something like that in a speech? –  Stefan Jul 22 '13 at 20:25
1  
Thanks. As a representative from a British high school, I have emailed and am interested to see the result. –  nickjamesuk Jul 22 '13 at 20:56
1  
@stefan a bit longer –  cormullion Jul 22 '13 at 22:22
    
@cormullion uff...time is fleeting. anyways. nitpicker :) –  Stefan Jul 22 '13 at 22:24

Just for kicks, I ran the "Benchmark Mathematica" test:

  • Raspberry Pi model B
  • Over-clocked CPU @ 800 MHz
  • 64 of 256 MB RAM reserved for video
  • 16 GB Class 10 SSD (going to need swap space with only 256 MB)

Results:

Benchmark Result: 0.01

  1. Data Fitting 27.68
  2. Digits of Pi 11.30
  3. Discrete Fourier Transform 73.74
  4. Eigenvalues of a Matrix 126.18
  5. Elementary Functions 153.39
  6. Gamma Function 14.19
  7. Large Integer Multiplication 17.73
  8. Matrix Arithmetic 25.21
  9. Matrix Multiplication 1070.78
  10. Matrix Transpose 35.56
  11. Numerical Integration 33.52
  12. Polynomial Expansion 4.55
  13. Random Number Sort 24.37
  14. Singular Value Decomposition 410.94
  15. Solving a Linear System 720.21

  16. Total: 2749.33

I was impressed that the test actually finished. The desktop remained responsive (when I moved the mouse, the cursor always responded smoothly and immediately).

I didn't monitor temperatures, but all chips on the motherboard were comfortable to the touch.

If I did the test over again, I'd probably monitor the temperatures in software as well as monitor the size of the swap file.

share|improve this answer
3  
Seems to me that this is actually quite a satisfactory level of performance. Apart from the numerical linear algebra tests (heavily memory bandwidth-bound and probably not using an optimized BLAS/LAPACK), the other timings are only about 10-20 times greater than for a typical desktop PC. Raspberry Pi is apparently a very reasonable proposition in terms of price/performance. Perhaps a future release of Mathematica for ARM could employ ATLAS and FFTW, which now both support ARM? The authors of OpenBLAS are also working on an ARM port. –  Oleksandr R. Nov 27 '13 at 1:19
    
Can you include a link or description of the benchmark test? –  bobthechemist Nov 27 '13 at 2:32
    
I benchmarked my system PC at 3Ghz and i measured also 10-20 times faster than rasp. For matrices operations it was even 1000 times faster but i suppose this has to do with the available memory. Model-B runs at 700Mhz so 10-20 times slower than a single kernel on 3000Mhz means that Pi's power is not exploited too efficiently by wolfram-engine. –  tchronis Nov 27 '13 at 9:24
    
@cjpembo your link above is dead... –  tchronis Nov 27 '13 at 9:25
1  
Wolfram also included a Remote Developemt Kit which allows: "Seamless development on the Raspberry Pi from any desktop version of Mathematica, including Home and Student Editions." wolfram.com/raspberry-pi/RemoteDevelopmentKitInstaller.cdf $50 Mathematica-powered remote "sensors" sounds like fun! –  cjpembo Nov 27 '13 at 16:29

Here's an article I wrote about Mathematica on raspberry pi. It turns out that pi version of Mathematica is v10 which allows us to get a preview of what's coming soon to the desktop (currently at 9.0.1). Also, speed comparisons with desktop version and python.

http://www.walkingrandomly.com/?p=5220

share|improve this answer
    
I think that Raspberry Pi will never approach a desktop PC for numerical linear algebra performance, not due to the lack of any special instruction sets but simply because of the much simpler cache hierarchy and memory controller. High bandwidth, low latency buses have high power requirements and large, fast caches require a lot of die area. Nonetheless, I think that a factor of 100 difference is probably more realistic than 1000, i.e. there is potentially a factor of 10 to be gained over the current situation by using optimized libraries. –  Oleksandr R. Nov 27 '13 at 14:04

Update

For those working in STEM education, there will be a presentation on running Mathematica on the Raspberry Pi on September 17th during the Virtual Conference for Education, see here for more details:

https://www.wolfram.com/events/virtual-conference/stem-education-2013/schedule.html

share|improve this answer
    
N.B.: one can watch the presentation videos on the WRI website, so although the date has passed, the answer is still relevant. –  Oleksandr R. Nov 27 '13 at 14:08

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.