Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
documentation:parallel [2016/09/11 22:07] – created Maurits W. Haverkortdocumentation:parallel [2017/02/23 16:55] (current) Maurits W. Haverkort
Line 1: Line 1:
 +{{indexmenu_n>5}}
 +====== Parallelization ======
  
 +
 +###
 +Quanty (at least the linux version, the mac version will follow when xcode / clang starts to suport omp again) is a parallel code that can use many cores using a shared memory setup. In a bash shell you can tell the code how many thread it can use by setting the system variable OMP_NUM_THREADS before you run the code
 +###
 +
 +<code bash>
 +export OMP_NUM_THREADS=16
 +</code>
 +
 +###
 +That’s all. If you have the hardware all the suden your calculations are 16 times faster.
 +###
Print/export