|
From: | Ilaya Bharathi |
Subject: | Re: Octave multi threading. |
Date: | Thu, 24 Sep 2020 15:50:31 +0530 |
On 6/18/20 10:44 PM, Ilaya Bharathi wrote:
> Hi team,
>
> I'm looking for an Octave release which will utilize multiple cores of
> processors at a same time during heavy operations rather than a single
> core.
>
> If there is any release of octave or any add on libraries that fulfill
> my expectation, Please let me know. Waiting for your reply.
>
> Many thanks
> Ilaya bharathi
>
What kind of heavy operations do you perform? For example if you solve
large linear systems, x = A \ b;, you should make sure that you use a
(Open-)BLAS version that supports multiple threads with your Octave
installation.
If you run custom Octave code (m-files), you might be able to
parallelize tasks by using the Octave Forge (OF) parallel [1] or ocs [2]
package.
Additionally, it is helpful to know some details about your system to
give more precise advice.
Personally, I run a custom Singularity Octave image [3] on a cluster of
a few machines (each system has 28 cores [56 threads]) that really makes
use of all given resources for linear-algebra operations. It can be
combined with the aforementioned OF packages at low installation effort.
HTH,
Kai
[1] https://octave.sourceforge.io/parallel/
[2] https://octave.sourceforge.io/ocl/
[3] https://wiki.octave.org/Octave_for_GNU/Linux#Singularity
[Prev in Thread] | Current Thread | [Next in Thread] |