source: CONFIG/IPSLCM/IPSLCM4_v2/trunk/AA_make @ 478

Last change on this file since 478 was 464, checked in by mafoipsl, 13 years ago

ACa, MAF : Resolution 96x95 added.

File size: 8.4 KB
Line 
1#- $Id$
2#-
3#- Key options for OPA ocean model + UCL sea ice model : ORCA_R2 _R4 - Coupled
4#-
5#--- -Wp,-Dkey_orca_r4 _r2                resolution option(4,2)
6#--- -Wp,-Dkey_ice_lln                    + use the Louvain La Neuve sea ice model
7#--- -Wp,-Dkey_freesurf_cstvol            Free surface formulation
8#--- -Wp,-Dkey_zdftke                     tke 1.5 turbulent closure scheme   
9#--- -Wp,-Dkey_flxqsr                     + solar radiation penetration
10#--- -Wp,-Dkey_trahdfiso         tracer   diffusion along neutral surfaces   
11#--- -Wp,-Dkey_trahdfcoef2d      tracer   latitude and longitude dependent coef.
12#--- -Wp,-Dkey_dynhdfcoef3d      dynamic  latitude and longitude dependent coef.
13#--- -Wp,-Dkey_trahdfeiv                  eddy induced advection
14#--- -Wp,-Dkey_convevd                    + enhanced vertical diffusion         
15#--- -Wp,-Dkey_temdta                     temperature data file (Levitus)
16#--- -Wp,-Dkey_saldta                     salinity data file    (Levitus) 
17#--- -Wp,-Dkey_saldta_monthly              + salinity data file (Levitus monthly)
18#--- -Wp,-Dkey_diaznl                     Diagnostics: zonal fluxes
19#--- -Wp,-Dkey_diahth                     Diagnostics: thermocline depth,
20#-                                        and depth of the 20 degrees isotherm
21#--- -Wp,-Dkey_diaeiv                     Diagnostics: Eddy induced velocities
22#--- -Wp,-Dkey_monotasking                monotasking option
23#--- -Wp,-Dkey_coupled                    coupled version - Boundary conditions:
24#-                                        momentum, heat and fresh water fluxes (coupled)
25#--- -Wp,-Dkey_coupled_prism              coupled version with OASIS3
26#-
27KEY4='-Wp,-Dkey_orca_r4 -Wp,-Dkey_ice_lln -Wp,-Dkey_freesurf_cstvol -Wp,-Dkey_zdftke -Wp,-Dkey_flxqsr -Wp,-Dkey_trahdfiso -Wp,-Dkey_trahdfcoef2d -Wp,-Dkey_dynhdfcoef3d -Wp,-Dkey_trahdfeiv -Wp,-Dkey_convevd -Wp,-Dkey_temdta -Wp,-Dkey_saldta -Wp,-Dkey_saldta_monthly -Wp,-Dkey_diaznl -Wp,-Dkey_diahth -Wp,-Dkey_diaeiv -Wp,-Dkey_monotasking -Wp,-Dkey_coupled -Wp,-Dkey_coupled_prism -Wp,-Dkey_coupled_ipslcm4 -Wp,-Dkey_lim_fdd -Wp,-Dkey_lim_cp2'
28KEY2='-Wp,-Dkey_orca_r2 -Wp,-Dkey_ice_lln -Wp,-Dkey_freesurf_cstvol -Wp,-Dkey_zdftke -Wp,-Dkey_flxqsr -Wp,-Dkey_trahdfiso -Wp,-Dkey_trahdfcoef2d -Wp,-Dkey_dynhdfcoef3d -Wp,-Dkey_trahdfeiv -Wp,-Dkey_convevd -Wp,-Dkey_temdta -Wp,-Dkey_saldta -Wp,-Dkey_saldta_monthly -Wp,-Dkey_diaznl -Wp,-Dkey_diahth -Wp,-Dkey_diaeiv -Wp,-Dkey_monotasking -Wp,-Dkey_coupled -Wp,-Dkey_coupled_prism -Wp,-Dkey_coupled_ipslcm4 -Wp,-Dkey_lim_fdd -Wp,-Dkey_lim_cp2'
29PRISM_DIR = ../../prism
30OASIS3_DIR = $(PRISM_DIR)/src/mod/oasis3
31
32all :
33#-Q- eshpux     if [ ! -f $(OASIS3_DIR)/COMP_oasis3_$(LIB_MPI).$(PRISM_NAME) ] ; then \
34#-Q- eshpux        cp -f $(PRISM_DIR)/util/compile/frames/include_$(PRISM_NAME)/COMP_oasis3_$(LIB_MPI).$(PRISM_NAME)  $(OASIS3_DIR)/.; \
35#-Q- eshpux        cp -f $(PRISM_DIR)/util/compile/frames/include_$(PRISM_NAME)/COMP_libs.$(PRISM_NAME)  $(PRISM_DIR)/util/. ; fi
36        if [ -s ./.resol ] ; then gmake `cat .resol` ; else gmake ORCA2xLMD9671 ; fi
37
38
39ORCA2xLMD4443 : libioipsl oasis3 liborchidee orca2 lmdz4443 verif       
40        echo "ORCA2xLMD4443" >.resol
41        echo "$(LIB_MPI)" >.libmpi
42
43ORCA2xLMD444315 : libioipsl oasis3 liborchidee orca2 lmdz444315 verif   
44        echo "ORCA2xLMD444315" >.resol
45        echo "$(LIB_MPI)" >.libmpi
46
47ORCA2xLMD444311 : libioipsl oasis3 liborchidee orca2 lmdz444311 verif   
48        echo "ORCA2xLMD444311" >.resol
49        echo "$(LIB_MPI)" >.libmpi
50
51ORCA2xLMD7245 : libioipsl oasis3 liborchidee orca2 lmdz7245 verif       
52        echo "ORCA2xLMD7245" >.resol
53        echo "$(LIB_MPI)" >.libmpi
54
55ORCA2lgmxLMD7245 : libioipsl oasis3 liborchidee orca2 lmdz7245 verif   
56        echo "ORCA2lgmxLMD7245" >.resol
57        echo "$(LIB_MPI)" >.libmpi
58
59ORCA2xLMD9671 : libioipsl oasis3 liborchidee orca2 lmdz9671 verif       
60        echo "ORCA2xLMD9671" >.resol
61        echo "$(LIB_MPI)" >.libmpi
62
63ORCA2lgmxLMD9671 : libioipsl oasis3 liborchidee orca2 lmdz9671 verif   
64        echo "ORCA2lgmxLMD9671" >.resol
65        echo "$(LIB_MPI)" >.libmpi
66
67ORCA2xLMD9695 : libioipsl oasis3 liborchidee orca2 lmdz9695 verif
68        echo "ORCA2xLMD9695" >.resol
69        echo "$(LIB_MPI)" >.libmpi
70
71ORCA2xLMD14496 : libioipsl oasis3 liborchidee orca2 lmdz14496 verif
72        echo "ORCA2xLMD14496" >.resol
73        echo "$(LIB_MPI)" >.libmpi
74
75ORCA2xLMD144142 : libioipsl oasis3 liborchidee orca2 lmdz144142 verif
76        echo "ORCA2xLMD144142" >.resol
77        echo "$(LIB_MPI)" >.libmpi
78
79libioipsl :
80        (cd ../../modeles/IOIPSL/src ; $(M_K) -f Makefile)
81
82oasis3: $(OASIS3_DIR)/COMP_oasis3_$(LIB_MPI).$(PRISM_NAME) $(OASIS3_DIR)/COMP_oasis3_$(LIB_MPI).$(PRISM_NAME)
83        (cd $(OASIS3_DIR) ; ./COMP_oasis3_$(LIB_MPI).$(PRISM_NAME) ; )
84
85$(OASIS3_DIR)/COMP_oasis3_$(LIB_MPI).$(PRISM_NAME) :
86        (cd $(PRISM_DIR) ; ./util/compile/frames/Create_COMP_libs.frm  "" "" "${PRISM_NAME}" "${LIB_MPI_BIS}" ; ./util/compile/frames/Create_COMP_models.frm oasis3 "${LIB_MPI_BIS}" "" "" "${PRISM_NAME}" "" "" ; )
87
88liborchidee :
89        (cd ../../modeles/ORCHIDEE/ ; $(M_K) -f Makefile)
90#-Q- platine    (rm -f ../../lib/parallel.mod)
91
92config : libioipsl
93        (cd ../../modeles/IOIPSL/src; $(M_K) -f Makefile config)
94        (cd ../../modeles/ORCHIDEE/; $(M_K) -f Makefile config)
95        $(BINDIR)/Fparser -main -name ORCHIDEE_OL $(MODS1)
96        $(SCPDIR)/build_tkmenus
97        ./config.tk
98        $(RM) Config.*
99
100lmdz4443:
101        (cd ../../modeles/LMDZ4; ./makegcm_fcm -d 44x43x19 -m $(FCM_ARCH) create_etat0_limit ; cp bin/create_etat0_limit_44x43x19_t4_phylmd_seq.e ../../bin/create_etat0_limit.e ; )
102        (cd ../../modeles/LMDZ4; ./makegcm_fcm -d 44x43x19 -psmile true -v true -parallel true -c $(LIB_MPI) -m $(FCM_ARCH) gcm ; cp bin/gcm_44x43x19_t4_phylmd_para_orch_couple.e ../../bin/gcm.e ; )
103
104lmdz444315:
105        (cd ../../modeles/LMDZ4; ./makegcm_fcm -d 44x43x15 -m $(FCM_ARCH) create_etat0_limit ; cp bin/create_etat0_limit_44x43x15_t4_phylmd_seq.e ../../bin/create_etat0_limit.e ; )
106        (cd ../../modeles/LMDZ4; ./makegcm_fcm -d 44x43x15 -psmile true -v true -parallel true -c $(LIB_MPI) -m $(FCM_ARCH) gcm ; cp bin/gcm_44x43x15_t4_phylmd_para_orch_couple.e ../../bin/gcm.e ; )
107
108lmdz444311:
109        (cd ../../modeles/LMDZ4; ./makegcm_fcm -d 44x43x11 -m $(FCM_ARCH) create_etat0_limit ; cp bin/create_etat0_limit_44x43x11_t4_phylmd_seq.e ../../bin/create_etat0_limit.e ; )
110        (cd ../../modeles/LMDZ4; ./makegcm_fcm -d 44x43x11 -psmile true -v true -parallel true -c $(LIB_MPI) -m $(FCM_ARCH) gcm ; cp bin/gcm_44x43x11_t4_phylmd_para_orch_couple.e ../../bin/gcm.e ; )
111
112lmdz7245:
113        (cd ../../modeles/LMDZ4; ./makegcm_fcm -d 72x45x19 -m $(FCM_ARCH) create_etat0_limit ; cp bin/create_etat0_limit_72x45x19_t4_phylmd_seq.e ../../bin/create_etat0_limit.e ; )
114        (cd ../../modeles/LMDZ4; ./makegcm_fcm -d 72x45x19 -psmile true -v true -parallel true -c $(LIB_MPI) -m $(FCM_ARCH) gcm ; cp bin/gcm_72x45x19_t4_phylmd_para_orch_couple.e ../../bin/gcm.e ; )
115
116lmdz9671:
117        (cd ../../modeles/LMDZ4; ./makegcm_fcm -d 96x71x19 -m $(FCM_ARCH) create_etat0_limit ; cp bin/create_etat0_limit_96x71x19_t4_phylmd_seq.e ../../bin/create_etat0_limit.e ; )
118        (cd ../../modeles/LMDZ4; ./makegcm_fcm -d 96x71x19 -psmile true -v true -parallel true -c $(LIB_MPI) -m $(FCM_ARCH) gcm ; cp bin/gcm_96x71x19_t4_phylmd_para_orch_couple.e ../../bin/gcm.e ; )
119
120lmdz9695:
121        (cd ../../modeles/LMDZ4; ./makegcm_fcm -d 96x95x19 -m $(FCM_ARCH) create_etat0_limit ; cp bin/create_etat0_limit_96x95x19_t4_phylmd_seq.e ../../bin/create_etat0_limit.e ; )
122        (cd ../../modeles/LMDZ4; ./makegcm_fcm -d 96x95x19 -psmile true -v true -parallel true -c $(LIB_MPI) -m $(FCM_ARCH) gcm ; cp bin/gcm_96x95x19_t4_phylmd_para_orch_couple.e ../../bin/gcm.e ; )
123
124lmdz14496:
125        (cd ../../modeles/LMDZ4; ./makegcm_fcm -d 144x96x19 -m $(FCM_ARCH) create_etat0_limit ; cp bin/create_etat0_limit_144x96x19_t4_phylmd_seq.e ../../bin/create_etat0_limit.e ; )
126        (cd ../../modeles/LMDZ4; ./makegcm_fcm -d 144x96x19 -psmile true -v true -parallel true -c $(LIB_MPI) -m $(FCM_ARCH) gcm ; cp bin/gcm_144x96x19_t4_phylmd_para_orch_couple.e ../../bin/gcm.e ; )
127
128lmdz144142:
129        (cd ../../modeles/LMDZ4; ./makegcm_fcm -d 144x142x19 -m $(FCM_ARCH) create_etat0_limit ; cp bin/create_etat0_limit_144x142x19_t4_phylmd_seq.e ../../bin/create_etat0_limit.e ; )
130        (cd ../../modeles/LMDZ4; ./makegcm_fcm -d 144x142x19 -psmile true -v true -parallel true -c $(LIB_MPI) -m $(FCM_ARCH) gcm ; cp bin/gcm_144x142x19_t4_phylmd_para_orch_couple.e ../../bin/gcm.e ; )
131
132orca4:
133        (cd ../../modeles/OPA/WORK; $(M_K) P_P=$(KEY4) OASISMPI2_LIB='-L../$(PRISM_DIR)/$(PRISM_ARCH)/lib -lpsmile.$(LIB_MPI) -lmpp_io' ; )
134orca2:
135        (cd ../../modeles/OPA/WORK; $(M_K) P_P=$(KEY2) OASISMPI2_LIB='-L../$(PRISM_DIR)/$(PRISM_ARCH)/lib -lpsmile.$(LIB_MPI) -lmpp_io' ; )
136verif:
137        ls -l ../../bin
138
Note: See TracBrowser for help on using the repository browser.