--- src/MAKE/OPTIONS/Makefile.omp.orig	2018-01-17 21:00:48.000000000 +0100
+++ src/MAKE/OPTIONS/Makefile.omp	2018-06-29 14:41:20.949031313 +0200
@@ -6,19 +6,22 @@
 # compiler/linker settings
 # specify flags and libraries needed for your compiler
 
+export OMPI_CXX = g++
+
 CC =		mpicxx
-CCFLAGS =	-g -O3 -restrict -fopenmp
+CCFLAGS =	-g -O3 -fopenmp
 SHFLAGS =	-fPIC
 DEPFLAGS =	-M
 
 LINK =		mpicxx
 LINKFLAGS =	-g -O -fopenmp
-LIB = 
+LIB = 		-lgfortran
 SIZE =		size
 
 ARCHIVE =	ar
 ARFLAGS =	-rc
 SHLIBFLAGS =	-shared
+KOKKOS_DEVICES = OpenMP
 
 # ---------------------------------------------------------------------
 # LAMMPS-specific settings, all OPTIONAL