parallel cell executing and wxmaxima



I think this works out if the user is able to halt a running multi-threaded 
process too.  In case of deadlock or race conditions being caused by the 
parallel code.

-----Original Message----- 
From: Richard Hennessy
Sent: Saturday, June 09, 2012 12:27 PM
To: Alexander Klimov ; Dmitry Shkirmanov
Cc: maxima at math.utexas.edu
Subject: Re: [Maxima] parallel cell executing and wxmaxima

Hi:

Along a similar line of reasoning.  Could we make matrix multiplication in
Maxima multi-threaded? This could produce a speed up of up to a factor of 8
on a i7 Intel processor. If the matrix is a matrix of functions then let the
user worry about side effects of individual threads in multi-treading.  That
is not Maxima's problem, it is the users.  I think as long as the user has
the ability to turn off or turn on parallelization of code then there is no
problem.

Rich


-----Original Message----- 
From: Alexander Klimov
Sent: Saturday, June 09, 2012 9:51 AM
To: Dmitry Shkirmanov
Cc: maxima at math.utexas.edu
Subject: Re: [Maxima] parallel cell executing and wxmaxima

On Sat, 9 Jun 2012, Dmitry Shkirmanov wrote:
> But sometimes it is useful to run cells simultaneously ,for example in 
> case of
> dual-core processor.
>
> So, is it possible to make wxmaxima to perform, for example, this:
> 1) Start the first cell calculation and the second cell calculation
> simultaneously.
> 2)After finishing the first cell calculation and the second cell 
> calculation
> to execute the third cell?

The cell independence check is far from trivial: if one cell is
f(3), where f assigns 3 -> a, and the second cell is g(5), which is
supposed to return a+5, then it would be a mistake to calculate the
second cell not after the first one.

-- 
Regards,
ASK
_______________________________________________
Maxima mailing list
Maxima at math.utexas.edu
http://www.math.utexas.edu/mailman/listinfo/maxima