#- $Id$ #- #- AA_make for IPSLCM5_v4 configuration #- MYSRC_DIR = $(shell /bin/pwd) all : $(M_K) ORCA1LIM3PISCES ORCA2LIM3PISCES : xios orca2lim3pisces ORCA1LIM3PISCES : xios orca1lim3pisces ORCA025LIM3 : xios orca025lim3 ORCA025LIM3PISCES : xios orca025lim3pisces ORCA2OFFPISCES : xios orca2offpisces ORCA1OFFPISCES : xios orca1offpisces xios: ../../modeles/XIOS (cd ../../modeles/XIOS; ./make_xios --arch $(FCM_ARCH) --prod --full --job 8 ; cp bin/xios_server.exe ../../bin/. ; ) orca2lim3pisces: ../../modeles/NEMOGCM/CONFIG (cd ../../modeles/NEMOGCM/CONFIG; cp ../../../config/NEMO_v6/ARCH/arch-${FCM_ARCH}.fcm ../ARCH/. ; ./makenemo -m ${FCM_ARCH} -n ORCA2_LIM3_PISCES -r ORCA1_LIM3_PISCES -j16 ; cp ORCA2_LIM3_PISCES/BLD/bin/nemo.exe ../../../bin/orca2lim3pisces.exe ; ) orca1lim3pisces: ../../modeles/NEMOGCM/CONFIG (cd ../../modeles/NEMOGCM/CONFIG; cp ../../../config/NEMO_v6/ARCH/arch-${FCM_ARCH}.fcm ../ARCH/. ; ./makenemo -m ${FCM_ARCH} -n ORCA1_LIM3_PISCES -j16 ; cp ORCA1_LIM3_PISCES/BLD/bin/nemo.exe ../../../bin/orca1lim3pisces.exe ; ) orca025lim3: ../../modeles/NEMOGCM/CONFIG (cd ../../modeles/NEMOGCM/CONFIG; cp ../../../config/NEMO_v6/ARCH/arch-${FCM_ARCH}.fcm ../ARCH/. ; ./makenemo -m ${FCM_ARCH} -n eORCA025_LIM3 -j16 ; cp eORCA025_LIM3/BLD/bin/nemo.exe ../../../bin/orca025lim3.exe ; ) orca025lim3pisces: ../../modeles/NEMOGCM/CONFIG (cd ../../modeles/NEMOGCM/CONFIG; cp ../../../config/NEMO_v6/ARCH/arch-${FCM_ARCH}.fcm ../ARCH/. ; ./makenemo -m ${FCM_ARCH} -n eORCA025_LIM3_PISCES -j16 ; cp eORCA025_LIM3_PISCES/BLD/bin/nemo.exe ../../../bin/orca025lim3pisces.exe ; ) orca1offpisces: ../../modeles/NEMOGCM/CONFIG (cd ../../modeles/NEMOGCM/CONFIG; cp ../../../config/NEMO_v6/ARCH/arch-${FCM_ARCH}.fcm ../ARCH/. ; ./makenemo -m ${FCM_ARCH} -n ORCA1_OFF_PISCES -j16 ; cp ORCA1_OFF_PISCES/BLD/bin/nemo.exe ../../../bin/orca1offpisces.exe ; ) orca2offpisces: ../../modeles/NEMOGCM/CONFIG (cd ../../modeles/NEMOGCM/CONFIG; cp ../../../config/NEMO_v6/ARCH/arch-${FCM_ARCH}.fcm ../ARCH/. ; ./makenemo -m ${FCM_ARCH} -n ORCA2_OFF_PISCES -j16 add_key "key_xios2" ; cp ORCA2_OFF_PISCES/BLD/bin/nemo.exe ../../../bin/orca2offpisces.exe ; ) verif: ../../bin ls -l ../../bin clean : cleanxios cleannemo rm -rf $(LIBDIR)/* ; rm -f $(BINDIR)/* cleannemo : ../../modeles/NEMOGCM/CONFIG/makenemo clean rm -f $(BINDIR)/orca*.exe cleanxios : rm -rf ../../modeles/XIOS/bin/ ../../modeles/XIOS/inc ../../modeles/XIOS/obj ../../modeles/XIOS/lib