This is an old revision of the document!


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

export OMP_NUM_THREADS=16

That’s all. If you have the hardware all the suden your calculations are 16 times faster.

Print/export