[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Octave multi threading.
From: |
Kai Torben Ohlhus |
Subject: |
Re: Octave multi threading. |
Date: |
Thu, 18 Jun 2020 23:41:14 +0900 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 |
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