source: CONFIG/LMDZREPR/branches/LMDZREPR_v1/AA_make @ 1598

Last change on this file since 1598 was 1598, checked in by jgipsl, 10 years ago

Added new configuration with LMDZ and REPROBUS. Only compiling part is done for now.

File size: 688 bytes
Line 
1#- $Id$
2
3
4all :
5        if [ -s ./.resol ] ; then $(M_K) `head -1 .resol` ; else gmake LMD9695-L39 ; fi
6
7
8LMD9695-L39 : libioipsl lmdz96x95x39 verif
9        echo "LMD9695-L39" >.resol
10        echo "RESOL_ATM_3D=96x95x39" >>.resol
11
12
13libioipsl :
14        (cd ../../modeles/IOIPSL/src ; $(M_K) -f Makefile)
15
16
17
18lmdz96x95x39:
19        $(M_K) lmdz RESOL_LMDZ=96x95x39
20
21lmdz:
22        (cd ../../modeles/LMDZ; ./makelmdz_fcm -ext_src ../REPROBUS -cpp REPROBUS -d $(RESOL_LMDZ) -parallel mpi -arch $(FCM_ARCH) -cosp true gcm ; cp bin/gcm_$(RESOL_LMDZ)_phylmd_para.e ../../bin/gcm.e ; )
23
24
25verif:
26        ls -l ../../bin
27
28clean :
29        (rm -rf $(LIBDIR)/* ; rm -f $(BINDIR)/* ; rm -rf ../../modeles/LMDZ/libo/* ../../modeles/LMDZ/.lock ; rm -fr .resol ; )
Note: See TracBrowser for help on using the repository browser.