Discussion about math, puzzles, games and fun. Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ π -¹ ² ³ °

You are not logged in.

- Topics: Active | Unanswered

**gAr****Member**- Registered: 2011-01-09
- Posts: 3,479

Do the following to test mathematica bundled in the recent raspberry pi's OS.

Get the latest raspbian: http://www.raspberrypi.org/downloads (2014-01-07-wheezy-raspbian.zip as of today)

Download and compile QEMU. Follow http://xecdesign.com/compiling-qemu/. Instead of cloning from git as shown there, download the zipped code and decompress it to a directory. So run the following command instead:

`sudo apt-get install zlib1g-dev libsdl1.2-dev libpixman-1-dev`

After going through that link and making sure, compile. We may use the home directory to install.

```
$ ./configure --target-list="arm-softmmu arm-linux-user" --enable-sdl --prefix=/home/<user dir>/qemu
$ make
$ make install
```

Unzip the raspbian, copy the .img file and kernel-qemu to /home/<user dir>/qemu/bin

Follow the steps given here: http://www.raspberrypi.org/forum/viewtopic.php?f=29&t=37386

I think these are sufficient. Some more links for reference:

http://mathgis.blogspot.in/2013/12/testing-wolfram-language-on-raspberry.html

http://www.raspberry-projects.com/pi/programming-in-c/compilers-and-ides/eclipse-raspberry-pi/installing-eclipse-on-qemu-emulated-raspberry-pi-windows

http://sebpiq.github.io/rpi-workshop-instructions/index.html

It may take about 5 minutes from the start of raspbian to the mathematica front-end, computations would be much slower than running it natively, but faster than getting the answers from wolframalpha. Anyway, running Mathematica on Rpi or in QEMU doesn't make much difference, gives timing almost the same as shown here: http://www.walkingrandomly.com/?p=5220

and BogoMIPS shown is 452.19 in QEMU, which is lower than Rpi's value of about 700. (command: cat /proc/cpuinfo)

So, other than simulations and big matrix operations, it's usable!

"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense" - Buddha?

"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 104,183

Hi gAr;

Would you please check the version of your Mathematica.

**In mathematics, you don't understand things. You just get used to them.****If it ain't broke, fix it until it is.** **A number by itself is useful, but it is far more useful to know how accurate or certain that number is.**

Offline

**gAr****Member**- Registered: 2011-01-09
- Posts: 3,479

Yes, it's version 10, not even out for PC.

"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense" - Buddha?

"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 104,183

That is very good then.

**In mathematics, you don't understand things. You just get used to them.****If it ain't broke, fix it until it is.** **A number by itself is useful, but it is far more useful to know how accurate or certain that number is.**

Offline

**gAr****Member**- Registered: 2011-01-09
- Posts: 3,479

Yes, I can use it for a few functions like obtaining a gf, which is not yet available in sage.

"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense" - Buddha?

"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 104,183

I have not tried either of them yet but I heard that Virtual box or VMware are faster than QEMU.

**In mathematics, you don't understand things. You just get used to them.****If it ain't broke, fix it until it is.** **A number by itself is useful, but it is far more useful to know how accurate or certain that number is.**

Offline

**gAr****Member**- Registered: 2011-01-09
- Posts: 3,479

Yeah, but I think they don't support ARM.

"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 104,183

What is arm?

**In mathematics, you don't understand things. You just get used to them.****If it ain't broke, fix it until it is.**

Offline

**gAr****Member**- Registered: 2011-01-09
- Posts: 3,479

another CPU architecture.

"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 104,183

I see, you mean the raspberry machines architecture.

**In mathematics, you don't understand things. You just get used to them.****If it ain't broke, fix it until it is.**

Offline

**gAr****Member**- Registered: 2011-01-09
- Posts: 3,479

yes, most of the smartphones also have that architecture.

"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 104,183

I did not know that. Thanks for the information.

**In mathematics, you don't understand things. You just get used to them.****If it ain't broke, fix it until it is.**

Offline

Hi;

Are you sure that the 780 MB Raspberrian zip contains Mathematica 10? Mathematica 9 for PC itself is around 1.6 GB

'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'

'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'

I'm not crazy, my mother had me tested.

Offline

**gAr****Member**- Registered: 2011-01-09
- Posts: 3,479

You're welcome.

Hi Agnishom,

Yes, it includes v10. The zipped file has raspbian image which is 3GB.

"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."

Offline

It has a got a frontend? Like the PC version?

and the documentation pages?

*Last edited by Agnishom (2014-03-01 03:58:03)*

'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'

'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'

I'm not crazy, my mother had me tested.

Offline

**gAr****Member**- Registered: 2011-01-09
- Posts: 3,479

Yes, frontend just like a PC version.

Documentation is not available in it, we have to rely on online docs.

*Last edited by gAr (2014-03-01 05:43:24)*

"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."

Offline

Very Good! looks like LXDE?

'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'

'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'

I'm not crazy, my mother had me tested.

Offline

**gAr****Member**- Registered: 2011-01-09
- Posts: 3,479

That's right.

"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."

Offline

Just curious, what DE do you use?

'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'

I'm not crazy, my mother had me tested.

Offline

**gAr****Member**- Registered: 2011-01-09
- Posts: 3,479

I use MATE.

"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."

Offline

on OpenSUSE?

Why did you choose that?

'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'

I'm not crazy, my mother had me tested.

Offline

**gAr****Member**- Registered: 2011-01-09
- Posts: 3,479

No, linux mint.

I'm used to its applets. Do you use LXDE? Can I have multiple panels in that?

"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."

Offline

I've used LXDE. I think you can.

EDIT: Confirmed, yes you can

*Last edited by Agnishom (2014-03-02 19:21:27)*

'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'

I'm not crazy, my mother had me tested.

Offline

**gAr****Member**- Registered: 2011-01-09
- Posts: 3,479

Okay, I'll see.

I'm thinking of installing debian, and compile the latest kernel for only the hardware I use.

"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."

Offline

Why would you want to install debian replacing Mint? Isn't Mint already debian based?

'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'

I'm not crazy, my mother had me tested.

Offline