1 | #- $Id: AA_make.ldef 4547 2017-07-31 08:58:44Z albert.jornet $ |
---|
2 | #--------------------------------------------------------------------- |
---|
3 | #- |
---|
4 | #- |
---|
5 | #- $Id: AA_make.gdef 3724 2018-03-30 12:51:47Z jgipsl $ |
---|
6 | #- |
---|
7 | #- Validate the correlation between the target and the environment |
---|
8 | #- |
---|
9 | UTIL_DIR = ../../util |
---|
10 | #- |
---|
11 | #-Q- |
---|
12 | ######-Q- ada F_O = -DCPP_PARA -p -g -traceback -fp-stack-check -ftrapuv -check bounds $(F_D) $(F_P) -I$(MODDIR) -module $(MODDIR) |
---|
13 | ######-Q- curie F_O = -DCPP_PARA -p -g -traceback -fp-stack-check -ftrapuv -check bounds $(F_D) $(F_P) -I$(MODDIR) -module $(MODDIR) |
---|
14 | #- |
---|
15 | #- Global definitions for Irene at TGCC |
---|
16 | LIB_MPI = MPI1 |
---|
17 | LIB_MPI_BIS = MPI1 |
---|
18 | PRISM_ARCH = X64 |
---|
19 | PRISM_NAME = irene |
---|
20 | FCM_ARCH = X64_IRENE |
---|
21 | M_K = gmake |
---|
22 | P_C = cpp |
---|
23 | P_O = -P -C $(P_P) |
---|
24 | F_C = mpif90 -c -cpp |
---|
25 | F_D = |
---|
26 | F_P = -i4 -r8 |
---|
27 | F_O = -DCPP_PARA -O3 $(F_D) $(F_P) -I$(MODDIR) -module $(MODDIR) -fp-model precise |
---|
28 | F_L = mpif90 |
---|
29 | M_M = 0 |
---|
30 | L_X = 0 |
---|
31 | L_O = |
---|
32 | A_C = ar -r |
---|
33 | A_G = ar -x |
---|
34 | C_C = cc -c |
---|
35 | C_O = |
---|
36 | C_L = cc |
---|
37 | #- |
---|
38 | NCDF_INC = $(NETCDFFORTRAN_INCDIR) |
---|
39 | NCDF_LIB = -L$(NETCDFFORTRAN_LIBDIR) -lnetcdff |
---|
40 | #- |
---|
41 | ######-Q- cur_mono F_O = -DCPP_PARA -p -g -traceback -fp-stack-check -ftrapuv -check bounds $(F_D) $(F_P) -I$(MODDIR) -module $(MODDIR) |
---|
42 | ####-Q- lxiv8 F_O = -DCPP_PARA -p -g -traceback -fp-stack-check -ftrapuv -check bounds $(F_D) $(F_P) -I$(MODDIR) -module $(MODDIR) |
---|
43 | ######-Q- occigen F_O = -DCPP_PARA -p -g -traceback -fp-stack-check -ftrapuv -check bounds $(F_D) $(F_P) -I$(MODDIR) -module $(MODDIR) |
---|
44 | RM = rm -f |
---|
45 | STRIP = strip |
---|
46 | SIZE = size |
---|
47 | |
---|
48 | #- $Id: AA_make 4547 2017-07-31 08:58:44Z albert.jornet $ |
---|
49 | all_lib : libioipsl libparallel libparameters liborglob libstomate libsechiba |
---|
50 | |
---|
51 | libioipsl: |
---|
52 | (cd ../IOIPSL/src; $(M_K) -f Makefile) |
---|
53 | |
---|
54 | libparameters : |
---|
55 | (cd src_parameters ; $(M_K) -f Makefile) |
---|
56 | |
---|
57 | libparallel : |
---|
58 | (cd ../../modeles/ORCHIDEE/src_parallel ; $(M_K) -f Makefile) |
---|
59 | |
---|
60 | liborglob : |
---|
61 | (cd src_global ; $(M_K) -f Makefile) |
---|
62 | |
---|
63 | libstomate : |
---|
64 | (cd src_stomate ; $(M_K) -f Makefile) |
---|
65 | |
---|
66 | libsechiba : |
---|
67 | (cd src_sechiba ; $(M_K) -f Makefile) |
---|
68 | |
---|
69 | driver : all_lib |
---|
70 | (cd src_driver ; $(M_K) -f Makefile) |
---|
71 | |
---|
72 | config : |
---|
73 | (cd src_parameters; $(M_K) -f Makefile config) |
---|
74 | (cd src_sechiba; $(M_K) -f Makefile config) |
---|
75 | (cd src_stomate; $(M_K) -f Makefile config) |
---|
76 | |
---|
77 | clean : |
---|
78 | (cd src_parameters; $(M_K) -f Makefile clean) |
---|
79 | (cd src_parallel; $(M_K) -f Makefile clean) |
---|
80 | (cd src_global; $(M_K) -f Makefile clean) |
---|
81 | (cd src_sechiba; $(M_K) -f Makefile clean) |
---|
82 | (cd src_stomate; $(M_K) -f Makefile clean) |
---|
83 | (cd src_driver; $(M_K) -f Makefile clean) |
---|
84 | (rm -f ../../lib/*) |
---|
85 | |
---|
86 | doc: |
---|
87 | doxygen Doxyfile_ORCHIDEE |
---|
88 | export TEXINPUTS="${TEXINPUTS}:${PWD}/DOC//"; export BIBINPUTS="${BIBINPUTS}:${PWD}/DOC/BIB//"; cd docs/latex ; latex refman.tex |
---|
89 | |
---|
90 | bib: |
---|
91 | export TEXINPUTS="${TEXINPUTS}:${PWD}/DOC//"; export BIBINPUTS="${BIBINPUTS}:${PWD}/DOC/BIB//"; cd docs/latex ; bibtex refman |
---|
92 | |
---|
93 | index: |
---|
94 | export TEXINPUTS="${TEXINPUTS}:${PWD}/DOC//"; export BIBINPUTS="${BIBINPUTS}:${PWD}/DOC/BIB//"; cd docs/latex ; makeindex refman |
---|
95 | |
---|
96 | toc: |
---|
97 | export TEXINPUTS="${TEXINPUTS}:${PWD}/DOC//"; export BIBINPUTS="${BIBINPUTS}:${PWD}/DOC/BIB//"; cd docs/latex ; latex refman.tex |
---|
98 | |
---|