mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
Added OpenMP and Coarray options in Makefile although they don't do anything yet.
This commit is contained in:
parent
0d0298f4e8
commit
7a98ee139f
1 changed files with 15 additions and 4 deletions
19
src/Makefile
19
src/Makefile
|
|
@ -10,10 +10,12 @@ include OBJECTS
|
|||
# User Options
|
||||
#===============================================================================
|
||||
|
||||
USE_MPI = no
|
||||
DEBUG = no
|
||||
PROFILE = no
|
||||
OPTIMIZE = no
|
||||
DEBUG = no
|
||||
PROFILE = no
|
||||
OPTIMIZE = no
|
||||
USE_MPI = no
|
||||
USE_OPENMP = no
|
||||
USE_COARRAY = no
|
||||
|
||||
#===============================================================================
|
||||
# Compiler Options
|
||||
|
|
@ -43,6 +45,15 @@ ifeq ($(USE_MPI),yes)
|
|||
F90FLAGS += -DMPI
|
||||
endif
|
||||
|
||||
ifeq ($(USE_OPENMP),yes)
|
||||
F90FLAGS += -openmp
|
||||
LDFLAGS += -openmp
|
||||
endif
|
||||
|
||||
ifeq ($(USE_COARRAY),yes)
|
||||
F90FLAGS += -coarray
|
||||
endif
|
||||
|
||||
#===============================================================================
|
||||
# Targets
|
||||
#===============================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue