add #ifdef _OPENMP wrappers to supress gcc warnings for omp pragmas