source: flex_extract.git/Source/Fortran/makefile_cray @ dfa7dbd

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.3 KB
Line 
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
13OPT     =
14DEBUG   = -g
15LIB     =  $(GRIB_API_LIBS) $(EMOSLIB)
16
17FC=ftn  $(F90FLAGS)
18F90C=ftn    $(F90FLAGS)
19
20FFLAGS =  $(OPT) -I. -r8 -I$(GRIB_API_INCLUDE_DIR)
21F90FLAGS =  $(OPT) -I. -r8 -I$(GRIB_API_INCLUDE_DIR)
22
23LDFLAGS =  $(OPT)
24
25BINDIR  =      .
26
27EXE     =      calc_etadot
28
29
30.f.o:
31        $(F90C) -c $(F90FLAGS) $(DEBUG) $*.f
32.f90.o:
33        $(F90C) -c $(F90FLAGS) $(DEBUG) $*.f90
34
35all:    ${EXE}
36
37clean:
38        rm *.o *.mod ${EXE}
39
40phgrreal.o: phgrreal.f
41        $(F90C) -c -g -O3 phgrreal.f
42
43grphreal.o: grphreal.f
44        $(F90C) -c -g -O3 grphreal.f
45
46ftrafo.o: ftrafo.f
47        $(F90C) -c -g -O3 ftrafo.f
48
49$(BINDIR)/${EXE}:       phgrreal.o grphreal.o ftrafo.o rwgrib2.o  posnam.o calc_etadot.o
50        $(F90C) $(DEBUG) $(OPT) -o $(BINDIR)/${EXE} ftrafo.o phgrreal.o grphreal.o rwgrib2.o posnam.o calc_etadot.o ${LIB}
51
52
53###############################################################################
54#
55# End of the Makefile
56#
57###############################################################################
Note: See TracBrowser for help on using the repository browser.
hosted by ZAMG