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

Corrected and tested Cray makefile

parent 1610f732
Branches
Tags
No related merge requests found
...@@ -20,7 +20,7 @@ INC = -I. -I$(ECCODES_INCLUDE_DIR) ...@@ -20,7 +20,7 @@ INC = -I. -I$(ECCODES_INCLUDE_DIR)
FC = ftn FC = ftn
OPT = -O3 OPT = -O3
FFLAGS = -r8 $(OPT) $(LIB) $(INC) FFLAGS = -s real64 $(OPT) $(LIB) $(INC)
LDFLAGS = $(OPT) -fopenmp LDFLAGS = $(OPT) -fopenmp
EXE = calc_etadot EXE = calc_etadot
...@@ -29,6 +29,8 @@ SRC = ./rwgrib2.f90 ./calc_etadot.f90 ./ftrafo.f90 ./grphreal.f90 ./posnam.f90 . ...@@ -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 OBJ = rwgrib2.o calc_etadot.o ftrafo.o grphreal.o posnam.o phgrreal.o
MOD = ftrafo.mod grtoph.mod phtogr.mod rwgrib2.mod MOD = ftrafo.mod grtoph.mod phtogr.mod rwgrib2.mod
all: ${EXE}
ftrafo.o: ./ftrafo.f90 phgrreal.o ftrafo.o: ./ftrafo.f90 phgrreal.o
$(FC) $(FFLAGS) -c ./ftrafo.f90 $(FC) $(FFLAGS) -c ./ftrafo.f90
grphreal.o: ./grphreal.f90 phgrreal.o 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