must include omp.h header when using OpenMP API functions

This commit is contained in:
Axel Kohlmeyer 2019-04-01 22:10:55 -04:00
parent b1badb6555
commit 719a74a02f
No known key found for this signature in database
GPG Key ID: D9B44E93BF0C375A
1 changed files with 4 additions and 0 deletions

View File

@ -36,6 +36,10 @@
#include "atom_kokkos.h"
#include "kokkos.h"
#ifdef _OPENMP
#include <omp.h>
#endif
using namespace LAMMPS_NS;
using namespace MathConst;
using namespace MathSpecialKokkos;