source: CONFIG/UNIFORM/v6/IPSLCM6CHT/AA_make @ 3090

Last change on this file since 3090 was 2474, checked in by jgipsl, 7 years ago

Changed compilation of ce0l in LMDZ from use of dyn3dpar to dyn3d:
When updating LMDZ source to newer revions, dyn3dpar cannot be used anymore and ce0l can not be used in dyn3dmem. Removed options not considered for ce0l as cosp and veget.

File size: 8.8 KB
Line 
1#- $Id$
2#-
3#- AA_make for IPSLCM5_v4 configuration
4#-
5
6OASIS_DIR = ../../oasis3-mct
7
8MYSRC_DIR = $(shell /bin/pwd)
9
10all :
11        if [ -s ./.resol ] ; then $(M_K) `head -1 .resol` ; else $(M_K) ORCA2LIM2xLMD9695-L39 ; fi
12
13ORCA2LIM2xLMD9695-L39 : libioipsl oasis3-mct xios liborchidee orca2lim2 lmdz96x95x39 verif
14        echo "ORCA2LIM2xLMD9695-L39" >.resol
15        echo "RESOL_ATM_3D=96x95x39" >>.resol
16        echo "$(LIB_MPI)" >.libmpi
17
18ORCA2LIM2xLMD9695-L39xDUST : libioipsl oasis3-mct xios liborchidee orca2lim2 dust96x95x39 lmdz96x95x39 verif
19        echo "ORCA2LIM2xLMD9695-L39xDUST" >.resol
20        echo "RESOL_ATM_3D=96x95x39" >>.resol
21        echo "CHEM=DUST" > .chimie
22        echo "$(LIB_MPI)" >.libmpi
23
24ORCA2LIM3xLMD9695-L39 : libioipsl oasis3-mct xios liborchidee orca2lim3 lmdz96x95x39 verif
25        echo "ORCA2LIM3xLMD9695-L39" >.resol
26        echo "RESOL_ATM_3D=96x95x39" >>.resol
27        echo "$(LIB_MPI)" >.libmpi
28
29ORCA2LIM2xLMD9695-L39-NOPISCES : libioipsl oasis3-mct xios liborchidee orca2lim2nopisces lmdz96x95x39 verif
30        echo "ORCA2LIM2xLMD9695-L39" >.resol
31        echo "RESOL_ATM_3D=96x95x39" >>.resol
32        echo "NOPISCES" >>.resol
33        echo "$(LIB_MPI)" >.libmpi
34
35ORCA2LIM2xLMD144142-L39 : libioipsl oasis3-mct xios liborchidee orca2lim2 lmdz144x142x39 verif
36        echo "ORCA2LIM2xLMD144142-L39" >.resol
37        echo "RESOL_ATM_3D=144x142x39" >>.resol
38        echo "$(LIB_MPI)" >.libmpi
39
40ORCA2LIM2xLMD144142-L39xDUST : libioipsl oasis3-mct xios liborchidee orca2lim2 dust144x142x39 lmdz144x142x39 verif
41        echo "ORCA2LIM2xLMD144142-L39xDUST" >.resol
42        echo "RESOL_ATM_3D=144x142x39" >>.resol
43        echo "CHEM=DUST" > .chimie
44        echo "$(LIB_MPI)" >.libmpi
45
46ORCA2LIM2xLMD144142-L59 : libioipsl oasis3-mct xios liborchidee orca2lim2 lmdz144x142x59 verif
47        echo "ORCA2LIM2xLMD144142-L59" >.resol
48        echo "RESOL_ATM_3D=144x142x59" >>.resol
49        echo "$(LIB_MPI)" >.libmpi
50
51ORCA2LIM2xLMD144142-L79 : libioipsl oasis3-mct xios liborchidee orca2lim2 lmdz144x142x79 verif
52        echo "ORCA2LIM2xLMD144142-L79" >.resol
53        echo "RESOL_ATM_3D=144x142x79" >>.resol
54        echo "$(LIB_MPI)" >.libmpi
55
56ORCA2LIM3xLMD144142-L39 : libioipsl oasis3-mct xios liborchidee orca2lim3 lmdz144x142x39 verif
57        echo "ORCA2LIM3xLMD144142-L39" >.resol
58        echo "RESOL_ATM_3D=144x142x39" >>.resol
59        echo "$(LIB_MPI)" >.libmpi
60
61ORCA2LIM3xLMD144142-L59 : libioipsl oasis3-mct xios liborchidee orca2lim3 lmdz144x142x59 verif
62        echo "ORCA2LIM3xLMD144142-L59" >.resol
63        echo "RESOL_ATM_3D=144x142x59" >>.resol
64        echo "$(LIB_MPI)" >.libmpi
65
66ORCA1LIM2xLMD9695-L39 : libioipsl oasis3-mct xios liborchidee orca1lim2 lmdz96x95x39 verif
67        echo "ORCA1LIM2xLMD9695-L39" >.resol
68        echo "RESOL_ATM_3D=96x95x39" >>.resol
69        echo "$(LIB_MPI)" >.libmpi
70
71ORCA1LIM2xLMD144142-L39 : libioipsl oasis3-mct xios liborchidee orca1lim2 lmdz144x142x39 verif
72        echo "ORCA1LIM2xLMD144142-L39" >.resol
73        echo "RESOL_ATM_3D=144x142x39" >>.resol
74        echo "$(LIB_MPI)" >.libmpii
75
76ORCA1LIM2xLMD144142-L59 : libioipsl oasis3-mct xios liborchidee orca1lim2 lmdz144x142x59 verif
77        echo "ORCA1LIM2xLMD144142-L59" >.resol
78        echo "RESOL_ATM_3D=144x142x59" >>.resol
79        echo "$(LIB_MPI)" >.libmpii
80
81ORCA1LIM2xLMD144142-L79 : libioipsl oasis3-mct xios liborchidee orca1lim2 lmdz144x142x79 verif
82        echo "ORCA1LIM2xLMD144142-L79" >.resol
83        echo "RESOL_ATM_3D=144x142x79" >>.resol
84        echo "$(LIB_MPI)" >.libmpii
85
86ORCA1LIM3xLMD9695-L39 : libioipsl oasis3-mct xios liborchidee orca1lim3 lmdz96x95x39 verif
87        echo "ORCA1LIM3xLMD9695-L39" >.resol
88        echo "RESOL_ATM_3D=96x95x39" >>.resol
89        echo "$(LIB_MPI)" >.libmpi
90
91ORCA1LIM3xLMD144142-L39 : libioipsl oasis3-mct xios liborchidee orca1lim3 lmdz144x142x39 verif
92        echo "ORCA1LIM3xLMD144142-L39" >.resol
93        echo "RESOL_ATM_3D=144x142x39" >>.resol
94        echo "$(LIB_MPI)" >.libmpi
95
96ORCA1LIM3xLMD144142-L59 : libioipsl oasis3-mct xios liborchidee orca1lim3 lmdz144x142x59 verif
97        echo "ORCA1LIM3xLMD144142-L59" >.resol
98        echo "RESOL_ATM_3D=144x142x59" >>.resol
99        echo "$(LIB_MPI)" >.libmpi
100
101ORCA1LIM3xLMD144142-L79 : libioipsl oasis3-mct xios liborchidee orca1lim3 lmdz144x142x79 verif
102        echo "ORCA1LIM3xLMD144142-L79" >.resol
103        echo "RESOL_ATM_3D=144x142x79" >>.resol
104        echo "$(LIB_MPI)" >.libmpi
105
106libioipsl : ../../modeles/IOIPSL/src
107        (cd ../../modeles/IOIPSL/src ; $(M_K) -f Makefile)
108
109oasis3-mct:
110        (cd $(OASIS_DIR)/util/make_dir ; cp $(MYSRC_DIR)/SOURCES/OASIS3-MCT/make_${FCM_ARCH} make.inc ; make -f TopMakefileOasis3 ; )
111
112liborchidee : ../../modeles/ORCHIDEE/
113        (cd ../../modeles/ORCHIDEE/ ; ./makeorchidee_fcm -parallel mpi_omp -arch $(FCM_ARCH) -j 8 -xios)
114
115lmdz96x95x39:
116        $(M_K) lmdz RESOL_LMDZ=96x95x39
117
118lmdz144x142x39:
119        $(M_K) lmdz RESOL_LMDZ=144x142x39
120
121lmdz144x142x59:
122        $(M_K) lmdz RESOL_LMDZ=144x142x59
123
124lmdz144x142x79:
125        $(M_K) lmdz RESOL_LMDZ=144x142x79
126
127lmdz: ../../modeles/LMDZ
128#       (cd ../../modeles/LMDZ; ./makelmdz_fcm -d $(RESOL_LMDZ) -arch $(FCM_ARCH) -j 8 ce0l ; cp bin/ce0l_$(RESOL_LMDZ)_phylmd_seq.e ../../bin/create_etat0_limit.e ; )
129        (cd ../../modeles/LMDZ ; ./makelmdz_fcm -d $(RESOL_LMDZ) -chimie INCA -mem -cosp false -v true -parallel mpi_omp -io xios -c OMCT -job 8 -arch $(FCM_ARCH) gcm  ; cp bin/gcm_$(RESOL_LMDZ)_phylmd_para_mem_orch_couple_inca.e ../../bin/gcm.e ; )
130
131dust96x95x39:
132        $(M_K) inca RESOL_INCA=96x95x39 CHIMIE=DUST
133
134dust144x142x39:
135        $(M_K) inca RESOL_INCA=144x142x39 CHIMIE=DUST
136
137inca: ../../modeles/INCA
138        (cd ../../modeles/INCA; ./makeinca_fcm -chimie $(CHIMIE) -xios -parallel mpi_omp -resol $(RESOL_INCA) -j 8 -arch $(FCM_ARCH); cp SIMULATIONS/$(CHIMIE)/inca.dat ../../bin/inca.dat ; )
139
140xios: ../../modeles/XIOS
141        (cd ../../modeles/XIOS; ./make_xios --arch $(FCM_ARCH) --prod --use_oasis oasis3_mct --job 8 ; cp bin/xios_server.exe ../../bin/. ; )
142
143orca2lim2:  ../../modeles/NEMOGCM/CONFIG
144        (cd ../../modeles/NEMOGCM/CONFIG; cp ../../../config/IPSLCM6CHT/SOURCES/NEMO/arch-${FCM_ARCH}.fcm ../ARCH/. ; cp ../../../config/IPSLCM6CHT/SOURCES/NEMO/*.cfg ../TOOLS/COMPILE/. ; ./makenemo -m ${FCM_ARCH} -n ORCA2_LIM_PISCES -e "$(MYSRC_DIR)/SOURCES/NEMO" -j16 add_key "key_lim2_vp key_coupled key_oasis3 key_oasis_mct key_diahth key_diaar5" del_key "key_nosignedzero " ; cp ORCA2_LIM_PISCES/BLD/bin/nemo.exe ../../../bin/opa ; )
145
146orca2lim2nopisces:  ../../modeles/NEMOGCM/CONFIG
147        (cd ../../modeles/NEMOGCM/CONFIG; cp ../../../config/IPSLCM6CHT/SOURCES/NEMO/arch-${FCM_ARCH}.fcm ../ARCH/. ; cp ../../../config/IPSLCM6CHT/SOURCES/NEMO/*.cfg ../TOOLS/COMPILE/. ; ./makenemo -m ${FCM_ARCH} -n ORCA2_LIM -e "$(MYSRC_DIR)/SOURCES/NEMO" -j16 add_key "key_lim2_vp key_coupled key_oasis3 key_oasis_mct key_diahth key_diaar5" del_key "key_nosignedzero" ; cp ORCA2_LIM/BLD/bin/nemo.exe ../../../bin/opa ; )
148
149orca2lim3:  ../../modeles/NEMOGCM/CONFIG
150        (cd ../../modeles/NEMOGCM/CONFIG; cp ../../../config/IPSLCM6CHT/SOURCES/NEMO/arch-${FCM_ARCH}.fcm ../ARCH/. ; cp ../../../config/IPSLCM6CHT/SOURCES/NEMO/*.cfg ../TOOLS/COMPILE/. ; ./makenemo -m ${FCM_ARCH} -n ORCA2_LIM3_PISCES -d "OPA_SRC LIM_SRC_3 NST_SRC TOP_SRC" -e "$(MYSRC_DIR)/SOURCES/NEMO" -j16 add_key "key_lim3 key_coupled key_oasis3 key_oasis_mct key_top key_pisces key_diahth key_diaar5" del_key "key_lim2 key_nosignedzero" ; cp ORCA2_LIM3_PISCES/BLD/bin/nemo.exe ../../../bin/opa ; )
151
152orca1lim3: ../../modeles/NEMOGCM/CONFIG
153        (cd ../../modeles/NEMOGCM/CONFIG; cp ../../../config/IPSLCM6CHT/SOURCES/NEMO/arch-${FCM_ARCH}.fcm ../ARCH/. ; cp ../../../config/IPSLCM6CHT/SOURCES/NEMO/*.cfg ../TOOLS/COMPILE/. ; ./makenemo -m ${FCM_ARCH} -n ORCA1_LIM3_PISCES -d "OPA_SRC LIM_SRC_3 NST_SRC TOP_SRC" -e "$(MYSRC_DIR)/SOURCES/NEMO" -j16 add_key "key_lim3 key_oasis3 key_coupled key_oasis_mct  key_top key_pisces key_diahth key_diaar5 key_vvl" del_key "key_lim2 key_lim2_vp key_nosignedzero" ; cp ORCA1_LIM3_PISCES/BLD/bin/nemo.exe ../../../bin/opa ; )
154
155orca1lim2:  ../../modeles/NEMOGCM/CONFIG
156        (cd ../../modeles/NEMOGCM/CONFIG; cp ../../../config/IPSLCM6CHT/SOURCES/NEMO/arch-${FCM_ARCH}.fcm ../ARCH/. ; cp ../../../config/IPSLCM6CHT/SOURCES/NEMO/*.cfg ../TOOLS/COMPILE/. ; ./makenemo -m ${FCM_ARCH} -n ORCA1_LIM2_PISCES -d "OPA_SRC LIM_SRC_2 NST_SRC TOP_SRC" -e "$(MYSRC_DIR)/SOURCES/NEMO" -j16 add_key "key_top key_pisces key_lim2 key_lim2_vp key_coupled key_oasis3 key_oasis_mct key_diahth key_diaar5 key_vvl" del_key "key_lim3 key_nosignedzero " ; cp ORCA1_LIM2_PISCES/BLD/bin/nemo.exe ../../../bin/opa ; )
157
158verif: ../../bin
159        ls -l ../../bin
160
161clean : cleannemo cleanlmdz cleanorchidee cleanxios cleanioipsl cleanoasis
162        rm -rf $(LIBDIR)/* ; rm -f $(BINDIR)/*
163
164cleannemo :
165        ../../modeles/NEMOGCM/CONFIG/makenemo clean
166        rm -f $(BINDIR)/opa
167
168cleanlmdz :
169        rm -rf ../../modeles/LMDZ/libo/* ../../modeles/LMDZ/bin/* ../../modeles/LMDZ/.lock
170        rm -f $(BINDIR)/gcm.e $(BINDIR)/create_etat0_limit.e
171
172cleanorchidee :
173        ( cd ../../modeles/ORCHIDEE ; ./makeorchidee_fcm -clean )
174        rm -f $(BINDIR)/gcm.e   
175
176cleanoasis :
177        rm -rf $(OASIS_DIR)/BLD
178        rm -f $(BINDIR)/oasis
179
180cleanxios :
181        rm -rf ../../modeles/XIOS/bin/ ../../modeles/XIOS/inc ../../modeles/XIOS/obj ../../modeles/XIOS/lib
182
183cleanioipsl :
184        ( cd ../../modeles/IOIPSL ; make clean )
185        ( cd $(BINDIR) ; rm -f calendar.mod  defprec.mod  errioipsl.mod  flincom.mod  fliocom.mod  getincom.mod  histcom.mod  ioipsl.mod  libioipsl.a   mathelp.mod  restcom.mod  stringop.mod )       
186
Note: See TracBrowser for help on using the repository browser.