1 | #- $Id$ |
---|
2 | #- |
---|
3 | #- Key options for OPA ocean model + UCL sea ice model : ORCA_R4 - Coupled |
---|
4 | #- |
---|
5 | #--- -Wp,-Dkey_orca_r4 resolution option(4,2,05,025) |
---|
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 | #- |
---|
27 | KEY4='-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' |
---|
28 | KEY2='-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' |
---|
29 | PRISM_DIR = ../../prism |
---|
30 | OASIS3_DIR = $(PRISM_DIR)/src/mod/oasis3 |
---|
31 | |
---|
32 | #-Q- sx8brodie sx8brodie: |
---|
33 | #-Q- sx8brodie @echo sur le NEC SX-8 brodie la compilation se fait en batch |
---|
34 | #-Q- sx8brodie @echo attendez la fin du job soumis la: |
---|
35 | #-Q- sx8brodie qsub job.comp |
---|
36 | |
---|
37 | all : |
---|
38 | if [ -s ./.resol ] ; then gmake `cat .resol` ; else gmake ORCA2xLMD9671 ; fi |
---|
39 | |
---|
40 | |
---|
41 | ORCA2xLMD9671 : libioipsl oasis3 liborchidee orca2 inca3 lmdz9671 |
---|
42 | echo "ORCA2xLMD9671" >.resol |
---|
43 | echo "$(LIB_MPI)" >.libmpi |
---|
44 | |
---|
45 | libioipsl : |
---|
46 | (cd ../../modeles/IOIPSL/src ; $(M_K) -f Makefile) |
---|
47 | |
---|
48 | oasis3: $(OASIS3_DIR)/COMP_oasis3_$(LIB_MPI).$(PRISM_NAME) $(OASIS3_DIR)/COMP_oasis3_$(LIB_MPI).$(PRISM_NAME) |
---|
49 | (cd $(OASIS3_DIR) ; ./COMP_oasis3_$(LIB_MPI).$(PRISM_NAME) ; ) |
---|
50 | |
---|
51 | $(OASIS3_DIR)/COMP_oasis3_$(LIB_MPI).$(PRISM_NAME) : |
---|
52 | (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}" "" "" ; ) |
---|
53 | |
---|
54 | liborchidee : |
---|
55 | (cd ../../modeles/ORCHIDEE/ ; $(M_K) -f Makefile) |
---|
56 | |
---|
57 | config : libioipsl |
---|
58 | (cd ../../modeles/IOIPSL/src; $(M_K) -f Makefile config) |
---|
59 | (cd ../../modeles/ORCHIDEE/; $(M_K) -f Makefile config) |
---|
60 | $(BINDIR)/Fparser -main -name ORCHIDEE_OL $(MODS1) |
---|
61 | $(SCPDIR)/build_tkmenus |
---|
62 | ./config.tk |
---|
63 | $(RM) Config.* |
---|
64 | |
---|
65 | lmdz9671: |
---|
66 | (cd ../../modeles/LMDZ4; ./makegcm_fcm -d 96x71x19 -chimie AER -t 31 -m $(FCM_ARCH) create_etat0_limit ; cp bin/create_etat0_limit_96x71x19_t31_phylmd_seq.e ../../bin/create_etat0_limit.e ; ) |
---|
67 | (cd ../../modeles/LMDZ4; ./makegcm_fcm -d 96x71x19 -chimie AER -t 31 -psmile true -v true -parallel true -c $(LIB_MPI) -m $(FCM_ARCH) gcm ; cp bin/gcm_96x71x19_t31_phylmd_para_orch_couple.e ../../bin/gcm.e ; ) |
---|
68 | |
---|
69 | orca4: |
---|
70 | (cd ../../modeles/OPA/WORK; $(M_K) P_P=$(KEY4) OASISMPI2_LIB='-L../$(PRISM_DIR)/$(PRISM_ARCH)/lib -lpsmile.$(LIB_MPI) -lmpp_io' ; ) |
---|
71 | orca2: |
---|
72 | (cd ../../modeles/OPA/WORK; $(M_K) P_P=$(KEY2) OASISMPI2_LIB='-L../$(PRISM_DIR)/$(PRISM_ARCH)/lib -lpsmile.$(LIB_MPI) -lmpp_io' ; ) |
---|
73 | |
---|
74 | inca3: |
---|
75 | (cd ../../modeles/INCA3; ./inca_fcm -chimie AER -m $(FCM_ARCH) -parallel true -resol 96x71; cp SIMULATIONS/AER/inca.dat ../../bin/inca.dat ; ) |
---|