source: CONFIG/UNIFORM/v6/LMDZORINCA_v6/AA_make @ 2913

Last change on this file since 2913 was 2913, checked in by acosce, 5 years ago

Add rrtm and XIOS to compilation for LMDZ in LMDZORINCA configuration

File size: 3.1 KB
Line 
1#- $Id$
2
3
4all :
5        if [ -s ./.resol ] ; then $(M_K) `head -1 .resol` ; else $(M_K) NMHC_AERxLMD9695-L39 ; fi
6
7
8NMHC_AERxLMD9695-L39 : libioipsl xios liborchidee nmhcaer96x95x39 lmdz96x95x39 verif
9        echo "NMHC_AERxLMD9695-L39" >.resol
10        echo "RESOL_ATM_3D=96x95x39" >>.resol
11        echo "CHEM=NMHC_AER" > .chimie
12
13AERxLMD9695-L39 : libioipsl xios liborchidee aer96x95x39 lmdz96x95x39 verif
14        echo "AERxLMD9695-L39" >.resol
15        echo "RESOL_ATM_3D=96x95x39" >>.resol
16        echo "CHEM=AER" > .chimie
17
18AERxLMD144142-L39 : libioipsl xios liborchidee aer144x142x39 lmdz144x142x39 verif
19        echo "AERxLMD144142-L39" >.resol
20        echo "RESOL_ATM_3D=144x142x39" >>.resol
21        echo "CHEM=AER" > .chimie
22
23DUSSxLMD9695-L39 : libioipsl xios liborchidee duss96x95x39 lmdz96x95x39 verif
24        echo "DUSSxLMD9695-L39" >.resol
25        echo "RESOL_ATM_3D=96x95x39" >>.resol
26        echo "CHEM=DUSS" > .chimie
27
28DUSSxLMD144142-L39 : libioipsl xios liborchidee duss144x142x39 lmdz144x142x39 verif
29        echo "DUSSxLMD144142-L39" >.resol
30        echo "RESOL_ATM_3D=144x142x39" >>.resol
31        echo "CHEM=DUSS" > .chimie
32
33GESxLMD9695-L39 : libioipsl xios liborchidee ges96x95x39 lmdz96x95x39 verif
34        echo "GESxLMD9695-L39" >.resol
35        echo "RESOL_ATM_3D=96x95x39" >>.resol
36        echo "CHEM=GES" > .chimie
37
38
39xios :
40        (cd  ../../modeles/XIOS ; ./make_xios  --arch ${FCM_ARCH} --job 8 ; cp bin/xios_server.exe ../../bin/. ; )
41
42libioipsl : ../../modeles/IOIPSL/src
43        (cd ../../modeles/IOIPSL/src ; $(M_K) -f Makefile)
44
45
46liborchidee : ../../modeles/ORCHIDEE/
47        (cd ../../modeles/ORCHIDEE/ ; ./makeorchidee_fcm  -parallel mpi_omp -xios -arch $(FCM_ARCH) -j 8  -driver)
48
49nmhcaer96x95x39:
50        $(M_K) inca RESOL_INCA=96x95x39 CHIMIE=NMHC_AER
51
52aer96x95x39:
53        $(M_K) inca RESOL_INCA=96x95x39 CHIMIE=AER
54
55aer144x142x39:
56        $(M_K) inca RESOL_INCA=144x142x39 CHIMIE=AER
57
58duss96x95x39:
59        $(M_K) inca RESOL_INCA=96x95x39 CHIMIE=DUSS
60
61duss144x142x39:
62        $(M_K) inca RESOL_INCA=144x142x39 CHIMIE=DUSS
63
64ges96x95x39:
65        $(M_K) inca RESOL_INCA=96x95x39 CHIMIE=GES
66
67lmdz96x95x39:
68        $(M_K) lmdz RESOL_LMDZ=96x95x39
69
70lmdz144x142x39:
71        $(M_K) lmdz RESOL_LMDZ=144x142x39
72
73inca: ../../modeles/INCA
74#       (cd ../../modeles/INCA; ./makeinca_fcm -chimie $(CHIMIE)  -resol $(RESOL_INCA) -j 8 -arch $(FCM_ARCH); cp SIMULATIONS/$(CHIMIE)/inca.dat ../../bin/inca.dat ; )
75        (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 ; )
76
77lmdz: ../../modeles/LMDZ
78#       (cd ../../modeles/LMDZ; ./makelmdz_fcm -d $(RESOL_LMDZ) -chimie INCA  -arch $(FCM_ARCH) -j 8 ce0l ; mv bin/ce0l_$(RESOL_LMDZ)_phylmd_seq_inca.e ../../bin/create_etat0_limit.e ; )
79        (cd ../../modeles/LMDZ; ./makelmdz_fcm -d $(RESOL_LMDZ) -rrtm true -cpp XIOS1 -chimie INCA -io xios  -mem -cosp false -v true -parallel mpi_omp -arch $(FCM_ARCH) -j 8  gcm ; mv bin/gcm_$(RESOL_LMDZ)_phylmd_para_mem_orch_inca.e ../../bin/gcm.e ; )
80
81
82verif: ../../bin
83        ls -l ../../bin
84
85clean :
86        (rm -rf $(LIBDIR)/* ; rm -rf ../../modeles/LMDZ/libo/* ../../modeles/LMDZ/.lock ; )
87        (cd ../../modeles/IOIPSL/src ; ${M_K} clean ; )
88        (cd ../../modeles/ORCHIDEE ; ./makeorchidee_fcm -clean ; )
89        (cd  ../../modeles/INCA ; ./makeinca_fcm -clean )
90
Note: See TracBrowser for help on using the repository browser.