The numbers of CPU's in FEM Calcuix preferences setting GUI did never work neither for me, but this code in python console did the trick:
Code: Select all
import multiprocessing
import os
cpu_cores = multiprocessing.cpu_count() # this finds number of your CPUs and use them all
os.putenv('OMP_NUM_THREADS', str(cpu_cores))
I have found that in this topic some times ago: https://forum.freecadweb.org/viewtopic. ... 20#p151713
I don't know why GUI preferences have no effects on my machines (V0.18 on Windows 10 the same).
OS: Debian GNU/Linux 10 (buster) (LXDE/LXDE)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19858 (Git)
Build type: Debug
Branch: master
Hash: dbe292496b56147c081761084774f42bda56ea90
Python version: 3.7.3
Qt version: 5.11.3
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: French/France (fr_FR)