Hi,

I got interested in Mozart/Oz in 2004. I'm now investigating it more
seriously to test some code in physics and see how Mozart/Oz may help me
easily benefit from multicore and distributed computing.

Now Peter Van Roy wrote a statement paper saying that multicore
programming was easy, so I bought the CTM, both in French and English,
got very excited with this dataflow technique, tried some example code that
threaded the Fibonacci, gazed with wonder at the 10^5 threads counted on
the Oz Panel, and to my horror discovered only one core was heating up.

So I googled everything I could around the subject of "multicore mozart
example code". Alas, I only found some email relating to Alice/ML.

Apparently, according to an email by Popov, multiple Mozart/Oz processes
can now communicate through shared memory on a single multicore machine,
but, again, I couldn't find any example code.

I found out the documentation "4.4 Parallel Search engines", which
addresses distributed computing, together with the complex (for my
current newbie state) share/lib/cp/par example codes, but isn't there
some straightforward example code that for example, computes a map on a
vector and runs the threads on multiple cores ? What about the Fibonacci
threads on multiple cores ?

I'm sure that after reading the whole books, the whole documentation,
and find my way, but, since I'm not a CS grad, I'd like some signposts.

Once I groke how to do multicore Mozart/Oz, I'll be happy to contribute
by writing some tutorial to help newcomers.

Cheers,

--
Yann Le Du
http://yledu.free.fr
_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to