ctbtodev
Last change
on this file since dfa7dbd was
dfa7dbd,
checked in by pesei <petra seibert -@…>, 5 years ago
|
changes in the Fortran part and associated regression test
2019-08-21 PS
introduce the "new" versions of source files:
all .f90 free format
code beautification
regression test is OK
make new local gfortran makefiles, remove parameters not needed
anymore
change filenames rwgrib.f90 (all lower), preconvert to calc_etadot,
adapt messages and comments in calc_etadot.f90
adapt all makefiles to new filenames
adapt success message of logfiles in regression test references
redo regression test OK
provide softlinks for standards:
calc_etadot.out -> calc_etadot_fast.out
makefile_local_gfortran -> makefile_fast
provide changelog.txt in Fortran
provide readme.txt in Regression/FortranEtadot?
|
-
Property mode set to
100644
|
File size:
1.5 KB
|
Rev | Line | |
---|
[2fb99de] | 1 | ############################################################################### |
---|
| 2 | # |
---|
| 3 | # Top level Makefile for ECMWFDATA7.0 software |
---|
| 4 | # |
---|
| 5 | # Last modified: December 1, 2015 |
---|
| 6 | # |
---|
| 7 | ############################################################################### |
---|
| 8 | |
---|
| 9 | |
---|
| 10 | .SUFFIXES: .o .c .c~ .f .f~ .F90 .f90 .f90~ .f95 .f95~ .F .F~ .y .y~ .l .l~ \ |
---|
| 11 | .s .s~ .sh .sh~ .h .h~ .C .C~ .a |
---|
| 12 | |
---|
[6431a70] | 13 | OPT = -O3 |
---|
[2fb99de] | 14 | DEBUG = -g |
---|
[1244a7b] | 15 | LIB = $(ECCODES_LIB) $(EMOSLIB) |
---|
[2fb99de] | 16 | |
---|
| 17 | FC=gfortran -m64 -fdefault-real-8 -fcray-pointer -fno-second-underscore -ffixed-line-length-132 -fopenmp -fconvert=big-endian |
---|
| 18 | F90C=gfortran -m64 -fdefault-real-8 -fcray-pointer -fno-second-underscore -ffixed-line-length-132 -fopenmp -fconvert=big-endian |
---|
| 19 | |
---|
[1244a7b] | 20 | FFLAGS = $(OPT) -I. -I$(ECCODES_INCLUDE_DIR) |
---|
| 21 | |
---|
| 22 | F90FLAGS = $(OPT) -I. -I$(ECCODES_INCLUDE_DIR) |
---|
[2fb99de] | 23 | |
---|
| 24 | LDFLAGS = $(OPT) |
---|
| 25 | |
---|
| 26 | BINDIR = . |
---|
| 27 | |
---|
[dfa7dbd] | 28 | EXE = calc_etadot |
---|
[2fb99de] | 29 | |
---|
| 30 | |
---|
| 31 | .f.o: |
---|
| 32 | $(F90C) -c $(F90FLAGS) $(DEBUG) $*.f |
---|
| 33 | .f90.o: |
---|
| 34 | $(F90C) -c $(F90FLAGS) $(DEBUG) $*.f90 |
---|
| 35 | |
---|
| 36 | all: ${EXE} |
---|
| 37 | |
---|
| 38 | clean: |
---|
[1244a7b] | 39 | rm *.o *.mod ${EXE} |
---|
[2fb99de] | 40 | |
---|
| 41 | phgrreal.o: phgrreal.f |
---|
| 42 | $(F90C) -c -g -O3 -fopenmp phgrreal.f |
---|
| 43 | |
---|
| 44 | grphreal.o: grphreal.f |
---|
| 45 | $(F90C) -c -g -O3 -fopenmp grphreal.f |
---|
| 46 | |
---|
| 47 | ftrafo.o: ftrafo.f |
---|
| 48 | $(F90C) -c -g -O3 -fopenmp ftrafo.f |
---|
| 49 | |
---|
[dfa7dbd] | 50 | $(BINDIR)/${EXE}: phgrreal.o grphreal.o ftrafo.o rwgrib2.o posnam.o calc_etadot.o |
---|
| 51 | $(F90C) $(DEBUG) $(OPT) -o $(BINDIR)/${EXE} ftrafo.o phgrreal.o grphreal.o rwgrib2.o posnam.o calc_etadot.o ${LIB} |
---|
[2fb99de] | 52 | |
---|
| 53 | |
---|
| 54 | ############################################################################### |
---|
| 55 | # |
---|
| 56 | # End of the Makefile |
---|
| 57 | # |
---|
| 58 | ############################################################################### |
---|
Note: See
TracBrowser
for help on using the repository browser.