[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 | |
---|
[2300] | 22 | ORCA2LIM2xLMD9695-L39 : libioipsl oasis3-mct xios liborchidee orca2lim2 lmdz96x95x39 verif |
---|
[2108] | 23 | echo "ORCA2LIM2xLMD9695-L39" >.resol |
---|
[649] | 24 | echo "RESOL_ATM_3D=96x95x39" >>.resol |
---|
| 25 | echo "$(LIB_MPI)" >.libmpi |
---|
| 26 | |
---|
[2300] | 27 | ORCA2LIM3xLMD9695-L39 : libioipsl oasis3-mct xios liborchidee orca2lim3 lmdz96x95x39 verif |
---|
[2108] | 28 | echo "ORCA2LIM3xLMD9695-L39" >.resol |
---|
[1055] | 29 | echo "RESOL_ATM_3D=96x95x39" >>.resol |
---|
[2105] | 30 | echo "$(LIB_MPI)" >.libmpi |
---|
| 31 | |
---|
[2300] | 32 | ORCA2LIM2xLMD144142-L39 : libioipsl oasis3-mct xios liborchidee orca2lim2 lmdz144x142x39 verif |
---|
[2108] | 33 | echo "ORCA2LIM2xLMD144142-L39" >.resol |
---|
[649] | 34 | echo "RESOL_ATM_3D=144x142x39" >>.resol |
---|
| 35 | echo "$(LIB_MPI)" >.libmpi |
---|
| 36 | |
---|
[2537] | 37 | ORCA1LIM3xLMD9695-L39 : libioipsl oasis3-mct xios liborchidee orca1lim3 lmdz96x95x39 verif |
---|
| 38 | echo "ORCA1LIM3xLMD9695-L39" >.resol |
---|
[2266] | 39 | echo "RESOL_ATM_3D=96x95x39" >>.resol |
---|
| 40 | echo "$(LIB_MPI)" >.libmpi |
---|
| 41 | |
---|
[2537] | 42 | ORCA1LIM3xLMD9695-L39-NOPISCES : libioipsl oasis3-mct xios liborchidee orca1lim3nopisces lmdz96x95x39 verif |
---|
[2224] | 43 | echo "ORCA1LIM3xLMD9695-L39" >.resol |
---|
| 44 | echo "RESOL_ATM_3D=96x95x39" >>.resol |
---|
| 45 | echo "$(LIB_MPI)" >.libmpi |
---|
| 46 | |
---|
[2300] | 47 | ORCA1LIM3xLMD144142-L39 : libioipsl oasis3-mct xios liborchidee orca1lim3 lmdz144x142x39 verif |
---|
[2224] | 48 | echo "ORCA1LIM3xLMD144142-L39" >.resol |
---|
| 49 | echo "RESOL_ATM_3D=144x142x39" >>.resol |
---|
| 50 | echo "$(LIB_MPI)" >.libmpi |
---|
| 51 | |
---|
[2537] | 52 | ORCA1LIM3xLMD144142-L39-NOPISCES : libioipsl oasis3-mct xios liborchidee orca1lim3nopisces lmdz144x142x39 verif |
---|
| 53 | echo "ORCA1LIM3xLMD144142-L39" >.resol |
---|
| 54 | echo "RESOL_ATM_3D=144x142x39" >>.resol |
---|
[2254] | 55 | echo "$(LIB_MPI)" >.libmpi |
---|
| 56 | |
---|
[2300] | 57 | ORCA1LIM3xLMD144142-L79 : libioipsl oasis3-mct xios liborchidee orca1lim3 lmdz144x142x79 verif |
---|
[2279] | 58 | echo "ORCA1LIM3xLMD144142-L79" >.resol |
---|
| 59 | echo "RESOL_ATM_3D=144x142x79" >>.resol |
---|
| 60 | echo "$(LIB_MPI)" >.libmpi |
---|
| 61 | |
---|
[2537] | 62 | ORCA1LIM3xLMD144142-L79-NOPISCES : libioipsl oasis3-mct xios liborchidee orca1lim3nopisces lmdz144x142x79 verif |
---|
[2557] | 63 | echo "ORCA1LIM3xLMD144142-L79-NOPISCES" >.resol |
---|
[2537] | 64 | echo "RESOL_ATM_3D=144x142x79" >>.resol |
---|
| 65 | echo "$(LIB_MPI)" >.libmpi |
---|
| 66 | |
---|
[4141] | 67 | ORCA1LIM3xLMD256256-L79 : libioipsl oasis3-mct xios liborchidee orca1lim3 lmdz256x256x79 verif |
---|
| 68 | echo "ORCA1LIM3xLMD256256-L79" >.resol |
---|
| 69 | echo "RESOL_ATM_3D=256x256x79" >>.resol |
---|
| 70 | echo "$(LIB_MPI)" >.libmpi |
---|
| 71 | |
---|
[1043] | 72 | libioipsl : ../../modeles/IOIPSL/src |
---|
[396] | 73 | (cd ../../modeles/IOIPSL/src ; $(M_K) -f Makefile) |
---|
| 74 | |
---|
[2193] | 75 | oasis3-mct: |
---|
| 76 | (cd $(OASIS_DIR)/util/make_dir ; cp $(MYSRC_DIR)/SOURCES/OASIS3-MCT/make_${FCM_ARCH} make.inc ; make -f TopMakefileOasis3 ; ) |
---|
[396] | 77 | |
---|
[1043] | 78 | liborchidee : ../../modeles/ORCHIDEE/ |
---|
[2876] | 79 | (cd ../../modeles/ORCHIDEE/ ; ./makeorchidee_fcm -parallel mpi_omp -arch $(FCM_ARCH) -j 8 -xios2) |
---|
[396] | 80 | |
---|
[647] | 81 | lmdz96x95x39: |
---|
| 82 | $(M_K) lmdz RESOL_LMDZ=96x95x39 |
---|
[396] | 83 | |
---|
[647] | 84 | lmdz144x142x39: |
---|
| 85 | $(M_K) lmdz RESOL_LMDZ=144x142x39 |
---|
| 86 | |
---|
[2279] | 87 | lmdz144x142x79: |
---|
| 88 | $(M_K) lmdz RESOL_LMDZ=144x142x79 |
---|
| 89 | |
---|
[4141] | 90 | lmdz256x256x79: |
---|
| 91 | $(M_K) lmdz RESOL_LMDZ=256x256x79 |
---|
| 92 | |
---|
[1621] | 93 | lmdz: ../../modeles/LMDZ |
---|
[2974] | 94 | # (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 ; ) |
---|
| 95 | (cd ../../modeles/LMDZ ; ./makelmdz_fcm -d $(RESOL_LMDZ) -mem -cosp true -v true -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] | 96 | |
---|
[2060] | 97 | xios: ../../modeles/XIOS |
---|
[2623] | 98 | (cd ../../modeles/XIOS; ./make_xios --arch $(FCM_ARCH) --prod --use_oasis oasis3_mct --job 8 ; cp bin/xios_server.exe ../../bin/. ; ) |
---|
[396] | 99 | |
---|
[2224] | 100 | orca2lim2: ../../modeles/NEMOGCM/CONFIG |
---|
[2924] | 101 | (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] | 102 | |
---|
[2224] | 103 | orca2lim3: ../../modeles/NEMOGCM/CONFIG |
---|
[2679] | 104 | (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] | 105 | |
---|
[2224] | 106 | orca1lim3: ../../modeles/NEMOGCM/CONFIG |
---|
[2878] | 107 | (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] | 108 | |
---|
[2537] | 109 | orca1lim3nopisces: ../../modeles/NEMOGCM/CONFIG |
---|
[2620] | 110 | (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] | 111 | |
---|
[2266] | 112 | orca1lim2: ../../modeles/NEMOGCM/CONFIG |
---|
[2679] | 113 | (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] | 114 | |
---|
[1043] | 115 | verif: ../../bin |
---|
[2075] | 116 | ls -l ../../bin |
---|
[396] | 117 | |
---|
[3736] | 118 | clean : cleanioipsl cleanoasis cleanxios cleanorchidee cleannemo cleanlmdz |
---|
[2137] | 119 | rm -rf $(LIBDIR)/* ; rm -f $(BINDIR)/* |
---|
| 120 | |
---|
| 121 | cleannemo : |
---|
| 122 | ../../modeles/NEMOGCM/CONFIG/makenemo clean |
---|
| 123 | rm -f $(BINDIR)/opa |
---|
| 124 | |
---|
| 125 | cleanlmdz : |
---|
| 126 | rm -rf ../../modeles/LMDZ/libo/* ../../modeles/LMDZ/bin/* ../../modeles/LMDZ/.lock |
---|
| 127 | rm -f $(BINDIR)/gcm.e $(BINDIR)/create_etat0_limit.e |
---|
| 128 | |
---|
| 129 | cleanorchidee : |
---|
[2329] | 130 | ( cd ../../modeles/ORCHIDEE ; ./makeorchidee_fcm -clean ) |
---|
[2137] | 131 | rm -f $(BINDIR)/gcm.e |
---|
| 132 | |
---|
| 133 | cleanoasis : |
---|
[2193] | 134 | rm -rf $(OASIS_DIR)/BLD |
---|
[2137] | 135 | rm -f $(BINDIR)/oasis |
---|
| 136 | |
---|
| 137 | cleanxios : |
---|
| 138 | rm -rf ../../modeles/XIOS/bin/ ../../modeles/XIOS/inc ../../modeles/XIOS/obj ../../modeles/XIOS/lib |
---|
| 139 | |
---|
| 140 | cleanioipsl : |
---|
[2876] | 141 | ( cd ../../modeles/IOIPSL/src ; gmake clean ) |
---|
[2137] | 142 | ( 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] | 143 | |
---|