Skip to content
Snippets Groups Projects
Commit 4d68c4a1 authored by pesei's avatar pesei
Browse files

Corrected and tested Cray makefile

parent 1610f732
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment