ctbtodev
Last change
on this file since 2d1c338 was
2d1c338,
checked in by Petra Seibert <petra@…>, 5 years ago
|
1st version of Fortran testing environment, FORDv5->v6, Test->Testing
Includes the first version of the Fortran regression testing environment
without input files (too big)
FORD documentation of the Fortran code: v5 removed from VCS, V6 added
The directory "Test" has been renamed to "Testing" for clarity.
|
-
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 | GRIB_API_INCLUDE_DIR=/usr/local/include |
---|
| 14 | GRIB_API_LIB= -L/usr/local/lib -leccodes_f90 -leccodes -lm -ljasper |
---|
[2fb99de] | 15 | |
---|
[1244a7b] | 16 | |
---|
[2fb99de] | 17 | OPT = -g -O3 -mcmodel=medium -unroll -inline -heap-arrays 32 |
---|
[6431a70] | 18 | DEBUG = '' |
---|
[2fb99de] | 19 | LIB = $(GRIB_API_LIB) -lemosR64 -lgfortran |
---|
| 20 | |
---|
[1244a7b] | 21 | FC=/opt/intel/composerxe/bin/ifort -132 -traceback -r8 |
---|
| 22 | F90C=/opt/intel/composerxe/bin/ifort -132 -traceback -r8 |
---|
[2fb99de] | 23 | |
---|
| 24 | FFLAGS = $(OPT) -I. -I$(GRIB_API_INCLUDE_DIR) |
---|
| 25 | F90FLAGS = $(OPT) -I. -I$(GRIB_API_INCLUDE_DIR) |
---|
| 26 | |
---|
| 27 | LDFLAGS = $(OPT) |
---|
| 28 | |
---|
| 29 | BINDIR = . |
---|
| 30 | |
---|
[6431a70] | 31 | EXE = CONVERT2.s8.ifort |
---|
[2fb99de] | 32 | |
---|
| 33 | |
---|
| 34 | .f.o: |
---|
| 35 | $(F90C) -c $(F90FLAGS) -132 $(DEBUG) $*.f |
---|
| 36 | .f90.o: |
---|
| 37 | $(F90C) -c $(F90FLAGS) -132 $(DEBUG) $*.f90 |
---|
| 38 | |
---|
| 39 | all: ${EXE} |
---|
| 40 | |
---|
| 41 | clean: |
---|
[1244a7b] | 42 | rm *.o *.mod ${EXE} |
---|
[2fb99de] | 43 | |
---|
| 44 | phgrreal.o: phgrreal.f |
---|
| 45 | $(F90C) -c -g -O3 phgrreal.f |
---|
| 46 | |
---|
| 47 | grphreal.o: grphreal.f |
---|
| 48 | $(F90C) -c -g -O3 grphreal.f |
---|
| 49 | |
---|
| 50 | ftrafo.o: ftrafo.f |
---|
| 51 | $(F90C) -c -g -O3 ftrafo.f |
---|
| 52 | |
---|
[1244a7b] | 53 | $(BINDIR)/${EXE}: phgrreal.o grphreal.o ftrafo.o rwGRIB2.o posnam.o preconvert.o |
---|
| 54 | $(F90C) $(DEBUG) $(OPT) -o $(BINDIR)/${EXE} ftrafo.o phgrreal.o grphreal.o rwGRIB2.o posnam.o preconvert.o ${LIB} |
---|
[2fb99de] | 55 | |
---|
| 56 | |
---|
| 57 | ############################################################################### |
---|
| 58 | # |
---|
| 59 | # End of the Makefile |
---|
| 60 | # |
---|
| 61 | ############################################################################### |
---|
Note: See
TracBrowser
for help on using the repository browser.