source: CONFIG/publications/ICOLMDZORINCA_CO2_Transport_GMD_2023/ORCHIDEE/Makefile @ 6616

Last change on this file since 6616 was 6609, checked in by acosce, 10 months ago

ORCHIDEE used for ICOLMDZORINCA_CO2_Transport_GMD_2023

File size: 3.0 KB
Line 
1#- $Id: AA_make.ldef 12 2010-11-05 15:42:13Z mmaipsl $
2#---------------------------------------------------------------------
3#-
4#-
5#- $Id: AA_make.gdef 4976 2020-02-25 10:06:58Z aclsce $
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######-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
16LIB_MPI = MPI1
17LIB_MPI_BIS = MPI1
18PRISM_ARCH = X64
19PRISM_NAME = irene
20FCM_ARCH = X64_IRENE
21M_K = gmake
22P_C = cpp
23P_O = -P -C $(P_P)
24F_C = mpif90 -c -cpp
25F_D =
26F_P = -i4 -r8
27F_O = -DCPP_PARA -O3 $(F_D) $(F_P) -I$(MODDIR) -module $(MODDIR) -fp-model precise
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 = $(NETCDFFORTRAN_INCDIR)
39NCDF_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)
44RM      = rm -f
45STRIP   = strip
46SIZE    = size
47
48#- $Id: AA_make 1249 2013-04-04 12:00:37Z josefine.ghattas $
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.