source: branches/publications/ORCHIDEE-CN-P_grl_2018GL077736/ORCHIDEE/Makefile @ 7346

Last change on this file since 7346 was 4592, checked in by jinfeng.chang, 7 years ago

new crop strategy for CNP; input read bugfix

File size: 3.0 KB
Line 
1#- $Id: AA_make.ldef 4547 2017-07-31 08:58:44Z albert.jornet $
2#---------------------------------------------------------------------
3#-
4#-
5#- $Id: AA_make.gdef 2634 2015-08-31 11:44:24Z mafoipsl $
6#-
7#- Validate the correlation between the target and the environment
8#-
9UTIL_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#-
14#- Global definitions for Curie at TGCC
15LIB_MPI = MPI1
16LIB_MPI_BIS = MPI1
17PRISM_ARCH = X64
18PRISM_NAME = curie
19FCM_ARCH = X64_CURIE
20M_K = gmake
21P_C = cpp
22P_O = -P -C $(P_P)
23F_C = mpif90 -c -cpp
24F_D =
25F_P = -i4 -r8
26F_O = -DCPP_PARA -O3 $(F_D) $(F_P) -I$(MODDIR) -module $(MODDIR) -fp-model precise
27######-Q- curie  F_O = -DCPP_PARA -p -g -traceback -fp-stack-check -ftrapuv -check bounds $(F_D) $(F_P) -I$(MODDIR) -module $(MODDIR)
28F_L = mpif90
29M_M = 0
30L_X = 0
31L_O =
32A_C = ar -r
33A_G = ar -x
34C_C = cc -c
35C_O =
36C_L = cc
37#-
38NCDF_INC = $(NETCDF_INCDIR)
39NCDF_LIB = -L$(NETCDF_LIBDIR) -lnetcdff -lnetcdf
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)
44RM      = rm -f
45STRIP   = strip
46SIZE    = size
47
48#- $Id: AA_make 4547 2017-07-31 08:58:44Z albert.jornet $
49all_lib : libioipsl libparallel libparameters liborglob libstomate libsechiba
50
51libioipsl:
52        (cd ../IOIPSL/src; $(M_K) -f Makefile)
53
54libparameters :
55        (cd src_parameters ; $(M_K) -f Makefile)
56
57libparallel :
58        (cd ../../modeles/ORCHIDEE/src_parallel ; $(M_K) -f Makefile)
59
60liborglob :
61        (cd src_global ; $(M_K) -f Makefile)
62
63libstomate :
64        (cd src_stomate ; $(M_K) -f Makefile)
65
66libsechiba :
67        (cd src_sechiba ; $(M_K) -f Makefile)
68
69driver : all_lib
70        (cd src_driver ; $(M_K) -f Makefile)
71
72config : 
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
77clean : 
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
86doc:
87        doxygen Doxyfile_ORCHIDEE
88        export TEXINPUTS="${TEXINPUTS}:${PWD}/DOC//"; export BIBINPUTS="${BIBINPUTS}:${PWD}/DOC/BIB//"; cd docs/latex ; latex refman.tex
89
90bib:
91        export TEXINPUTS="${TEXINPUTS}:${PWD}/DOC//"; export BIBINPUTS="${BIBINPUTS}:${PWD}/DOC/BIB//"; cd docs/latex ; bibtex refman
92
93index:
94        export TEXINPUTS="${TEXINPUTS}:${PWD}/DOC//"; export BIBINPUTS="${BIBINPUTS}:${PWD}/DOC/BIB//"; cd docs/latex ; makeindex refman
95
96toc:
97        export TEXINPUTS="${TEXINPUTS}:${PWD}/DOC//"; export BIBINPUTS="${BIBINPUTS}:${PWD}/DOC/BIB//"; cd docs/latex ; latex refman.tex
98
Note: See TracBrowser for help on using the repository browser.