From 9f1b947031e9babd82bd93359d0afc6b68c4f65b Mon Sep 17 00:00:00 2001 From: Douglas Jacobsen Date: Wed, 5 Nov 2014 09:16:03 -0700 Subject: [PATCH] Add support for building MPAS on titan with cray and pgi --- Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Makefile b/Makefile index 5bdaae8c04..4c09dfcdf7 100644 --- a/Makefile +++ b/Makefile @@ -35,6 +35,20 @@ ftn: "USE_PAPI = $(USE_PAPI)" \ "CPPFLAGS = $(MODEL_FORMULATION) -D_MPI -DUNDERSCORE" ) +titan-cray: + ( $(MAKE) all \ + "FC_PARALLEL = ftn" \ + "CC_PARALLEL = cc" \ + "FC_SERIAL = ftn" \ + "CC_SERIAL = gcc" \ + "FFLAGS_OPT = -s integer32 -default64 -O3 -f free -N 255 -em -ef" \ + "CFLAGS_OPT = -O3" \ + "LDFLAGS_OPT = -O3" \ + "CORE = $(CORE)" \ + "DEBUG = $(DEBUG)" \ + "USE_PAPI = $(USE_PAPI)" \ + "CPPFLAGS = $(MODEL_FORMULATION) -D_MPI -DUNDERSCORE" ) + pgi: ( $(MAKE) all \ "FC_PARALLEL = mpif90" \