User Tools

Site Tools


No renderer 'odt' found for mode 'odt'
build:paralreq

Parallelism

OpenMP and multithreading

If your computer has multiple cores, you might want to take benefit from all of them instead of running Abinit in serial mode. There are 2 ways of achieving it: OpenMP and Multithreading.

Various parts of Abinit have been optimized to work with OpenMP. In addition, the latter is usually directly provided by compilers and does not require the installation of additional libraries. The build system of Abinit is able to set the corresponding compile flags automatically for a dozen popular compilers if you ask for OpenMP at configure time. Should this not be the case for you, please consult the documentation of your compilers and contact us once you have found and successfully tried the flags to provide.

Abinit does not provide support for multithreading but can benefit from multithreaded versions of its external dependencies, as long as the multithreaded operatons are entirely performed externally. Please note that Abinit is not developed with thread-safety in mind and use multithreading with a lot of care.

MPI

MPI

GPU

GPU

build/paralreq.txt · Last modified: 2020/08/10 20:24 by Xavier Gonze