#- $Id$ #- #- AA_make for LMDZREPR_v6 configuration #- Default resolution is LMD144142-L79 #- The resolution can be changed by using one of the targets here below with capital letters #- For example : #- gmake LMD9695-L39 all : if [ -s ./.resol ] ; then $(M_K) `head -1 .resol |cut -c 8-` ; else $(M_K) LMD144142-L79 ; fi LMD144142-L79 : libioipsl xios lmdz144x142x79 verif echo "noORCAxLMD144142-L79" >.resol echo "RESOL_ATM_3D=144x142x79" >>.resol xios : (cd ../../modeles/XIOS ; ./make_xios \ #-Q- ifort_CICLAD --netcdf_lib netcdf4_seq \ #-Q- gfortran_CICLAD --netcdf_lib netcdf4_seq \ --prod --arch ${FCM_ARCH} --job 4 ; cp bin/xios_server.exe ../../bin/. ; ) libioipsl : ../../modeles/IOIPSL/src (cd ../../modeles/IOIPSL/src ; $(M_K) -f Makefile) lmdz144x142x79: $(M_K) lmdz RESOL_LMDZ=144x142x79 lmdz: ../../modeles/LMDZ #(cd ../../modeles/LMDZ; ./makelmdz_fcm -ext_src ../REPROBUS -cpp REPROBUS -d $(RESOL_LMDZ) -prod -arch $(FCM_ARCH) -j 8 ce0l ; mv bin/ce0l_$(RESOL_LMDZ)_phylmd_seq.e ../../bin/create_etat0_limit.e ; ) (cd ../../modeles/LMDZ; ./makelmdz_fcm -ext_src ../REPROBUS -cpp REPROBUS -d $(RESOL_LMDZ) -prod -mem -cosp false -v false -parallel mpi_omp -arch $(FCM_ARCH) -j 8 -io xios -rrtm true gcm ; mv bin/gcm_$(RESOL_LMDZ)_phylmd_para_mem.e ../../bin/gcm.e ; ) verif: ../../bin ls -lrt ../../bin clean : (rm -rf $(LIBDIR)/* ; rm -rf ../../modeles/LMDZ/libo/* ../../modeles/LMDZ/.lock ; ) (cd ../../modeles/IOIPSL/src ; ${M_K} clean ; ) (rm -rf ../../modeles/XIOS/bin/ ../../modeles/XIOS/inc ../../modeles/XIOS/obj ../../modeles/XIOS/lib ; ) (rm -rf $(BINDIR)/gcm.e ; rm -rf $(BINDIR)/create_etat0_limit.e ; )