Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Parallel computation' topicStudent Support Forum > General > "Parallel computation"

Next Comment >Help | Reply To Topic
Author Comment/Response
Nima
08/21/11 07:23am

As a practice I wanted to myltiply two matrices in parallel, (I know that built in functions are the fastest way). However I have written a code and divided the matrices into some parts and by using "ParallelEvaluate" I gave these different parts to different kernels to multiply each part. Infact each kernel did this but not simeltaneously, I mean "first kernel" did its task then next and.... my question is that: How can I tell Mathematica that use several kernels simeltaneously when I don't use built in functions and I used "ParallelEvaluate[cmd, kernelno]" instead.
The scheme of code is:
ParallelEvaluate[Part1, kernel[[1]]]
ParallelEvaluate[Part2, kernel[[2]]]
.
.

the main matrices are divide to part1, part2,....

Thanks for any help and guidances


URL: ,

Subject (listing for 'Parallel computation')
Author Date Posted
Parallel computation Nima 08/21/11 07:23am
Re: Parallel computation Patrick 08/23/11 11:44am
Re: Re: Parallel computation Nima 09/06/11 02:29am
Next Comment >Help | Reply To Topic