1 | #- $Id$ |
---|
2 | |
---|
3 | |
---|
4 | all : |
---|
5 | if [ -s ./.resol ] ; then $(M_K) `head -1 .resol` ; else $(M_K) NMHC_AERxLMD9695-L39 ; fi |
---|
6 | |
---|
7 | |
---|
8 | NMHC_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 | |
---|
13 | AERxLMD9695-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 | |
---|
18 | AERxLMD144142-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 | |
---|
23 | DUSSxLMD9695-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 | |
---|
28 | DUSSxLMD144142-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 | |
---|
33 | GESxLMD9695-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 | |
---|
39 | xios : |
---|
40 | (cd ../../modeles/XIOS ; ./make_xios --arch ${FCM_ARCH} --job 8 ; cp bin/xios_server.exe ../../bin/. ; ) |
---|
41 | |
---|
42 | libioipsl : ../../modeles/IOIPSL/src |
---|
43 | (cd ../../modeles/IOIPSL/src ; $(M_K) -f Makefile) |
---|
44 | |
---|
45 | |
---|
46 | liborchidee : ../../modeles/ORCHIDEE/ |
---|
47 | (cd ../../modeles/ORCHIDEE/ ; ./makeorchidee_fcm -parallel mpi_omp -xios -arch $(FCM_ARCH) -j 8 -driver) |
---|
48 | |
---|
49 | nmhcaer96x95x39: |
---|
50 | $(M_K) inca RESOL_INCA=96x95x39 CHIMIE=NMHC_AER |
---|
51 | |
---|
52 | aer96x95x39: |
---|
53 | $(M_K) inca RESOL_INCA=96x95x39 CHIMIE=AER |
---|
54 | |
---|
55 | aer144x142x39: |
---|
56 | $(M_K) inca RESOL_INCA=144x142x39 CHIMIE=AER |
---|
57 | |
---|
58 | duss96x95x39: |
---|
59 | $(M_K) inca RESOL_INCA=96x95x39 CHIMIE=DUSS |
---|
60 | |
---|
61 | duss144x142x39: |
---|
62 | $(M_K) inca RESOL_INCA=144x142x39 CHIMIE=DUSS |
---|
63 | |
---|
64 | ges96x95x39: |
---|
65 | $(M_K) inca RESOL_INCA=96x95x39 CHIMIE=GES |
---|
66 | |
---|
67 | lmdz96x95x39: |
---|
68 | $(M_K) lmdz RESOL_LMDZ=96x95x39 |
---|
69 | |
---|
70 | lmdz144x142x39: |
---|
71 | $(M_K) lmdz RESOL_LMDZ=144x142x39 |
---|
72 | |
---|
73 | inca: ../../modeles/INCA |
---|
74 | (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 ; ) |
---|
75 | |
---|
76 | lmdz: ../../modeles/LMDZ |
---|
77 | # (cd ../../modeles/LMDZ; ./makelmdz_fcm -d $(RESOL_LMDZ) -arch $(FCM_ARCH) -j 8 ce0l ; mv bin/ce0l_$(RESOL_LMDZ)_phylmd_seq.e ../../bin/create_etat0_limit.e ; ) |
---|
78 | (cd ../../modeles/LMDZ; ./makelmdz_fcm -d $(RESOL_LMDZ) -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 ; ) |
---|
79 | |
---|
80 | |
---|
81 | verif: ../../bin |
---|
82 | ls -l ../../bin |
---|
83 | |
---|
84 | clean : |
---|
85 | (rm -rf $(LIBDIR)/* ; rm -rf ../../modeles/LMDZ/libo/* ../../modeles/LMDZ/.lock ; ) |
---|
86 | (cd ../../modeles/IOIPSL/src ; ${M_K} clean ; ) |
---|
87 | (cd ../../modeles/ORCHIDEE ; ./makeorchidee_fcm -clean ; ) |
---|
88 | (cd ../../modeles/INCA ; ./makeinca_fcm -clean ) |
---|
89 | |
---|