From 4d68c4a1835c900e4801f53e90e813553087073e Mon Sep 17 00:00:00 2001 From: pesei <petra seibert -@dontspam@- boku ac at> Date: Tue, 3 Mar 2020 16:35:10 +0100 Subject: [PATCH] Corrected and tested Cray makefile --- Source/Fortran/makefile_cray | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/Fortran/makefile_cray b/Source/Fortran/makefile_cray index 69ded5e..6993d73 100644 --- a/Source/Fortran/makefile_cray +++ b/Source/Fortran/makefile_cray @@ -20,7 +20,7 @@ INC = -I. -I$(ECCODES_INCLUDE_DIR) FC = ftn OPT = -O3 -FFLAGS = -r8 $(OPT) $(LIB) $(INC) +FFLAGS = -s real64 $(OPT) $(LIB) $(INC) LDFLAGS = $(OPT) -fopenmp EXE = calc_etadot @@ -29,6 +29,8 @@ SRC = ./rwgrib2.f90 ./calc_etadot.f90 ./ftrafo.f90 ./grphreal.f90 ./posnam.f90 . OBJ = rwgrib2.o calc_etadot.o ftrafo.o grphreal.o posnam.o phgrreal.o MOD = ftrafo.mod grtoph.mod phtogr.mod rwgrib2.mod +all: ${EXE} + ftrafo.o: ./ftrafo.f90 phgrreal.o $(FC) $(FFLAGS) -c ./ftrafo.f90 grphreal.o: ./grphreal.f90 phgrreal.o -- GitLab