source: CONFIG/UNIFORM/v6/NEMO_v6/AA_make @ 3871

Last change on this file since 3871 was 3871, checked in by cetlod, 3 years ago

NEMO_v6 : Add tools for compilation

File size: 2.4 KB
Line 
1#- $Id$
2#-
3#- AA_make for IPSLCM5_v4 configuration
4#-
5
6MYSRC_DIR = $(shell /bin/pwd)
7
8all :
9        $(M_K) ORCA1LIM3PISCES
10
11
12ORCA2LIM3PISCES : xios orca2lim3pisces
13
14ORCA1LIM3PISCES : xios orca1lim3pisces
15
16ORCA025LIM3 : xios orca025lim3
17
18ORCA025LIM3PISCES : xios orca025lim3pisces
19
20ORCA2OFFPISCES : xios orca2offpisces
21
22ORCA1OFFPISCES : xios orca1offpisces
23
24xios: ../../modeles/XIOS
25        (cd ../../modeles/XIOS; ./make_xios --arch $(FCM_ARCH) --prod --full  --job 8 ; cp bin/xios_server.exe ../../bin/. ; )
26
27
28orca2lim3pisces:  ../../modeles/NEMOGCM/CONFIG
29        (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 ; )
30
31orca1lim3pisces:  ../../modeles/NEMOGCM/CONFIG
32        (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 ; )
33
34orca025lim3:  ../../modeles/NEMOGCM/CONFIG
35        (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 ; )
36
37orca025lim3pisces:  ../../modeles/NEMOGCM/CONFIG
38        (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 ; )
39
40orca1offpisces:  ../../modeles/NEMOGCM/CONFIG
41        (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 ; )
42
43orca2offpisces:  ../../modeles/NEMOGCM/CONFIG
44        (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 ; )
45
46verif: ../../bin
47        ls -l ../../bin
48
49clean : cleanxios cleannemo
50        rm -rf $(LIBDIR)/* ; rm -f $(BINDIR)/*
51
52cleannemo :
53        ../../modeles/NEMOGCM/CONFIG/makenemo clean
54        rm -f $(BINDIR)/orca*.exe
55
56cleanxios :
57        rm -rf ../../modeles/XIOS/bin/ ../../modeles/XIOS/inc ../../modeles/XIOS/obj ../../modeles/XIOS/lib
Note: See TracBrowser for help on using the repository browser.