source: trunk/mesoscale/LMD_LES_MARS/modif_mars/res/configure.wrf_dm @ 113

Last change on this file since 113 was 17, checked in by aslmd, 15 years ago

spiga:mineur

File size: 18.8 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  (dmpar)
88#
89DMPARALLEL      =        1
90OMPCPP          =       # -D_OPENMP
91OMP             =       # -mp -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
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 -L/donnees/aslmd/MODELES/LMD_MM_MARS/mpi_64/WRFV2/mars_lmd/libo -llmd   
176
177LIB             =    $(LIB_BUNDLED) $(LIB_EXTERNAL) $(LIB_LOCAL)
178LDFLAGS         =    $(OMP) $(FCFLAGS) $(LDFLAGS_LOCAL)
179ENVCOMPDEFS     =   
180WRF_CHEM        =       0
181CPPFLAGS        =    $(ARCHFLAGS) $(ENVCOMPDEFS) -I$(LIBINCLUDE) $(TRADFLAG)
182NETCDFPATH      =    /donnees/aslmd/MODELES/NETCDF/pgf90_64/netcdf-3.6.1
183PNETCDFPATH     =   
184
185bundled:  wrf_ioapi_includes wrfio_grib_share wrfio_grib1 wrfio_int esmf_time fftpack
186external:  wrfio_nf   $(WRF_SRC_ROOT_DIR)/external/RSL_LITE/librsl_lite.a gen_comms_rsllite module_dm_rsllite $(ESMF_TARGET)
187
188######################
189externals: bundled external
190
191gen_comms_serial :
192        ( /bin/rm -f $(WRF_SRC_ROOT_DIR)/tools/gen_comms.c )
193
194module_dm_serial :
195        ( if [ ! -e module_dm.F ] ; then /bin/cp module_dm_warning module_dm.F ; cat module_dm_stubs.F >> module_dm.F ; fi )
196
197gen_comms_rsllite :
198        ( if [ ! -e $(WRF_SRC_ROOT_DIR)/tools/gen_comms.c ] ; then \
199          /bin/cp $(WRF_SRC_ROOT_DIR)/tools/gen_comms_warning $(WRF_SRC_ROOT_DIR)/tools/gen_comms.c ; \
200          cat $(WRF_SRC_ROOT_DIR)/external/RSL_LITE/gen_comms.c >> $(WRF_SRC_ROOT_DIR)/tools/gen_comms.c ; fi )
201
202module_dm_rsllite :
203        ( if [ ! -e module_dm.F ] ; then /bin/cp module_dm_warning module_dm.F ; \
204          cat $(WRF_SRC_ROOT_DIR)/external/RSL_LITE/module_dm.F >> module_dm.F ; fi )
205
206wrfio_nf :
207        ( cd $(WRF_SRC_ROOT_DIR)/external/io_netcdf ; \
208          make NETCDFPATH="$(NETCDFPATH)" RANLIB="$(RANLIB)" CPP="$(CPP)" \
209          CC="$(SCC)" CFLAGS="$(CFLAGS)" \
210          FC="$(SFC) $(PROMOTION) $(FCFLAGS)" TRADFLAG="$(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" )
211
212wrfio_pnf :
213        ( cd $(WRF_SRC_ROOT_DIR)/external/io_pnetcdf ; \
214          make NETCDFPATH="$(PNETCDFPATH)" RANLIB="$(RANLIB)" CPP="$(CPP)" \
215          FC="$(FC) $(PROMOTION) $(FCFLAGS)" TRADFLAG="$(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" )
216
217wrfio_grib_share :
218        ( cd $(WRF_SRC_ROOT_DIR)/external/io_grib_share ; \
219          make CC="$(SCC)" CFLAGS="$(CFLAGS)" RM="$(RM)" RANLIB="$(RANLIB)" CPP="$(CPP)" \
220          FC="$(SFC) $(PROMOTION) -I. $(FCDEBUG) $(FCBASEOPTS) $(FCSUFFIX)" TRADFLAG="$(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" archive)
221
222wrfio_grib1 :
223        ( cd $(WRF_SRC_ROOT_DIR)/external/io_grib1 ; \
224          make CC="$(SCC)" CFLAGS="$(CFLAGS)" RM="$(RM)" RANLIB="$(RANLIB)" CPP="$(CPP)" \
225          FC="$(SFC) $(PROMOTION) -I. $(FCDEBUG) $(FCBASEOPTS) $(FCSUFFIX)" TRADFLAG="$(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" archive)
226
227wrfio_grib2 :
228        ( cd $(WRF_SRC_ROOT_DIR)/external/io_grib2 ; \
229          make CC="$(SCC)" CFLAGS="$(CFLAGS) " RM="$(RM)" RANLIB="$(RANLIB)" \
230          CPP="$(CPP)" \
231          FC="$(SFC) $(PROMOTION) -I. $(FCDEBUG) $(FCBASEOPTS) $(FCSUFFIX)" TRADFLAG="-traditional" AR="$(AR)" ARFLAGS="$(ARFLAGS)" \
232          FIXED="$(FORMAT_FIXED)" archive)
233
234wrfio_int :
235        ( cd $(WRF_SRC_ROOT_DIR)/external/io_int ; \
236          make CC="$(CC)" RM="$(RM)" RANLIB="$(RANLIB)" CPP="$(CPP)" \
237          FC="$(SFC) $(PROMOTION) $(FCDEBUG) $(FCBASEOPTS)" \
238          TRADFLAG="$(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" all )
239
240esmf_time :
241        ( cd $(WRF_SRC_ROOT_DIR)/external/esmf_time_f90 ; \
242          make FC="$(SFC) $(PROMOTION) $(FCDEBUG) $(FCBASEOPTS)" RANLIB="$(RANLIB)" \
243          CPP="$(CPP) -I$(WRF_SRC_ROOT_DIR)/inc -I. $(ARCHFLAGS) $(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" )
244
245fftpack :
246        ( cd $(WRF_SRC_ROOT_DIR)/external/fftpack/fftpack5 ; \
247          make FC="$(SFC)" FFLAGS="$(PROMOTION) $(FCDEBUG) $(FCBASEOPTS)" RANLIB="$(RANLIB)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" )
248
249$(WRF_SRC_ROOT_DIR)/external/RSL_LITE/librsl_lite.a :
250        ( cd $(WRF_SRC_ROOT_DIR)/external/RSL_LITE ; make CC="$(CC) $(CFLAGS)" \
251          FC="$(FC) $(FCFLAGS) $(PROMOTION) $(BYTESWAPIO)" \
252          CPP="$(CPP) -I. $(ARCHFLAGS) $(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" ;\
253          $(RANLIB) $(WRF_SRC_ROOT_DIR)/external/RSL_LITE/librsl_lite.a )
254
255######################
256#       Macros, these should be generic for all machines
257
258LN      =       ln -sf
259MAKE    =       make -i -r
260RM      =       rm -f
261
262
263# These sub-directory builds are identical across all architectures
264
265wrf_ioapi_includes :
266        ( cd $(WRF_SRC_ROOT_DIR)/external/ioapi_share ; \
267          $(MAKE) NATIVE_RWORDSIZE="$(NATIVE_RWORDSIZE)" RWORDSIZE="$(RWORDSIZE)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" )
268
269wrfio_esmf :
270        ( cd $(WRF_SRC_ROOT_DIR)/external/io_esmf ; \
271          make FC="$(FC) $(PROMOTION) $(FCDEBUG) $(FCBASEOPTS) $(ESMF_MOD_INC)" \
272          RANLIB="$(RANLIB)" CPP="$(CPP) $(POUND_DEF) " AR="$(AR)" ARFLAGS="$(ARFLAGS)" )
273
274#       There is probably no reason to modify these rules
275
276.F.i:
277        $(RM) $@
278        $(CPP) -I$(WRF_SRC_ROOT_DIR)/inc $(CPPFLAGS) $*.F > $@
279        mv $*.i $(DEVTOP)/pick/$*.f90
280        cp $*.F $(DEVTOP)/pick
281
282.F.o:
283        $(RM) $@
284        $(SED_FTN) $*.F > $*.b
285        $(CPP) -I$(WRF_SRC_ROOT_DIR)/inc $(CPPFLAGS) $*.b  > $*.f90
286        $(RM) $*.b
287        $(FC) -o $@ -c $(FCFLAGS) $(MODULE_DIRS) $(PROMOTION) $(FCSUFFIX) $*.f90
288
289.F.f90:
290        $(RM) $@
291        $(SED_FTN) $*.F > $*.b
292        $(CPP) -I$(WRF_SRC_ROOT_DIR)/inc $(CPPFLAGS) $*.b  > $@
293        $(RM) $*.b
294
295.f90.o:
296        $(RM) $@
297        $(FC) -o $@ -c $(FCFLAGS) $(PROMOTION) $(FCSUFFIX) $*.f90
298
299.c.o:
300        $(RM) $@
301        $(CC) -o $@ -c $(CFLAGS) $*.c
302
303# A little more adventurous.  Allow full opt on
304# mediation_integrate.o \
305# shift_domain_em.o \
306# solve_em.o  <-- gets a little kick from SOLVE_EM_SPECIAL too, if defined
307# mediation_feedback_domain.o : mediation_feedback_domain.F
308# mediation_force_domain.o : mediation_force_domain.F
309# mediation_interp_domain.o : mediation_interp_domain.F
310
311# compile these without high optimization to speed compile
312convert_nmm.o : convert_nmm.F
313init_modules_em.o : init_modules_em.F
314input_wrf.o : input_wrf.F
315module_io.o : module_io.F
316module_comm_dm.o : module_comm_dm.F
317module_configure.o : module_configure.F
318module_dm.o : module_dm.F
319module_domain.o : module_domain.F
320module_domain_type.o : module_domain_type.F
321module_alloc_space.o : module_alloc_space.F
322module_tiles.o : module_tiles.F
323module_fddaobs_rtfdda.o : module_fddaobs_rtfdda.F
324module_initialize.o : module_initialize.F
325module_physics_init.o : module_physics_init.F
326module_initialize_b_wave.o : module_initialize_b_wave.F
327module_initialize_hill2d_x.o : module_initialize_hill2d_x.F
328module_initialize_quarter_ss.o : module_initialize_quarter_ss.F
329module_initialize_real.o : module_initialize_real.F
330module_initialize_real.o: module_initialize_real.F
331module_initialize_squall2d_x.o : module_initialize_squall2d_x.F
332module_initialize_squall2d_y.o : module_initialize_squall2d_y.F
333module_integrate.o : module_integrate.F
334module_io_mm5.o : module_io_mm5.F
335module_io_wrf.o : module_io_wrf.F
336module_si_io.o : module_si_io.F
337module_state_description.o : module_state_description.F
338output_wrf.o : output_wrf.F
339solve_interface.o : solve_interface.F
340start_domain.o : start_domain.F
341start_domain_nmm.o : start_domain_nmm.F
342start_em.o : start_em.F
343wrf_auxhist10in.o : wrf_auxhist10in.F
344wrf_auxhist10out.o : wrf_auxhist10out.F
345wrf_auxhist11in.o : wrf_auxhist11in.F
346wrf_auxhist11out.o : wrf_auxhist11out.F
347wrf_auxhist1in.o : wrf_auxhist1in.F
348wrf_auxhist1out.o : wrf_auxhist1out.F
349wrf_auxhist2in.o : wrf_auxhist2in.F
350wrf_auxhist2out.o : wrf_auxhist2out.F
351wrf_auxhist3in.o : wrf_auxhist3in.F
352wrf_auxhist3out.o : wrf_auxhist3out.F
353wrf_auxhist4in.o : wrf_auxhist4in.F
354wrf_auxhist4out.o : wrf_auxhist4out.F
355wrf_auxhist5in.o : wrf_auxhist5in.F
356wrf_auxhist5out.o : wrf_auxhist5out.F
357wrf_auxhist6in.o : wrf_auxhist6in.F
358wrf_auxhist6out.o : wrf_auxhist6out.F
359wrf_auxhist7in.o : wrf_auxhist7in.F
360wrf_auxhist7out.o : wrf_auxhist7out.F
361wrf_auxhist8in.o : wrf_auxhist8in.F
362wrf_auxhist8out.o : wrf_auxhist8out.F
363wrf_auxhist9in.o : wrf_auxhist9in.F
364wrf_auxhist9out.o : wrf_auxhist9out.F
365wrf_auxinput10in.o : wrf_auxinput10in.F
366wrf_auxinput10out.o : wrf_auxinput10out.F
367wrf_auxinput11in.o : wrf_auxinput11in.F
368wrf_auxinput11out.o : wrf_auxinput11out.F
369wrf_auxinput1in.o : wrf_auxinput1in.F
370wrf_auxinput1out.o : wrf_auxinput1out.F
371wrf_auxinput2in.o : wrf_auxinput2in.F
372wrf_auxinput2out.o : wrf_auxinput2out.F
373wrf_auxinput3in.o : wrf_auxinput3in.F
374wrf_auxinput3out.o : wrf_auxinput3out.F
375wrf_auxinput4in.o : wrf_auxinput4in.F
376wrf_auxinput4out.o : wrf_auxinput4out.F
377wrf_auxinput5in.o : wrf_auxinput5in.F
378wrf_auxinput5out.o : wrf_auxinput5out.F
379wrf_auxinput6in.o : wrf_auxinput6in.F
380wrf_auxinput6out.o : wrf_auxinput6out.F
381wrf_auxinput7in.o : wrf_auxinput7in.F
382wrf_auxinput7out.o : wrf_auxinput7out.F
383wrf_auxinput8in.o : wrf_auxinput8in.F
384wrf_auxinput8out.o : wrf_auxinput8out.F
385wrf_auxinput9in.o : wrf_auxinput9in.F
386wrf_auxinput9out.o : wrf_auxinput9out.F
387wrf_bdyin.o : wrf_bdyin.F
388wrf_bdyout.o : wrf_bdyout.F
389wrf_ext_read_field.o : wrf_ext_read_field.F
390wrf_ext_write_field.o : wrf_ext_write_field.F
391wrf_fddaobs_in.o : wrf_fddaobs_in.F
392wrf_histin.o : wrf_histin.F
393wrf_histout.o : wrf_histout.F
394wrf_inputin.o : wrf_inputin.F
395wrf_inputout.o : wrf_inputout.F
396wrf_restartin.o : wrf_restartin.F
397wrf_restartout.o : wrf_restartout.F
398wrf_tsin.o : wrf_tsin.F
399nl_get_0_routines.o : nl_get_0_routines.F
400nl_get_1_routines.o : nl_get_1_routines.F
401nl_set_0_routines.o : nl_set_0_routines.F
402nl_set_1_routines.o : nl_set_1_routines.F
403
404convert_nmm.o \
405init_modules_em.o \
406module_comm_dm.o \
407module_dm.o \
408module_alloc_space.o \
409module_fddaobs_rtfdda.o \
410module_initialize.o \
411module_initialize_b_wave.o \
412module_initialize_hill2d_x.o \
413module_initialize_quarter_ss.o \
414module_initialize_real.o \
415module_initialize_squall2d_x.o \
416module_initialize_squall2d_y.o \
417module_integrate.o \
418module_io_mm5.o \
419module_io_wrf.o \
420module_si_io.o \
421module_tiles.o \
422output_wrf.o \
423solve_interface.o \
424start_domain.o \
425start_domain_nmm.o \
426start_em.o \
427wrf_fddaobs_in.o \
428wrf_tsin.o :
429        $(RM) $@
430        $(SED_FTN) $*.F > $*.b
431        $(CPP) -I$(WRF_SRC_ROOT_DIR)/inc $(CPPFLAGS) $(OMPCPP) $*.b  > $*.f90
432        $(RM) $*.b
433        $(FC) -c $(PROMOTION) $(FCNOOPT) $(FCBASEOPTS) $(MODULE_DIRS) $(FCSUFFIX) $(OMP) $*.f90
434
435#solve_em.o :
436#       $(RM) $@
437#       $(SED_FTN) $*.F > $*.b
438#       $(CPP) -I$(WRF_SRC_ROOT_DIR)/inc $(CPPFLAGS) $*.b  > $*.f90
439#       $(RM) $*.b
440#       $(FC) -o $@ -c $(FCFLAGS) $(MODULE_DIRS) $(PROMOTION) $(FCSUFFIX) $(SOLVE_EM_SPECIAL) $(OMP) $*.f90
441
442module_sf_ruclsm.o : module_sf_ruclsm.F
443module_cu_kf.o : module_cu_kf.F
444
445module_sf_ruclsm.o module_cu_kf.o :
446        $(RM) $@
447        $(SED_FTN) $*.F > $*.b
448        $(CPP) -I$(WRF_SRC_ROOT_DIR)/inc $(CPPFLAGS) $(OMPCPP) $*.b  > $*.f90
449        $(RM) $*.b
450        $(FC) -c $(PROMOTION) $(FCREDUCEDOPT) $(FCBASEOPTS) $(MODULE_DIRS) $(FCSUFFIX) $(OMP) $*.f90
451
452# compile without OMP
453input_wrf.o \
454module_domain.o \
455module_domain_type.o \
456module_physics_init.o \
457module_io.o \
458wrf_auxhist10in.o \
459wrf_auxhist10out.o \
460wrf_auxhist11in.o \
461wrf_auxhist11out.o \
462wrf_auxhist1in.o \
463wrf_auxhist1out.o \
464wrf_auxhist2in.o \
465wrf_auxhist2out.o \
466wrf_auxhist3in.o \
467wrf_auxhist3out.o \
468wrf_auxhist4in.o \
469wrf_auxhist4out.o \
470wrf_auxhist5in.o \
471wrf_auxhist5out.o \
472wrf_auxhist6in.o \
473wrf_auxhist6out.o \
474wrf_auxhist7in.o \
475wrf_auxhist7out.o \
476wrf_auxhist8in.o \
477wrf_auxhist8out.o \
478wrf_auxhist9in.o \
479wrf_auxhist9out.o \
480wrf_auxinput10in.o \
481wrf_auxinput10out.o \
482wrf_auxinput11in.o \
483wrf_auxinput11out.o \
484wrf_auxinput1in.o \
485wrf_auxinput1out.o \
486wrf_auxinput2in.o \
487wrf_auxinput2out.o \
488wrf_auxinput3in.o \
489wrf_auxinput3out.o \
490wrf_auxinput4in.o \
491wrf_auxinput4out.o \
492wrf_auxinput5in.o \
493wrf_auxinput5out.o \
494wrf_auxinput6in.o \
495wrf_auxinput6out.o \
496wrf_auxinput7in.o \
497wrf_auxinput7out.o \
498wrf_auxinput8in.o \
499wrf_auxinput8out.o \
500wrf_auxinput9in.o \
501wrf_auxinput9out.o \
502wrf_bdyin.o \
503wrf_bdyout.o \
504wrf_ext_read_field.o \
505wrf_ext_write_field.o \
506wrf_histin.o \
507wrf_histout.o \
508wrf_inputin.o \
509wrf_inputout.o \
510wrf_restartin.o \
511wrf_restartout.o \
512module_state_description.o \
513nl_set_0_routines.o \
514nl_set_1_routines.o \
515nl_get_0_routines.o \
516nl_get_1_routines.o \
517module_configure.o :
518        $(RM) $@
519        $(SED_FTN) $*.F > $*.b
520        $(CPP) -I$(WRF_SRC_ROOT_DIR)/inc $(CPPFLAGS) $(OMPCPP) $*.b  > $*.f90
521        $(RM) $*.b
522        $(FC) -c $(PROMOTION) $(FCSUFFIX) $(FCNOOPT) $(FCBASEOPTS) $(MODULE_DIRS) $*.f90
Note: See TracBrowser for help on using the repository browser.