source: CONFIG/LMDZOR/branches/LMDZOR_v4/AA_make @ 1193

Last change on this file since 1193 was 1189, checked in by jgipsl, 14 years ago

Modifications in config LMDZOR_v4 (config under developement) :

  • The model LMDZ should be in directory modipsl/model/LMDZ (and not LMDZ4)
  • bug in script get_era.x
File size: 2.7 KB
Line 
1#- $Id$
2
3
4all :
5        if [ -s ./.resol ] ; then $(M_K) `head -1 .resol` ; else gmake LMD280280-L39 ; fi
6
7LMD7245 : libioipsl liborchidee lmdz72x45x19 verif
8        echo "LMD7245" >.resol
9        echo "RESOL_ATM_3D=72x45x19" >>.resol
10        echo "$(LIB_MPI)" >.libmpi
11
12LMD9671 : libioipsl liborchidee lmdz96x71x19 verif
13        echo "LMD9671" >.resol
14        echo "RESOL_ATM_3D=96x71x19" >>.resol
15        echo "$(LIB_MPI)" >.libmpi
16
17LMD9695 : libioipsl liborchidee lmdz96x95x19 verif
18        echo "LMD9695" >.resol
19        echo "RESOL_ATM_3D=96x95x19" >>.resol
20        echo "$(LIB_MPI)" >.libmpi
21
22LMD9695-L39 : libioipsl liborchidee lmdz96x95x39 verif
23        echo "LMD9695-L39" >.resol
24        echo "RESOL_ATM_3D=96x95x39" >>.resol
25        echo "$(LIB_MPI)" >.libmpi
26
27LMD14496 : libioipsl liborchidee lmdz144x96x19 verif
28        echo "LMD14496" >.resol
29        echo "RESOL_ATM_3D=144x96x19" >>.resol
30        echo "$(LIB_MPI)" >.libmpi
31
32LMD144142 : libioipsl liborchidee lmdz144x142x19 verif
33        echo "LMD144142" >.resol
34        echo "RESOL_ATM_3D=144x142x19" >>.resol
35        echo "$(LIB_MPI)" >.libmpi
36
37LMD144142-L39 : libioipsl liborchidee lmdz144x142x39 verif
38        echo "LMD144142" >.resol
39        echo "RESOL_ATM_3D=144x142x39" >>.resol
40        echo "$(LIB_MPI)" >.libmpi
41
42LMD280280-L39 : libioipsl liborchidee lmdz280x280x39 verif
43        echo "LMD280280-L39" >.resol
44        echo "RESOL_ATM_3D=280x280x39" >>.resol
45        echo "$(LIB_MPI)" >.libmpi
46
47libioipsl :
48        (cd ../../modeles/IOIPSL/src ; $(M_K) -f Makefile)
49
50liborchidee :
51        (cd ../../modeles/ORCHIDEE/ ; $(M_K) -f Makefile)
52
53precsechiba :
54        (cd ../../modeles/ORCHIDEE/src_parameters ; $(M_K) -f Makefile checkprec)
55
56config : libioipsl
57        (cd ../../modeles/IOIPSL/src; $(M_K) -f Makefile config)
58        (cd ../../modeles/ORCHIDEE; $(M_K) -f Makefile config)
59        $(BINDIR)/Fparser -main -name ORCHIDEE_OL $(MODS1)
60        $(SCPDIR)/build_tkmenus
61        ./config.tk
62        $(RM) Config.*
63
64cleanORC :
65        (cd ../../modeles/ORCHIDEE; $(M_K) -f Makefile clean)
66
67lmdz72x45x19:
68        $(M_K) lmdz RESOL_LMDZ=72x45x19
69
70lmdz96x71x19:
71        $(M_K) lmdz RESOL_LMDZ=96x71x19
72
73lmdz96x95x19:
74        $(M_K) lmdz RESOL_LMDZ=96x95x19
75
76lmdz96x95x39:
77        $(M_K) lmdz RESOL_LMDZ=96x95x39
78
79lmdz144x96x19:
80        $(M_K) lmdz RESOL_LMDZ=144x96x19
81
82lmdz144x142x19:
83        $(M_K) lmdz RESOL_LMDZ=144x142x19
84
85lmdz144x142x39:
86        $(M_K) lmdz RESOL_LMDZ=144x142x39
87
88lmdz280x280x39:
89        $(M_K) lmdz RESOL_LMDZ=280x280x39
90
91lmdz:
92        (cd ../../modeles/LMDZ; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d $(RESOL_LMDZ) -arch $(FCM_ARCH) ce0l ; cp bin/ce0l_$(RESOL_LMDZ)_phylmd_seq.e ../../bin/create_etat0_limit.e ; )
93        (cd ../../modeles/LMDZ; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d $(RESOL_LMDZ) -v true -parallel mpi -arch $(FCM_ARCH) gcm ; cp bin/gcm_$(RESOL_LMDZ)_phylmd_para_orch.e ../../bin/gcm.e ; )
94
95verif:
96        ls -l ../../bin
97
98clean :
99        (rm -rf $(LIBDIR)/* ; rm -f $(BINDIR)/* ; rm -rf ../../modeles/LMDZ/libo/* ../../modeles/LMDZ/.lock ; rm -fr .resol .libmpi ; )
Note: See TracBrowser for help on using the repository browser.