easyconfigs-it4i/ARCHIVE/l/LAMMPS-22Jun2018-foss-2017a.patch
Lukas Krupcik 182459da35 deleted: "a/ANSYS/\\"
deleted:    a/Anaconda2/Anaconda2-4.4.0.eb
	deleted:    a/Anaconda3/Anaconda3-2019.10.eb
	deleted:    a/Anaconda3/Anaconda3-4.4.0.eb
	deleted:    a/Anaconda3/Anaconda3-5.3.1.eb
	deleted:    a/Autotools/Autotools-20150215-GCC-6.3.0-2.27.eb
	deleted:    a/Autotools/Autotools-20170619.eb
	deleted:    a/Autotools/Autotools-20180311.eb
2022-05-05 11:22:37 +02:00

28 lines
667 B
Diff

--- 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