introduce gmx_omp wrapper for the OpenMP API
commit697bcdcaf414f8800727ce1f3b67b11f290fdc6c
authorSzilard Pall <pszilard@cbr.su.se>
Fri, 15 Jun 2012 15:03:41 +0000 (15 17:03 +0200)
committerSzilard Pall <pszilard@cbr.su.se>
Mon, 25 Jun 2012 17:03:00 +0000 (25 19:03 +0200)
treeeefc9a9e0971f6bf62b1d27c19a6a0117801d4d9
parentab7c13b67348aee27b18e35549a9ceb04bdb4b15
introduce gmx_omp wrapper for the OpenMP API

The gmx_omp_* OpenMP API wrappers should be used instead of directly
calling OpenMP functions. Therefore, gmx_omp.h should be included
instead of omp.h so OpenMP API functions don't need #ifdef-ing.

Additionally, moved GMX_OPENMP from command-line define to config.h.

Change-Id: If30f433946fef908c26a29f1bff3671580e90629
CMakeLists.txt
include/gmx_omp.h [new file with mode: 0644]
src/config.h.cmakein
src/gmxlib/gmx_omp.c [new file with mode: 0644]
src/kernel/runner.c
src/mdlib/fft5d.c
src/mdlib/pme.c
src/tools/geminate.c
src/tools/gmx_hbond.c
src/tools/gmx_sans.c
src/tools/nsfactor.c