From 7a98ee139f3ba43ac932202d00e72fbbaf1673a7 Mon Sep 17 00:00:00 2001 From: Paul Romano Date: Tue, 9 Aug 2011 21:18:49 -0400 Subject: [PATCH] Added OpenMP and Coarray options in Makefile although they don't do anything yet. --- src/Makefile | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/src/Makefile b/src/Makefile index 51bb710090..0be3e51778 100644 --- a/src/Makefile +++ b/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 #===============================================================================