help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

disable multi-threading


From: John Koutas
Subject: disable multi-threading
Date: Wed, 8 Oct 2014 21:03:50 +0000

I am wondering if there is an option to start Octave with single-threading, so that, e.g., matrix multiplication uses a single thread. In Matlab, one can issue the command
maxNumCompThreads(1)

or the command line argument

-singleCompThread


If there is no such option, I was wondering what I would need to change in my configuration command to completely disable multi-threading. My current configuration command is the following (for Octave version 3.8.2, on Ubuntu 14.04):

./configure --with-blas="-lmkl_gf_lp64 -lmkl_gnu_thread -lmkl_core -liomp5 -lpthread" --with-lapack="-lmkl_gf_lp64 -lmkl_gnu_thread -lmkl_core -liomp5 -lpthread" --with-fftw3="-lmkl_gf_lp64 -lmkl_gnu_thread -lmkl_core -liomp5 -lpthread -lm" --with-fftw3f="-lmkl_gf_lp64 -lmkl_gnu_thread -lmkl_core -liomp5 -lpthread -lm" --enable-dl --enable-shared --enable-jit

Thanks in advance for any help!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]