[396] | 1 | #- $Id$ |
---|
| 2 | #- |
---|
[1620] | 3 | #- AA_make for IPSLCM5_v4 configuration |
---|
[396] | 4 | #- |
---|
| 5 | |
---|
[2193] | 6 | OASIS_DIR = ../../oasis3-mct |
---|
[396] | 7 | |
---|
[2089] | 8 | MYSRC_DIR = $(shell /bin/pwd) |
---|
| 9 | |
---|
[396] | 10 | all : |
---|
[2690] | 11 | if [ -s ./.resol ] ; then $(M_K) `head -1 .resol` ; else $(M_K) IPSLCM6-LR ; fi |
---|
[396] | 12 | |
---|
[2651] | 13 | IPSLCM6A-VLR : |
---|
[2537] | 14 | $(M_K) ORCA2LIM2xLMD9695-L39 |
---|
| 15 | |
---|
| 16 | IPSLCM6-LR : |
---|
[2721] | 17 | $(M_K) ORCA1LIM3xLMD144142-L79 |
---|
[2537] | 18 | |
---|
[4141] | 19 | IPSLCM6-MR1 : |
---|
| 20 | $(M_K) ORCA1LIM3xLMD256256-L79 |
---|
| 21 | |
---|
[4446] | 22 | IPSLCM6-MR025 : |
---|
| 23 | $(M_K) ORCA025LIM3xLMD256256-L79-NOPISCES |
---|
| 24 | |
---|
[2300] | 25 | ORCA2LIM2xLMD9695-L39 : libioipsl oasis3-mct xios liborchidee orca2lim2 lmdz96x95x39 verif |
---|
[2108] | 26 | echo "ORCA2LIM2xLMD9695-L39" >.resol |
---|
[649] | 27 | echo "RESOL_ATM_3D=96x95x39" >>.resol |
---|
| 28 | echo "$(LIB_MPI)" >.libmpi |
---|
| 29 | |
---|
[2300] | 30 | ORCA2LIM3xLMD9695-L39 : libioipsl oasis3-mct xios liborchidee orca2lim3 lmdz96x95x39 verif |
---|
[2108] | 31 | echo "ORCA2LIM3xLMD9695-L39" >.resol |
---|
[1055] | 32 | echo "RESOL_ATM_3D=96x95x39" >>.resol |
---|
[2105] | 33 | echo "$(LIB_MPI)" >.libmpi |
---|
| 34 | |
---|
[2300] | 35 | ORCA2LIM2xLMD144142-L39 : libioipsl oasis3-mct xios liborchidee orca2lim2 lmdz144x142x39 verif |
---|
[2108] | 36 | echo "ORCA2LIM2xLMD144142-L39" >.resol |
---|
[649] | 37 | echo "RESOL_ATM_3D=144x142x39" >>.resol |
---|
| 38 | echo "$(LIB_MPI)" >.libmpi |
---|
| 39 | |
---|
[2537] | 40 | ORCA1LIM3xLMD9695-L39 : libioipsl oasis3-mct xios liborchidee orca1lim3 lmdz96x95x39 verif |
---|
| 41 | echo "ORCA1LIM3xLMD9695-L39" >.resol |
---|
[2266] | 42 | echo "RESOL_ATM_3D=96x95x39" >>.resol |
---|
| 43 | echo "$(LIB_MPI)" >.libmpi |
---|
| 44 | |
---|
[2537] | 45 | ORCA1LIM3xLMD9695-L39-NOPISCES : libioipsl oasis3-mct xios liborchidee orca1lim3nopisces lmdz96x95x39 verif |
---|
[2224] | 46 | echo "ORCA1LIM3xLMD9695-L39" >.resol |
---|
| 47 | echo "RESOL_ATM_3D=96x95x39" >>.resol |
---|
| 48 | echo "$(LIB_MPI)" >.libmpi |
---|
| 49 | |
---|
[2300] | 50 | ORCA1LIM3xLMD144142-L39 : libioipsl oasis3-mct xios liborchidee orca1lim3 lmdz144x142x39 verif |
---|
[2224] | 51 | echo "ORCA1LIM3xLMD144142-L39" >.resol |
---|
| 52 | echo "RESOL_ATM_3D=144x142x39" >>.resol |
---|
| 53 | echo "$(LIB_MPI)" >.libmpi |
---|
| 54 | |
---|
[2537] | 55 | ORCA1LIM3xLMD144142-L39-NOPISCES : libioipsl oasis3-mct xios liborchidee orca1lim3nopisces lmdz144x142x39 verif |
---|
| 56 | echo "ORCA1LIM3xLMD144142-L39" >.resol |
---|
| 57 | echo "RESOL_ATM_3D=144x142x39" >>.resol |
---|
[2254] | 58 | echo "$(LIB_MPI)" >.libmpi |
---|
| 59 | |
---|
[2300] | 60 | ORCA1LIM3xLMD144142-L79 : libioipsl oasis3-mct xios liborchidee orca1lim3 lmdz144x142x79 verif |
---|
[2279] | 61 | echo "ORCA1LIM3xLMD144142-L79" >.resol |
---|
| 62 | echo "RESOL_ATM_3D=144x142x79" >>.resol |
---|
| 63 | echo "$(LIB_MPI)" >.libmpi |
---|
| 64 | |
---|
[2537] | 65 | ORCA1LIM3xLMD144142-L79-NOPISCES : libioipsl oasis3-mct xios liborchidee orca1lim3nopisces lmdz144x142x79 verif |
---|
[2557] | 66 | echo "ORCA1LIM3xLMD144142-L79-NOPISCES" >.resol |
---|
[2537] | 67 | echo "RESOL_ATM_3D=144x142x79" >>.resol |
---|
| 68 | echo "$(LIB_MPI)" >.libmpi |
---|
| 69 | |
---|
[4141] | 70 | ORCA1LIM3xLMD256256-L79 : libioipsl oasis3-mct xios liborchidee orca1lim3 lmdz256x256x79 verif |
---|
| 71 | echo "ORCA1LIM3xLMD256256-L79" >.resol |
---|
| 72 | echo "RESOL_ATM_3D=256x256x79" >>.resol |
---|
| 73 | echo "$(LIB_MPI)" >.libmpi |
---|
| 74 | |
---|
[4446] | 75 | ORCA025LIM3xLMD256256-L79 : libioipsl oasis3-mct xios liborchidee orca025lim3 lmdz256x256x79 verif |
---|
| 76 | echo "ORCA025LIM3xLMD256256-L79" >.resol |
---|
| 77 | echo "RESOL_ATM_3D=256x256x79" >>.resol |
---|
| 78 | echo "$(LIB_MPI)" >.libmpi |
---|
| 79 | |
---|
| 80 | ORCA025LIM3xLMD256256-L79-NOPISCES : libioipsl oasis3-mct xios liborchidee orca025lim3nopisces lmdz256x256x79 verif |
---|
| 81 | echo "ORCA025LIM3xLMD256256-L79" >.resol |
---|
| 82 | echo "RESOL_ATM_3D=256x256x79" >>.resol |
---|
| 83 | echo "$(LIB_MPI)" >.libmpi |
---|
| 84 | |
---|
[1043] | 85 | libioipsl : ../../modeles/IOIPSL/src |
---|
[396] | 86 | (cd ../../modeles/IOIPSL/src ; $(M_K) -f Makefile) |
---|
| 87 | |
---|
[2193] | 88 | oasis3-mct: |
---|
| 89 | (cd $(OASIS_DIR)/util/make_dir ; cp $(MYSRC_DIR)/SOURCES/OASIS3-MCT/make_${FCM_ARCH} make.inc ; make -f TopMakefileOasis3 ; ) |
---|
[396] | 90 | |
---|
[1043] | 91 | liborchidee : ../../modeles/ORCHIDEE/ |
---|
[2876] | 92 | (cd ../../modeles/ORCHIDEE/ ; ./makeorchidee_fcm -parallel mpi_omp -arch $(FCM_ARCH) -j 8 -xios2) |
---|
[396] | 93 | |
---|
[647] | 94 | lmdz96x95x39: |
---|
| 95 | $(M_K) lmdz RESOL_LMDZ=96x95x39 |
---|
[396] | 96 | |
---|
[647] | 97 | lmdz144x142x39: |
---|
| 98 | $(M_K) lmdz RESOL_LMDZ=144x142x39 |
---|
| 99 | |
---|
[2279] | 100 | lmdz144x142x79: |
---|
| 101 | $(M_K) lmdz RESOL_LMDZ=144x142x79 |
---|
| 102 | |
---|
[4141] | 103 | lmdz256x256x79: |
---|
| 104 | $(M_K) lmdz RESOL_LMDZ=256x256x79 |
---|
| 105 | |
---|
[1621] | 106 | lmdz: ../../modeles/LMDZ |
---|
[2974] | 107 | # (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 ; ) |
---|
[4455] | 108 | (cd ../../modeles/LMDZ ; ./makelmdz_fcm -d $(RESOL_LMDZ) -mem -cosp true -v orchidee2.1 -parallel mpi_omp -io xios -rrtm true -c OMCT -job 8 -arch $(FCM_ARCH) gcm ; mv bin/gcm_$(RESOL_LMDZ)_phylmd_para_mem_orch_couple.e ../../bin/gcm.e ; ) |
---|
[647] | 109 | |
---|
[2060] | 110 | xios: ../../modeles/XIOS |
---|
[4413] | 111 | (cd ../../modeles/XIOS; ./make_xios --arch $(FCM_ARCH) --prod --use_oasis oasis3_mct --job 4 ; cp bin/xios_server.exe ../../bin/. ; ) |
---|
[396] | 112 | |
---|
[2224] | 113 | orca2lim2: ../../modeles/NEMOGCM/CONFIG |
---|
[2924] | 114 | (cd ../../modeles/NEMOGCM/CONFIG; cp ../../../config/IPSLCM6/SOURCES/NEMO/arch-${FCM_ARCH}.fcm ../ARCH/. ; cp ../../../config/IPSLCM6/SOURCES/NEMO/*.cfg ../TOOLS/COMPILE/. ; ./makenemo -m ${FCM_ARCH} -n ORCA2_LIM_PISCES -e "$(MYSRC_DIR)/SOURCES/NEMO" -j16 add_key "key_lim2_vp key_diahth key_oasis3" del_key "key_nosignedzero " ; cp ORCA2_LIM_PISCES/BLD/bin/nemo.exe ../../../bin/opa ; ) |
---|
[1055] | 115 | |
---|
[2224] | 116 | orca2lim3: ../../modeles/NEMOGCM/CONFIG |
---|
[2679] | 117 | (cd ../../modeles/NEMOGCM/CONFIG; cp ../../../config/IPSLCM6/SOURCES/NEMO/arch-${FCM_ARCH}.fcm ../ARCH/. ; cp ../../../config/IPSLCM6/SOURCES/NEMO/*.cfg ../TOOLS/COMPILE/. ; ./makenemo -m ${FCM_ARCH} -n ORCA2_LIM3_PISCES -d "OPA_SRC LIM_SRC_3 NST_SRC TOP_SRC" -e "$(MYSRC_DIR)/SOURCES/NEMO" -j16 add_key "key_lim3 key_oasis3 key_top key_pisces" del_key "key_lim2 key_nosignedzero" ; cp ORCA2_LIM3_PISCES/BLD/bin/nemo.exe ../../../bin/opa ; ) |
---|
[2060] | 118 | |
---|
[2224] | 119 | orca1lim3: ../../modeles/NEMOGCM/CONFIG |
---|
[2878] | 120 | (cd ../../modeles/NEMOGCM/CONFIG ; cp ../../../config/IPSLCM6/SOURCES/NEMO/*.*90 ORCA1_LIM3_PISCES/MY_SRC/ ; cp ../../../config/IPSLCM6/SOURCES/NEMO/arch-${FCM_ARCH}.fcm ../ARCH/. ; cp ../../../config/IPSLCM6/SOURCES/NEMO/*.cfg ../TOOLS/COMPILE/. ; ./makenemo -m ${FCM_ARCH} -n ORCA1_LIM3_PISCES -d "OPA_SRC LIM_SRC_3 NST_SRC TOP_SRC" -j16 add_key "key_oasis3 key_diahth" del_key "key_mpp_rep key_nosignedzero " ; cp ORCA1_LIM3_PISCES/BLD/bin/nemo.exe ../../../bin/opa ; ) |
---|
[2105] | 121 | |
---|
[2537] | 122 | orca1lim3nopisces: ../../modeles/NEMOGCM/CONFIG |
---|
[2620] | 123 | (cd ../../modeles/NEMOGCM/CONFIG ; cp ../../../config/IPSLCM6/SOURCES/NEMO/*.*90 ORCA1_LIM3_PISCES/MY_SRC/ ; cp ../../../config/IPSLCM6/SOURCES/NEMO/arch-${FCM_ARCH}.fcm ../ARCH/. ; cp ../../../config/IPSLCM6/SOURCES/NEMO/*.cfg ../TOOLS/COMPILE/. ; ./makenemo -m ${FCM_ARCH} -n ORCA1_LIM3_PISCES -d "OPA_SRC LIM_SRC_3 NST_SRC TOP_SRC" -j16 add_key "key_oasis3 " del_key "key_mpp_rep key_nosignedzero key_top key_pisces" ; cp ORCA1_LIM3_PISCES/BLD/bin/nemo.exe ../../../bin/opa ; ) |
---|
[2537] | 124 | |
---|
[2266] | 125 | orca1lim2: ../../modeles/NEMOGCM/CONFIG |
---|
[2679] | 126 | (cd ../../modeles/NEMOGCM/CONFIG; cp ../../../config/IPSLCM6/SOURCES/NEMO/arch-${FCM_ARCH}.fcm ../ARCH/. ; cp ../../../config/IPSLCM6/SOURCES/NEMO/*.cfg ../TOOLS/COMPILE/. ; ./makenemo -m ${FCM_ARCH} -n ORCA1_LIM2_PISCES -d "OPA_SRC LIM_SRC_2 NST_SRC TOP_SRC" -e "$(MYSRC_DIR)/SOURCES/NEMO" -j16 add_key "key_top key_pisces key_lim2 key_lim2_vp key_oasis3 key_vvl" del_key "key_lim3 key_nosignedzero " ; cp ORCA1_LIM2_PISCES/BLD/bin/nemo.exe ../../../bin/opa ; ) |
---|
[2266] | 127 | |
---|
[4446] | 128 | orca025lim3: ../../modeles/NEMOGCM/CONFIG |
---|
| 129 | (cd ../../modeles/NEMOGCM/CONFIG ; cp ../../../config/IPSLCM6/SOURCES/NEMO/*.*90 ORCA025_LIM3_PISCES/MY_SRC/ ; cp ../../../config/IPSLCM6/SOURCES/NEMO/arch-${FCM_ARCH}.fcm ../ARCH/. ; cp ../../../config/IPSLCM6/SOURCES/NEMO/*.cfg ../TOOLS/COMPILE/. ; ./makenemo -m ${FCM_ARCH} -n ORCA025_LIM3_PISCES -j16 add_key "key_oasis3 key_diahth" del_key "key_mpp_rep key_nosignedzero" ; cp ORCA025_LIM3_PISCES/BLD/bin/nemo.exe ../../../bin/opa ; ) |
---|
| 130 | |
---|
| 131 | orca025lim3nopisces: ../../modeles/NEMOGCM/CONFIG |
---|
| 132 | (cd ../../modeles/NEMOGCM/CONFIG ; cp ../../../config/IPSLCM6/SOURCES/NEMO/*.*90 ORCA025_LIM3_PISCES/MY_SRC/ ; cp ../../../config/IPSLCM6/SOURCES/NEMO/arch-${FCM_ARCH}.fcm ../ARCH/. ; cp ../../../config/IPSLCM6/SOURCES/NEMO/*.cfg ../TOOLS/COMPILE/. ; ./makenemo -m ${FCM_ARCH} -n ORCA025_LIM3 -r ORCA025_LIM3_PISCES -j16 add_key "key_oasis3 key_diahth" del_key "key_mpp_rep key_nosignedzero key_top key_pisces key_age " ; cp ORCA025_LIM3/BLD/bin/nemo.exe ../../../bin/opa ; ) |
---|
| 133 | |
---|
| 134 | |
---|
[1043] | 135 | verif: ../../bin |
---|
[2075] | 136 | ls -l ../../bin |
---|
[396] | 137 | |
---|
[3736] | 138 | clean : cleanioipsl cleanoasis cleanxios cleanorchidee cleannemo cleanlmdz |
---|
[2137] | 139 | rm -rf $(LIBDIR)/* ; rm -f $(BINDIR)/* |
---|
| 140 | |
---|
| 141 | cleannemo : |
---|
| 142 | ../../modeles/NEMOGCM/CONFIG/makenemo clean |
---|
| 143 | rm -f $(BINDIR)/opa |
---|
| 144 | |
---|
| 145 | cleanlmdz : |
---|
| 146 | rm -rf ../../modeles/LMDZ/libo/* ../../modeles/LMDZ/bin/* ../../modeles/LMDZ/.lock |
---|
| 147 | rm -f $(BINDIR)/gcm.e $(BINDIR)/create_etat0_limit.e |
---|
| 148 | |
---|
| 149 | cleanorchidee : |
---|
[2329] | 150 | ( cd ../../modeles/ORCHIDEE ; ./makeorchidee_fcm -clean ) |
---|
[2137] | 151 | rm -f $(BINDIR)/gcm.e |
---|
| 152 | |
---|
| 153 | cleanoasis : |
---|
[2193] | 154 | rm -rf $(OASIS_DIR)/BLD |
---|
[2137] | 155 | rm -f $(BINDIR)/oasis |
---|
| 156 | |
---|
| 157 | cleanxios : |
---|
| 158 | rm -rf ../../modeles/XIOS/bin/ ../../modeles/XIOS/inc ../../modeles/XIOS/obj ../../modeles/XIOS/lib |
---|
| 159 | |
---|
| 160 | cleanioipsl : |
---|
[2876] | 161 | ( cd ../../modeles/IOIPSL/src ; gmake clean ) |
---|
[2137] | 162 | ( cd $(BINDIR) ; rm -f calendar.mod defprec.mod errioipsl.mod flincom.mod fliocom.mod getincom.mod histcom.mod ioipsl.mod libioipsl.a mathelp.mod restcom.mod stringop.mod ) |
---|
[2224] | 163 | |
---|