source: trunk/MESOSCALE/LMD_LES_MARS/modif_mars/res/configure.wrf_dmsm @ 134

Last change on this file since 134 was 17, checked in by aslmd, 14 years ago

spiga:mineur

File size: 18.9 KB
Line 
1# configure.wrf
2#
3# This file was automatically generated by the configure script in the
4# top level directory. You may make changes to the settings in this
5# file but be aware they will be overwritten each time you run configure.
6# Ordinarily, it is necessary to run configure once, when the code is
7# first installed.
8#
9# To permanently change options, change the settings for your platform
10# in the file arch/configure.defaults then rerun configure.
11#
12SHELL           =       /bin/sh
13DEVTOP          =       `pwd`
14LIBINCLUDE      =       .
15.SUFFIXES: .F .i .o .f90 .c
16
17#### Get core settings from environment (set in compile script)
18#### Note to add a core, this has to be added to.
19
20COREDEFS = -DEM_CORE=$(WRF_EM_CORE) \
21           -DNMM_CORE=$(WRF_NMM_CORE) -DNMM_MAX_DIM=2600 \
22           -DCOAMPS_CORE=$(WRF_COAMPS_CORE) \
23           -DDA_CORE=$(WRF_DA_CORE) \
24           -DEXP_CORE=$(WRF_EXP_CORE)
25
26#### Single location for defining total number of domains.  You need
27#### at least 1 + 2*(number of total nests).  For example, 1 coarse
28#### grid + three fine grids = 1 + 2(3) = 7, so MAX_DOMAINS=7.
29
30MAX_DOMAINS     =       21
31
32#### DM buffer length for the configuration flags.
33
34CONFIG_BUF_LEN  =       32768
35
36
37##############################################################################
38#### The settings in this section are defaults that may be overridden by the
39#### architecture-specific settings in the next section. 
40##############################################################################
41
42##############################################################################
43#### NOTE:  Do not modify these default values here.  To override these
44####        values, make changes after "Architecture specific settings". 
45##############################################################################
46
47#### Native size (in bytes) of Fortran REAL data type on this architecture ####
48#### Note:  to change real wordsize (for example, to promote REALs from
49####        4-byte to 8-byte), modify the definition of RWORDSIZE in the
50####        section following "Architecture specific settings".  Do not
51####        change NATIVE_RWORDSIZE as is it architecture-specific. 
52NATIVE_RWORDSIZE = 4
53
54#### Default sed command and script for Fortran source files ####
55#SED_FTN = sed -f $(WRF_SRC_ROOT_DIR)/arch/standard.sed
56SED_FTN = $(WRF_SRC_ROOT_DIR)/tools/standard.exe
57
58# Hack to work around $(PWD) not changing during OSF1 build. 
59# $(IO_GRIB_SHARE_DIR) is reset during the OSF1 build only. 
60IO_GRIB_SHARE_DIR =
61
62#### ESMF switches                 ####
63#### These are set up by Config.pl ####
64# switch to use separately installed ESMF library for coupling:  1==true
65ESMF_COUPLING       = 0
66# select dependences on module_utility.o
67ESMF_MOD_DEPENDENCE = $(WRF_SRC_ROOT_DIR)/external/esmf_time_f90/module_utility.o
68# select -I options for external/io_esmf vs. external/esmf_time_f90
69ESMF_IO_INC         = -I$(WRF_SRC_ROOT_DIR)/external/esmf_time_f90
70# select -I options for separately installed ESMF library, if present
71ESMF_MOD_INC        =  $(ESMF_IO_INC)
72# select cpp token for external/io_esmf vs. external/esmf_time_f90
73ESMF_IO_DEFS        =
74# select build target for external/io_esmf vs. external/esmf_time_f90
75ESMF_TARGET         = esmf_time
76
77##############################################################################
78
79LIBWRFLIB = libwrflib.a
80
81
82#### Architecture specific settings ####
83
84# To enable over-decompostion with dmpar and dm+sm compiles,
85# add -DALLOW_OVERDECOMP to ARCH_LOCAL, below. (not recommended)
86
87# Settings for Linux x86_64, PGI compiler with gcc  (dm+sm)
88#
89DMPARALLEL      =        1
90OMPCPP          =        -D_OPENMP
91OMP             =        -mp=nonuma -Minfo=mp
92SFC             =       pgf90
93SCC             =       gcc
94DM_FC           =       /donnees/aslmd/MODELES/MPI/mpich2-1.0.8/bin/mpif90 -f90=$(SFC)
95DM_CC           =       /donnees/aslmd/MODELES/MPI/mpich2-1.0.8/bin/mpicc -cc=$(SCC) -DMPI2_SUPPORT -DMPI2_THREAD_SUPPORT
96FC              =        $(DM_FC)
97CC              =       $(DM_CC) -DFSEEKO64_OK
98LD              =       $(FC)
99RWORDSIZE       =       $(NATIVE_RWORDSIZE)
100PROMOTION       =       -r$(RWORDSIZE) -i4
101ARCH_LOCAL      =       -DNONSTANDARD_SYSTEM_SUBR
102CFLAGS_LOCAL    =       -w -O3
103LDFLAGS_LOCAL   =       
104CPLUSPLUSLIB    =       
105ESMF_LDFLAG     =       $(CPLUSPLUSLIB)
106FCOPTIM         =       -fastsse -Mvect=noaltcode -Msmartalloc -Mprefetch=distance:8 -Mfprelaxed # -Minfo=all =Mneginfo=all
107FCREDUCEDOPT    =       $(FCOPTIM)
108FCNOOPT         =       -O0
109FCDEBUG         =       # -g $(FCNOOPT)
110FORMAT_FIXED    =       -Mfixed
111FORMAT_FREE     =       -Mfree
112FCSUFFIX        =
113BYTESWAPIO      =       -byteswapio
114FCBASEOPTS      =       -w $(FCDEBUG) $(FORMAT_FREE) $(BYTESWAPIO)
115MODULE_SRCH_FLAG =     -module $(WRF_SRC_ROOT_DIR)/main
116TRADFLAG        =      -traditional
117CPP             =      /lib/cpp -C -P
118AR              =      ar
119ARFLAGS         =      ru
120M4              =      m4 -B 14000
121RANLIB          =      ranlib
122CC_TOOLS        =      $(SCC)
123
124###########################################################
125######################
126
127ARCHFLAGS       =    $(COREDEFS) -DIWORDSIZE=4 -DDWORDSIZE=8 -DRWORDSIZE=$(RWORDSIZE) -DLWORDSIZE=4 \
128                     $(ARCH_LOCAL) \
129                     $(DA_ARCHFLAGS) \
130                      -DDM_PARALLEL \
131                       \
132                      -DNETCDF \
133                       \
134                       \
135                       \
136                       \
137                       \
138                       \
139                      -DGRIB1 \
140                      -DINTIO \
141                      -DLIMIT_ARGS \
142                      -DCONFIG_BUF_LEN=$(CONFIG_BUF_LEN) \
143                      -DMAX_DOMAINS_F=$(MAX_DOMAINS) \
144                      -DNMM_NEST=$(WRF_NMM_NEST)
145CFLAGS          =    $(CFLAGS_LOCAL) -DDM_PARALLEL
146FCFLAGS         =    $(FCOPTIM) $(FCBASEOPTS) $(OMP)
147ESMF_LIB_FLAGS  =   
148ESMF_IO_LIB     =    $(WRF_SRC_ROOT_DIR)/external/esmf_time_f90/libesmf_time.a
149ESMF_IO_LIB_EXT =    -L$(WRF_SRC_ROOT_DIR)/external/esmf_time_f90/libesmf_time.a
150INCLUDE_MODULES =    $(MODULE_SRCH_FLAG) \
151                     $(ESMF_MOD_INC) $(ESMF_LIB_FLAGS) \
152                      -I$(WRF_SRC_ROOT_DIR)/main \
153                      -I$(WRF_SRC_ROOT_DIR)/external/io_netcdf \
154                      -I$(WRF_SRC_ROOT_DIR)/external/io_int \
155                      -I$(WRF_SRC_ROOT_DIR)/frame \
156                      -I$(WRF_SRC_ROOT_DIR)/share \
157                      -I$(WRF_SRC_ROOT_DIR)/phys \
158                      -I$(WRF_SRC_ROOT_DIR)/chem -I$(WRF_SRC_ROOT_DIR)/inc \
159                       \
160                     
161REGISTRY        =    Registry
162
163LIB_BUNDLED     = \
164                     -L$(WRF_SRC_ROOT_DIR)/external/fftpack/fftpack5 -lfftpack \
165                     -L$(WRF_SRC_ROOT_DIR)/external/io_grib1 -lio_grib1 \
166                     -L$(WRF_SRC_ROOT_DIR)/external/io_grib_share -lio_grib_share \
167                     -L$(WRF_SRC_ROOT_DIR)/external/io_int -lwrfio_int \
168                     $(ESMF_IO_LIB) \
169                     $(ESMF_IO_LIB) \
170                     $(WRF_SRC_ROOT_DIR)/external/RSL_LITE/librsl_lite.a \
171                     $(WRF_SRC_ROOT_DIR)/frame/module_internal_header_util.o \
172                     $(WRF_SRC_ROOT_DIR)/frame/pack_utils.o
173
174LIB_EXTERNAL    = \
175                     $(WRF_SRC_ROOT_DIR)/external/io_netcdf/libwrfio_nf.a -L/donnees/aslmd/MODELES/NETCDF/pgf90_64/netcdf-3.6.1/lib -lnetcdf   
176
177LIB_LMD         = \
178                     -L/donnees/aslmd/MODELES/LMD_MM_MARS/mpi_64/WRFV2/mars_lmd/libo -llmd
179
180LIB             =    $(LIB_BUNDLED) $(LIB_EXTERNAL) $(LIB_LOCAL) $(LIB_LMD)
181LDFLAGS         =    $(OMP) $(FCFLAGS) $(LDFLAGS_LOCAL)
182ENVCOMPDEFS     =   
183WRF_CHEM        =       0
184CPPFLAGS        =    $(ARCHFLAGS) $(ENVCOMPDEFS) -I$(LIBINCLUDE) $(TRADFLAG)
185NETCDFPATH      =    /donnees/aslmd/MODELES/NETCDF/pgf90_64/netcdf-3.6.1
186PNETCDFPATH     =   
187
188bundled:  wrf_ioapi_includes wrfio_grib_share wrfio_grib1 wrfio_int esmf_time fftpack
189external:  wrfio_nf   $(WRF_SRC_ROOT_DIR)/external/RSL_LITE/librsl_lite.a gen_comms_rsllite module_dm_rsllite $(ESMF_TARGET)
190
191######################
192externals: bundled external
193
194gen_comms_serial :
195        ( /bin/rm -f $(WRF_SRC_ROOT_DIR)/tools/gen_comms.c )
196
197module_dm_serial :
198        ( if [ ! -e module_dm.F ] ; then /bin/cp module_dm_warning module_dm.F ; cat module_dm_stubs.F >> module_dm.F ; fi )
199
200gen_comms_rsllite :
201        ( if [ ! -e $(WRF_SRC_ROOT_DIR)/tools/gen_comms.c ] ; then \
202          /bin/cp $(WRF_SRC_ROOT_DIR)/tools/gen_comms_warning $(WRF_SRC_ROOT_DIR)/tools/gen_comms.c ; \
203          cat $(WRF_SRC_ROOT_DIR)/external/RSL_LITE/gen_comms.c >> $(WRF_SRC_ROOT_DIR)/tools/gen_comms.c ; fi )
204
205module_dm_rsllite :
206        ( if [ ! -e module_dm.F ] ; then /bin/cp module_dm_warning module_dm.F ; \
207          cat $(WRF_SRC_ROOT_DIR)/external/RSL_LITE/module_dm.F >> module_dm.F ; fi )
208
209wrfio_nf :
210        ( cd $(WRF_SRC_ROOT_DIR)/external/io_netcdf ; \
211          make NETCDFPATH="$(NETCDFPATH)" RANLIB="$(RANLIB)" CPP="$(CPP)" \
212          CC="$(SCC)" CFLAGS="$(CFLAGS)" \
213          FC="$(SFC) $(PROMOTION) $(FCFLAGS)" TRADFLAG="$(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" )
214
215wrfio_pnf :
216        ( cd $(WRF_SRC_ROOT_DIR)/external/io_pnetcdf ; \
217          make NETCDFPATH="$(PNETCDFPATH)" RANLIB="$(RANLIB)" CPP="$(CPP)" \
218          FC="$(FC) $(PROMOTION) $(FCFLAGS)" TRADFLAG="$(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" )
219
220wrfio_grib_share :
221        ( cd $(WRF_SRC_ROOT_DIR)/external/io_grib_share ; \
222          make CC="$(SCC)" CFLAGS="$(CFLAGS)" RM="$(RM)" RANLIB="$(RANLIB)" CPP="$(CPP)" \
223          FC="$(SFC) $(PROMOTION) -I. $(FCDEBUG) $(FCBASEOPTS) $(FCSUFFIX)" TRADFLAG="$(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" archive)
224
225wrfio_grib1 :
226        ( cd $(WRF_SRC_ROOT_DIR)/external/io_grib1 ; \
227          make CC="$(SCC)" CFLAGS="$(CFLAGS)" RM="$(RM)" RANLIB="$(RANLIB)" CPP="$(CPP)" \
228          FC="$(SFC) $(PROMOTION) -I. $(FCDEBUG) $(FCBASEOPTS) $(FCSUFFIX)" TRADFLAG="$(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" archive)
229
230wrfio_grib2 :
231        ( cd $(WRF_SRC_ROOT_DIR)/external/io_grib2 ; \
232          make CC="$(SCC)" CFLAGS="$(CFLAGS) " RM="$(RM)" RANLIB="$(RANLIB)" \
233          CPP="$(CPP)" \
234          FC="$(SFC) $(PROMOTION) -I. $(FCDEBUG) $(FCBASEOPTS) $(FCSUFFIX)" TRADFLAG="-traditional" AR="$(AR)" ARFLAGS="$(ARFLAGS)" \
235          FIXED="$(FORMAT_FIXED)" archive)
236
237wrfio_int :
238        ( cd $(WRF_SRC_ROOT_DIR)/external/io_int ; \
239          make CC="$(CC)" RM="$(RM)" RANLIB="$(RANLIB)" CPP="$(CPP)" \
240          FC="$(SFC) $(PROMOTION) $(FCDEBUG) $(FCBASEOPTS)" \
241          TRADFLAG="$(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" all )
242
243esmf_time :
244        ( cd $(WRF_SRC_ROOT_DIR)/external/esmf_time_f90 ; \
245          make FC="$(SFC) $(PROMOTION) $(FCDEBUG) $(FCBASEOPTS)" RANLIB="$(RANLIB)" \
246          CPP="$(CPP) -I$(WRF_SRC_ROOT_DIR)/inc -I. $(ARCHFLAGS) $(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" )
247
248fftpack :
249        ( cd $(WRF_SRC_ROOT_DIR)/external/fftpack/fftpack5 ; \
250          make FC="$(SFC)" FFLAGS="$(PROMOTION) $(FCDEBUG) $(FCBASEOPTS)" RANLIB="$(RANLIB)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" )
251
252$(WRF_SRC_ROOT_DIR)/external/RSL_LITE/librsl_lite.a :
253        ( cd $(WRF_SRC_ROOT_DIR)/external/RSL_LITE ; make CC="$(CC) $(CFLAGS)" \
254          FC="$(FC) $(FCFLAGS) $(PROMOTION) $(BYTESWAPIO)" \
255          CPP="$(CPP) -I. $(ARCHFLAGS) $(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" ;\
256          $(RANLIB) $(WRF_SRC_ROOT_DIR)/external/RSL_LITE/librsl_lite.a )
257
258######################
259#       Macros, these should be generic for all machines
260
261LN      =       ln -sf
262MAKE    =       make -i -r
263RM      =       rm -f
264
265
266# These sub-directory builds are identical across all architectures
267
268wrf_ioapi_includes :
269        ( cd $(WRF_SRC_ROOT_DIR)/external/ioapi_share ; \
270          $(MAKE) NATIVE_RWORDSIZE="$(NATIVE_RWORDSIZE)" RWORDSIZE="$(RWORDSIZE)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" )
271
272wrfio_esmf :
273        ( cd $(WRF_SRC_ROOT_DIR)/external/io_esmf ; \
274          make FC="$(FC) $(PROMOTION) $(FCDEBUG) $(FCBASEOPTS) $(ESMF_MOD_INC)" \
275          RANLIB="$(RANLIB)" CPP="$(CPP) $(POUND_DEF) " AR="$(AR)" ARFLAGS="$(ARFLAGS)" )
276
277#       There is probably no reason to modify these rules
278
279.F.i:
280        $(RM) $@
281        $(CPP) -I$(WRF_SRC_ROOT_DIR)/inc $(CPPFLAGS) $*.F > $@
282        mv $*.i $(DEVTOP)/pick/$*.f90
283        cp $*.F $(DEVTOP)/pick
284
285.F.o:
286        $(RM) $@
287        $(SED_FTN) $*.F > $*.b
288        $(CPP) -I$(WRF_SRC_ROOT_DIR)/inc $(CPPFLAGS) $*.b  > $*.f90
289        $(RM) $*.b
290        $(FC) -o $@ -c $(FCFLAGS) $(MODULE_DIRS) $(PROMOTION) $(FCSUFFIX) $*.f90
291
292.F.f90:
293        $(RM) $@
294        $(SED_FTN) $*.F > $*.b
295        $(CPP) -I$(WRF_SRC_ROOT_DIR)/inc $(CPPFLAGS) $*.b  > $@
296        $(RM) $*.b
297
298.f90.o:
299        $(RM) $@
300        $(FC) -o $@ -c $(FCFLAGS) $(PROMOTION) $(FCSUFFIX) $*.f90
301
302.c.o:
303        $(RM) $@
304        $(CC) -o $@ -c $(CFLAGS) $*.c
305
306# A little more adventurous.  Allow full opt on
307# mediation_integrate.o \
308# shift_domain_em.o \
309# solve_em.o  <-- gets a little kick from SOLVE_EM_SPECIAL too, if defined
310# mediation_feedback_domain.o : mediation_feedback_domain.F
311# mediation_force_domain.o : mediation_force_domain.F
312# mediation_interp_domain.o : mediation_interp_domain.F
313
314# compile these without high optimization to speed compile
315convert_nmm.o : convert_nmm.F
316init_modules_em.o : init_modules_em.F
317input_wrf.o : input_wrf.F
318module_io.o : module_io.F
319module_comm_dm.o : module_comm_dm.F
320module_configure.o : module_configure.F
321module_dm.o : module_dm.F
322module_domain.o : module_domain.F
323module_domain_type.o : module_domain_type.F
324module_alloc_space.o : module_alloc_space.F
325module_tiles.o : module_tiles.F
326module_fddaobs_rtfdda.o : module_fddaobs_rtfdda.F
327module_initialize.o : module_initialize.F
328module_physics_init.o : module_physics_init.F
329module_initialize_b_wave.o : module_initialize_b_wave.F
330module_initialize_hill2d_x.o : module_initialize_hill2d_x.F
331module_initialize_quarter_ss.o : module_initialize_quarter_ss.F
332module_initialize_real.o : module_initialize_real.F
333module_initialize_real.o: module_initialize_real.F
334module_initialize_squall2d_x.o : module_initialize_squall2d_x.F
335module_initialize_squall2d_y.o : module_initialize_squall2d_y.F
336module_integrate.o : module_integrate.F
337module_io_mm5.o : module_io_mm5.F
338module_io_wrf.o : module_io_wrf.F
339module_si_io.o : module_si_io.F
340module_state_description.o : module_state_description.F
341output_wrf.o : output_wrf.F
342solve_interface.o : solve_interface.F
343start_domain.o : start_domain.F
344start_domain_nmm.o : start_domain_nmm.F
345start_em.o : start_em.F
346wrf_auxhist10in.o : wrf_auxhist10in.F
347wrf_auxhist10out.o : wrf_auxhist10out.F
348wrf_auxhist11in.o : wrf_auxhist11in.F
349wrf_auxhist11out.o : wrf_auxhist11out.F
350wrf_auxhist1in.o : wrf_auxhist1in.F
351wrf_auxhist1out.o : wrf_auxhist1out.F
352wrf_auxhist2in.o : wrf_auxhist2in.F
353wrf_auxhist2out.o : wrf_auxhist2out.F
354wrf_auxhist3in.o : wrf_auxhist3in.F
355wrf_auxhist3out.o : wrf_auxhist3out.F
356wrf_auxhist4in.o : wrf_auxhist4in.F
357wrf_auxhist4out.o : wrf_auxhist4out.F
358wrf_auxhist5in.o : wrf_auxhist5in.F
359wrf_auxhist5out.o : wrf_auxhist5out.F
360wrf_auxhist6in.o : wrf_auxhist6in.F
361wrf_auxhist6out.o : wrf_auxhist6out.F
362wrf_auxhist7in.o : wrf_auxhist7in.F
363wrf_auxhist7out.o : wrf_auxhist7out.F
364wrf_auxhist8in.o : wrf_auxhist8in.F
365wrf_auxhist8out.o : wrf_auxhist8out.F
366wrf_auxhist9in.o : wrf_auxhist9in.F
367wrf_auxhist9out.o : wrf_auxhist9out.F
368wrf_auxinput10in.o : wrf_auxinput10in.F
369wrf_auxinput10out.o : wrf_auxinput10out.F
370wrf_auxinput11in.o : wrf_auxinput11in.F
371wrf_auxinput11out.o : wrf_auxinput11out.F
372wrf_auxinput1in.o : wrf_auxinput1in.F
373wrf_auxinput1out.o : wrf_auxinput1out.F
374wrf_auxinput2in.o : wrf_auxinput2in.F
375wrf_auxinput2out.o : wrf_auxinput2out.F
376wrf_auxinput3in.o : wrf_auxinput3in.F
377wrf_auxinput3out.o : wrf_auxinput3out.F
378wrf_auxinput4in.o : wrf_auxinput4in.F
379wrf_auxinput4out.o : wrf_auxinput4out.F
380wrf_auxinput5in.o : wrf_auxinput5in.F
381wrf_auxinput5out.o : wrf_auxinput5out.F
382wrf_auxinput6in.o : wrf_auxinput6in.F
383wrf_auxinput6out.o : wrf_auxinput6out.F
384wrf_auxinput7in.o : wrf_auxinput7in.F
385wrf_auxinput7out.o : wrf_auxinput7out.F
386wrf_auxinput8in.o : wrf_auxinput8in.F
387wrf_auxinput8out.o : wrf_auxinput8out.F
388wrf_auxinput9in.o : wrf_auxinput9in.F
389wrf_auxinput9out.o : wrf_auxinput9out.F
390wrf_bdyin.o : wrf_bdyin.F
391wrf_bdyout.o : wrf_bdyout.F
392wrf_ext_read_field.o : wrf_ext_read_field.F
393wrf_ext_write_field.o : wrf_ext_write_field.F
394wrf_fddaobs_in.o : wrf_fddaobs_in.F
395wrf_histin.o : wrf_histin.F
396wrf_histout.o : wrf_histout.F
397wrf_inputin.o : wrf_inputin.F
398wrf_inputout.o : wrf_inputout.F
399wrf_restartin.o : wrf_restartin.F
400wrf_restartout.o : wrf_restartout.F
401wrf_tsin.o : wrf_tsin.F
402nl_get_0_routines.o : nl_get_0_routines.F
403nl_get_1_routines.o : nl_get_1_routines.F
404nl_set_0_routines.o : nl_set_0_routines.F
405nl_set_1_routines.o : nl_set_1_routines.F
406
407convert_nmm.o \
408init_modules_em.o \
409module_comm_dm.o \
410module_dm.o \
411module_alloc_space.o \
412module_fddaobs_rtfdda.o \
413module_initialize.o \
414module_initialize_b_wave.o \
415module_initialize_hill2d_x.o \
416module_initialize_quarter_ss.o \
417module_initialize_real.o \
418module_initialize_squall2d_x.o \
419module_initialize_squall2d_y.o \
420module_integrate.o \
421module_io_mm5.o \
422module_io_wrf.o \
423module_si_io.o \
424module_tiles.o \
425output_wrf.o \
426solve_interface.o \
427start_domain.o \
428start_domain_nmm.o \
429start_em.o \
430wrf_fddaobs_in.o \
431wrf_tsin.o :
432        $(RM) $@
433        $(SED_FTN) $*.F > $*.b
434        $(CPP) -I$(WRF_SRC_ROOT_DIR)/inc $(CPPFLAGS) $(OMPCPP) $*.b  > $*.f90
435        $(RM) $*.b
436        $(FC) -c $(PROMOTION) $(FCNOOPT) $(FCBASEOPTS) $(MODULE_DIRS) $(FCSUFFIX) $(OMP) $*.f90
437
438#solve_em.o :
439#       $(RM) $@
440#       $(SED_FTN) $*.F > $*.b
441#       $(CPP) -I$(WRF_SRC_ROOT_DIR)/inc $(CPPFLAGS) $*.b  > $*.f90
442#       $(RM) $*.b
443#       $(FC) -o $@ -c $(FCFLAGS) $(MODULE_DIRS) $(PROMOTION) $(FCSUFFIX) $(SOLVE_EM_SPECIAL) $(OMP) $*.f90
444
445module_sf_ruclsm.o : module_sf_ruclsm.F
446module_cu_kf.o : module_cu_kf.F
447
448module_sf_ruclsm.o module_cu_kf.o :
449        $(RM) $@
450        $(SED_FTN) $*.F > $*.b
451        $(CPP) -I$(WRF_SRC_ROOT_DIR)/inc $(CPPFLAGS) $(OMPCPP) $*.b  > $*.f90
452        $(RM) $*.b
453        $(FC) -c $(PROMOTION) $(FCREDUCEDOPT) $(FCBASEOPTS) $(MODULE_DIRS) $(FCSUFFIX) $(OMP) $*.f90
454
455# compile without OMP
456input_wrf.o \
457module_domain.o \
458module_domain_type.o \
459module_physics_init.o \
460module_io.o \
461wrf_auxhist10in.o \
462wrf_auxhist10out.o \
463wrf_auxhist11in.o \
464wrf_auxhist11out.o \
465wrf_auxhist1in.o \
466wrf_auxhist1out.o \
467wrf_auxhist2in.o \
468wrf_auxhist2out.o \
469wrf_auxhist3in.o \
470wrf_auxhist3out.o \
471wrf_auxhist4in.o \
472wrf_auxhist4out.o \
473wrf_auxhist5in.o \
474wrf_auxhist5out.o \
475wrf_auxhist6in.o \
476wrf_auxhist6out.o \
477wrf_auxhist7in.o \
478wrf_auxhist7out.o \
479wrf_auxhist8in.o \
480wrf_auxhist8out.o \
481wrf_auxhist9in.o \
482wrf_auxhist9out.o \
483wrf_auxinput10in.o \
484wrf_auxinput10out.o \
485wrf_auxinput11in.o \
486wrf_auxinput11out.o \
487wrf_auxinput1in.o \
488wrf_auxinput1out.o \
489wrf_auxinput2in.o \
490wrf_auxinput2out.o \
491wrf_auxinput3in.o \
492wrf_auxinput3out.o \
493wrf_auxinput4in.o \
494wrf_auxinput4out.o \
495wrf_auxinput5in.o \
496wrf_auxinput5out.o \
497wrf_auxinput6in.o \
498wrf_auxinput6out.o \
499wrf_auxinput7in.o \
500wrf_auxinput7out.o \
501wrf_auxinput8in.o \
502wrf_auxinput8out.o \
503wrf_auxinput9in.o \
504wrf_auxinput9out.o \
505wrf_bdyin.o \
506wrf_bdyout.o \
507wrf_ext_read_field.o \
508wrf_ext_write_field.o \
509wrf_histin.o \
510wrf_histout.o \
511wrf_inputin.o \
512wrf_inputout.o \
513wrf_restartin.o \
514wrf_restartout.o \
515module_state_description.o \
516nl_set_0_routines.o \
517nl_set_1_routines.o \
518nl_get_0_routines.o \
519nl_get_1_routines.o \
520module_configure.o :
521        $(RM) $@
522        $(SED_FTN) $*.F > $*.b
523        $(CPP) -I$(WRF_SRC_ROOT_DIR)/inc $(CPPFLAGS) $(OMPCPP) $*.b  > $*.f90
524        $(RM) $*.b
525        $(FC) -c $(PROMOTION) $(FCSUFFIX) $(FCNOOPT) $(FCBASEOPTS) $(MODULE_DIRS) $*.f90
Note: See TracBrowser for help on using the repository browser.