We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cbdc11 commit b9b2298Copy full SHA for b9b2298
OMCompiler/SimulationRuntime/c/Makefile.omdev.mingw
@@ -23,6 +23,8 @@ CONFIG_CFLAGS = -O2 -falign-functions -mstackrealign -msse2 -mfpmath=sse \
23
-I$(OMDEV)/include/lis -I$(top_builddir)/ -I$(builddir_inc)/ -I. \
24
-Wall -Wno-unused-variable
25
CXXFLAGS = $(CFLAGS)
26
+OMPCC = $(CC) -fopenmp
27
+OMPCFLAGS= -fopenmp
28
29
# Not needed since we already set fpmath
30
FPMATHFORTRAN =
@@ -44,6 +46,14 @@ OBJ_EXT=.o
44
46
endif
45
47
48
49
+# USE_PARJAC=yes to enable parallel Jacobians
50
+ifeq ($(USE_PARJAC),yes)
51
+ CFLAGS+=$(OMPCFLAGS) -DUSE_PARJAC
52
+ LDFLAGS+=$(OMPCFLAGS)
53
+else
54
+ OMPCFLAGS=
55
+endif
56
+
57
defaultMakefileTarget = Makefile.omdev.mingw
58
59
include Makefile.common
0 commit comments