10.4.1_peseiFPv9.3.1FPv9.3.1b_testingFPv9.3.2GFS_025bugfixes+enhancementsdevfp9.3.1-20161214-nc4grib2nc4_repairrelease-10release-10.4.1scaling-bugunivie
Last change
on this file since a1f4dd6 was
5763793,
checked in by Anne Fouilloux <annefou@…>, 10 years ago
|
Add pre-processing programs and examples. This is still under development!
|
-
Property mode set to
100644
|
File size:
1.5 KB
|
Line | |
---|
1 | ############################################################################### |
---|
2 | # |
---|
3 | # Top level Makefile for ECMWFDATA software |
---|
4 | # |
---|
5 | # Last modified: August 20, 2013 |
---|
6 | # |
---|
7 | ############################################################################### |
---|
8 | |
---|
9 | .SUFFIXES: .o .c .f .f90 .f95 .F |
---|
10 | |
---|
11 | |
---|
12 | .f90.o: |
---|
13 | $(F90C) -c $(F90FLAGS) $< |
---|
14 | |
---|
15 | |
---|
16 | TARGET_ARCH = |
---|
17 | OPT = -g -O |
---|
18 | DEBUG = -g -O |
---|
19 | LIB = |
---|
20 | FC=gfortran -m64 -fdefault-real-8 -fcray-pointer -fno-second-underscore -ffixed-line-length-132 -fopenmp -fconvert=big-endian -fmax-stack-var-size=100000000 |
---|
21 | F90C=gfortran -m64 -fdefault-real-8 -fcray-pointer -fno-second-underscore -ffixed-line-length-132 -fopenmp -fconvert=big-endian -fmax-stack-var-size=100000000 |
---|
22 | GRIB_API_INCLUDE = $(GRIB_API_FFLAGS) |
---|
23 | GRIB_API_LIB = $(GRIB_API_LDFLAGS) |
---|
24 | FFLAGS = $(OPT) $(DEBUG) -I. $(GRIB_API_INCLUDE) |
---|
25 | F90FLAGS = $(OPT) $(DEBUG) -I. $(GRIB_API_INCLUDE) |
---|
26 | LDFLAGS = $(OPT) $(DEBUG) |
---|
27 | EMOSLIB=$(EMOS_LDFLAGS) |
---|
28 | LIB = $(EMOSLIB) $(GRIB_API_LIB) -lgcc -lm -fdefault-integer-8 -lgfortran -ljasper |
---|
29 | |
---|
30 | F90=$(F90C) |
---|
31 | |
---|
32 | BINDIR = . |
---|
33 | |
---|
34 | EXE = CONVERT2 |
---|
35 | |
---|
36 | all: ${EXE} |
---|
37 | |
---|
38 | clean: |
---|
39 | rm *.o *.mod ${EXE} |
---|
40 | |
---|
41 | phgrreal.o: phgrreal.f90 |
---|
42 | $(F90) -c -g -O3 -fopenmp phgrreal.f90 |
---|
43 | |
---|
44 | grphreal.o: grphreal.f90 |
---|
45 | $(F90) -c -g -O3 -fopenmp grphreal.f90 |
---|
46 | |
---|
47 | ftrafo.o: ftrafo.f90 |
---|
48 | $(F90) -c -g -O3 -fopenmp ftrafo.f90 |
---|
49 | |
---|
50 | CONVERT2: phgrreal.o grphreal.o ftrafo.o rwGRIB2.o preconvert.o |
---|
51 | $(F90) $(DEBUG) $(OPT) -o CONVERT2 ftrafo.o phgrreal.o grphreal.o rwGRIB2.o preconvert.o ${LIB} |
---|
52 | |
---|
53 | # |
---|
54 | # End of the Makefile |
---|
55 | # |
---|
56 | ############################################################################### |
---|
Note: See
TracBrowser
for help on using the repository browser.