source: CONFIG/NEMO_XMLIO_SERVER/Makefile @ 19

Last change on this file since 19 was 19, checked in by ymipsl, 14 years ago

Ajout de la config NEMO-XMLIO_SERVER

  • Property svn:eol-style set to native
File size: 2.3 KB
Line 
1#- $Id$
2#---------------------------------------------------------------------
3#- Initialisations for IPSLCM5 configuration
4#---------------------------------------------------------------------
5SHELL = /bin/sh
6#---------------------------------------------------------------------
7LIBDIR = ../../lib
8BINDIR = ../../bin
9MODDIR = $(LIBDIR)
10#---------------------------------------------------------------------
11#-
12#-
13#- $Id: AA_make.gdef 514 2009-01-13 11:53:52Z rblod $
14#-
15#- Global definitions for NEC SX8 at CCRT
16LIB_MPI = MPI1
17LIB_MPI_BIS = MPI1
18PRISM_ARCH = SX
19PRISM_NAME = mercure
20FCM_ARCH = SX8_MERCURE
21M_K = sxgmake
22P_C = cpp
23P_O = -P -C $(P_P)
24F_C = sxmpif90 -c
25F_D =
26F_P = -dW -Wf\"-A idbl4\"
27F_O = $(F_D) $(F_P) -Ep -DCPP_PARA -size_t64 -Wf,"-pvctl loopcnt=999999" -I $(MODDIR)
28F_L = sxmpif90
29M_M = 1
30L_X = 0
31L_O = -size_t64 $(F_P)
32A_C = sxar -rv
33A_G = sxar -x
34A_X = sxar -rv
35C_C = sxcc -size_t64 -c
36C_O =
37C_L = sxcc -size_t64
38FC_C = gcc -c
39FC_O =
40FC_L = gcc
41#-
42NCDF_INC = /usr/local/SX8/soft/netcdf/include
43NCDF_LIB = -L/usr/local/SX8/soft/netcdf/lib -lnetcdf
44#-
45RM      = rm -f
46STRIP   = strip
47SIZE    = size
48#- $Id$
49#-
50#- AA_make for  NEMO_XMLIO_SERVER configuration
51#-
52LIBXMLIO_DIR = ../../lib/libxmlio_server
53
54all : libioipsl xmlf90 xmlioserver orca2 verif
55
56libioipsl :
57        (cd ../../modeles/IOIPSL/src ; $(M_K) -f Makefile)
58
59orca2:
60        (cd ../../modeles/NEMO/WORK; $(M_K) USER_INC='-I../$(LIBXMLIO_DIR)' USER_LIB='-L../$(LIBXMLIO_DIR) -lioserver -lxmlio -lxmlf90' P_P='key_trabbl_dif key_vectopt_loop key_vectopt_memory key_orca_r2 key_lim2 key_dynspg_flt key_diaeiv key_ldfslp key_traldf_c2d key_traldf_eiv key_dynldf_c3d key_dtatem key_dtasal key_tradmp key_trabbc key_zdftke key_zdfddm key_xmlio key_ioserver key_mpp_mpi' ; )
61
62xmlf90: 
63        (cd ../../modeles/XMLF90; ./configure -arch $(FCM_ARCH); fcm build; mkdir -p  $(LIBXMLIO_DIR) ; cd $(LIBXMLIO_DIR) ; ln -sf ../../modeles/XMLF90/lib/*.a .; ln -sf ../../modeles/XMLF90/inc/*.mod .)
64
65xmlioserver:
66        (cd ../../modeles/XMLIO_SERVER; ./configure -arch $(FCM_ARCH) ; fcm build;  mkdir -p $(LIBXMLIO_DIR) ; cd $(LIBXMLIO_DIR) ; ln -sf ../../modeles/XMLIO_SERVER/lib/*.a . ; ln -sf ../../modeles/XMLIO_SERVER/inc/* . ; cd $(BINDIR) ; ln -sf ../modeles/XMLIO_SERVER/bin/server.exe ioserver)
67
68verif:
69        ls -l ../../bin
70
71clean :
72        (rm -rf $(LIBDIR)/* ; rm -f $(BINDIR)/* )
Note: See TracBrowser for help on using the repository browser.