Go to advanced search

by ejolson
Tue Mar 17, 2015 7:45 am
Forum: C/C++
Topic: Is it possible to add a new forum Parallel programming
Replies: 65
Views: 18567

Re: Is it possible to add a new forum Parallel programming

...The performance is irrelevant when learning this stuff, because the code is the same. There is no 'practical' point of viewing in the teaching. Yes, things will be faster when actually run on multicore devices, but, and I cannot emphasise this enough, the code IS THE SAME... Performance is why a...
by ejolson
Mon Mar 16, 2015 6:00 pm
Forum: C/C++
Topic: Is it possible to add a new forum Parallel programming
Replies: 65
Views: 18567

Re: Is it possible to add a new forum Parallel programming

I'm not sure what difference the multicores have made though from a teaching point of view. The previous Pi was perfectly capable of running parallel code over multiple threads and processes. The only difference the Pi2 gives is as a demonstration that when adding cores, multithreaded code goes fas...
by ejolson
Wed Mar 04, 2015 7:08 pm
Forum: C/C++
Topic: Cilkplus on RPi2B
Replies: 24
Views: 21615

Cilkplus on RPi2B

In 1994 MIT researchers created a parallel programming extension to the C programming language called Cilk. Commercialized and purchased by Intel in 2009 these extensions are now included in GCC 5.0 mainline and Intel's commercial compiler. There is also a set of patches to add Cilk to LLVM clang. H...
by ejolson
Sun Jul 27, 2014 3:54 am
Forum: Mathematica
Topic: Cannot open CCodeGenerator
Replies: 15
Views: 7273

Re: Cannot open CCodeGenerator

Dear Alexa,

This is great news. Thanks for the update.

All the best,
Eric
by ejolson
Wed Jun 11, 2014 4:47 pm
Forum: Mathematica
Topic: Cannot open CCodeGenerator
Replies: 15
Views: 7273

Re: Cannot open CCodeGenerator

Is there any news on a version of Mathematica for the Pi with CCodeGenerator?
by ejolson
Sun Mar 30, 2014 9:41 am
Forum: Mathematica
Topic: Cannot open CCodeGenerator
Replies: 15
Views: 7273

Re: Cannot open CCodeGenerator

The course targets computer science, mathematics and statistics students. Our goal is to learn how to develop efficient numerical codes that run in the Linux environment, which is standard on supercomputers. One technique we will explore is the use of a computer algebra system to generate error free...
by ejolson
Sat Mar 29, 2014 11:22 am
Forum: Mathematica
Topic: Cannot open CCodeGenerator
Replies: 15
Views: 7273

Re: Cannot open CCodeGenerator

Ok. I have posted at Wolfram communities a feature request. http://community.wolfram.com/groups/-/m/t/226967?p_p_auth=MnluK0fd I agree that it seems inconsistent to say nothing left out in the press release and then lots of things intentionally left out later. For Mathematica to be useful on the Ras...
by ejolson
Wed Mar 19, 2014 7:56 pm
Forum: Mathematica
Topic: Cannot open CCodeGenerator
Replies: 15
Views: 7273

Re: Cannot open CCodeGenerator

Ok, so this is confirmed. It appears a bug in the Raspberry Pi version of Mathematica that the CCodeGenerator package is missing. I've looked in /opt/Wolfram/WolframEngine/10.0/SystemFiles and there is no files that contain CCodeGenerator in them. I wonder who the point of contact should be for repo...
by ejolson
Tue Mar 18, 2014 2:32 pm
Forum: Mathematica
Topic: Cannot open CCodeGenerator
Replies: 15
Views: 7273

Cannot open CCodeGenerator

I'm thinking about using Raspberry Pi to support a course on numerical analysis. Most programming would be done in C and Mathematica has C code generation facilities that would be useful. http://reference.wolfram.com/mathematica/CCodeGenerator/tutorial/Introduction.html#509267359 Specifically, I'm t...
by ejolson
Tue Mar 18, 2014 11:57 am
Forum: General discussion
Topic: QEmu and raspbian, how to increase image size.
Replies: 14
Views: 17799

Re: QEmu and raspbian, how to increase image size.

As raspi-config also reports for my setup "not a flash card" the following worked. First add the file /etc/udev/rules.d/90-qemu.rules with the recommended contents in the raspian image. Quit the qemu emulator. On the host system: $ qemu-img resize 2014-01-07-wheezy-raspbian.img +2G Boot raspian in q...

Go to advanced search