source: CONFIG/LMDZOR/branches/LMDZ4OR_v3/AA_make @ 961

Last change on this file since 961 was 961, checked in by aclsce, 15 years ago
  • Move 4 parameters from physiq.def into run.def to facilitate sharing physiq.def file with LMDZOR forced configurations (like in IPSLCM5_v2

config).

  • Back to old way to compile create_etat0_limit (no parallel mode) to work with CREATE/Job
File size: 2.5 KB
Line 
1#- $Id$
2
3
4all :
5        if [ -s ./.resol ] ; then $(M_K) `head -1 .resol` ; else gmake LMD9695-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
42libioipsl :
43        (cd ../../modeles/IOIPSL/src ; $(M_K) -f Makefile)
44
45liborchidee :
46        (cd ../../modeles/ORCHIDEE/ ; $(M_K) -f Makefile)
47
48precsechiba :
49        (cd ../../modeles/ORCHIDEE/src_parameters ; $(M_K) -f Makefile checkprec)
50
51config : libioipsl
52        (cd ../../modeles/IOIPSL/src; $(M_K) -f Makefile config)
53        (cd ../../modeles/ORCHIDEE; $(M_K) -f Makefile config)
54        $(BINDIR)/Fparser -main -name ORCHIDEE_OL $(MODS1)
55        $(SCPDIR)/build_tkmenus
56        ./config.tk
57        $(RM) Config.*
58
59cleanORC :
60        (cd ../../modeles/ORCHIDEE; $(M_K) -f Makefile clean)
61
62lmdz72x45x19:
63        $(M_K) lmdz RESOL_LMDZ=72x45x19
64
65lmdz96x71x19:
66        $(M_K) lmdz RESOL_LMDZ=96x71x19
67
68lmdz96x95x19:
69        $(M_K) lmdz RESOL_LMDZ=96x95x19
70
71lmdz96x95x39:
72        $(M_K) lmdz RESOL_LMDZ=96x95x39
73
74lmdz144x96x19:
75        $(M_K) lmdz RESOL_LMDZ=144x96x19
76
77lmdz144x142x19:
78        $(M_K) lmdz RESOL_LMDZ=144x142x19
79
80lmdz144x142x39:
81        $(M_K) lmdz RESOL_LMDZ=144x142x39
82
83lmdz:
84        (cd ../../modeles/LMDZ4; ./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 ; )
85        (cd ../../modeles/LMDZ4; ./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 ; )
86
87verif:
88        ls -l ../../bin
89
90clean :
91        (rm -rf $(LIBDIR)/* ; rm -f $(BINDIR)/* ; rm -rf ../../modeles/LMDZ4/libo/* ../../modeles/LMDZ4/.lock ; rm -fr .resol .libmpi ; )
Note: See TracBrowser for help on using the repository browser.