Added OpenMP and Coarray options in Makefile although they don't do anything yet.

This commit is contained in:
Paul Romano 2011-08-09 21:18:49 -04:00
parent 0d0298f4e8
commit 7a98ee139f

View file

@ -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
#===============================================================================