source: trunk/WRF.COMMON/WRFV3/modif_mars/dble_preci/configure.wrf @ 2744

Last change on this file since 2744 was 1942, checked in by aslmd, 7 years ago

MESOSCALE (still dysfunctional): saving a hack found to solve the problem with missing PROMOTE_FLOAT precompiling flag in WRF compile script

File size: 20.7 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 i486 i586 i686, ifort compiler with icc  (dmpar)
88#
89#        By default, some files are compiled without optimizations to speed up compilation. Removing
90#        respective makefile rules in the end of this file will result in longer compilation time, and, possibly
91#        Out Of Memory messages, but might produce binaries which are substantially faster.
92#
93#        Please visit http://www.intel.com/support/performancetools/sb/cs-028607.htm
94#        for latest info on how to build WRF with Intel compilers.
95#
96#        If you got Out Of Memory message, there are several options:
97#          1. Check your memory limits (ulimit -a), possibly increasing swap partitions size.
98#          2. Remove any debugging flags (-g, -check, -traceback).
99#          3. Force the problematic file to be compiled with less optimizations (see examples at the
100#             end of this file), try -no-ip compiler flag.
101#
102#        This configuration is aimed at accuracy. To improve performance (at the expence of accuracy) you might
103#        consider removing '-fp-model precise' flag from FCBASEOPTS. This enables non value-safe optimizations.
104#        Another option is to add '-ftz' flag, which flushes denormal results to zero when the application is in
105#        the gradual underflow mode. It may improve performance if the denormal values are not critical to the
106#        behavior of your workload. To further improve performance, add suitable vectorization options for your
107#        processor to FCOPTIM (see ifort manpage).
108#
109#        If you have Intel MPI installed and wish to use instead, make the
110#        following changes to settings below:
111#        DM_FC  = mpiifort
112#        DM_CC  = mpiicc
113#        and source bin64/mpivars.sh file from your Intel MPI installation
114#        before the build.
115
116DMPARALLEL      =        1
117OMPCPP          =       # -D_OPENMP
118OMP             =       # -openmp -fpp -auto
119SFC             =       ifort
120SCC             =       icc
121DM_FC           =       /usr/lib64/openmpi/1.6.5-ifort/bin//mpif90 -f90=$(SFC)
122DM_CC           =       /usr/lib64/openmpi/1.6.5-ifort/bin//mpicc -DMPI2_SUPPORT -cc=$(SCC) -DMPI2_SUPPORT
123FC              =        $(DM_FC)
124CC              =       $(DM_CC) -DFSEEKO64_OK
125LD              =       $(FC)
126RWORDSIZE       =       8 #$(NATIVE_RWORDSIZE)
127PROMOTION       =       -i4 -real-size 64
128ARCH_LOCAL      =       -DNEWPHYS -DNONSTANDARD_SYSTEM_FUNC
129CFLAGS_LOCAL    =       -w -O3 -mcmodel=large -shared-intel -ip
130LDFLAGS_LOCAL   =       -ip
131CPLUSPLUSLIB    =       
132ESMF_LDFLAG     =       $(CPLUSPLUSLIB)
133FCOPTIM         =       -O3 -mcmodel=large -shared-intel
134FCREDUCEDOPT    =       $(FCOPTIM)
135FCNOOPT         =       -O0
136FCDEBUG         =       # -g $(FCNOOPT) -traceback
137FORMAT_FIXED    =       -FI
138FORMAT_FREE     =       -FR
139FCSUFFIX        =
140BYTESWAPIO      =       -convert big_endian
141FCBASEOPTS      =       -w -ftz -align all -fno-alias -fp-model precise $(FCDEBUG) $(FORMAT_FREE) $(BYTESWAPIO)
142MODULE_SRCH_FLAG =     
143TRADFLAG        =      -traditional
144CPP             =      /lib/cpp  -P
145AR              =      ar
146ARFLAGS         =      ru
147M4              =      m4
148RANLIB          =      ranlib
149CC_TOOLS        =      $(SCC)
150
151###########################################################
152######################
153
154ARCHFLAGS       =    $(COREDEFS) -DIWORDSIZE=4 -DDWORDSIZE=8 -DRWORDSIZE=$(RWORDSIZE) -DLWORDSIZE=4 \
155                     $(ARCH_LOCAL) \
156                     $(DA_ARCHFLAGS) \
157                      -DDM_PARALLEL \
158                       \
159                      -DNETCDF \
160                       \
161                       \
162                       \
163                       \
164                       \
165                       \
166                      -DGRIB1 \
167                      -DINTIO \
168                      -DLIMIT_ARGS \
169                      -DCONFIG_BUF_LEN=$(CONFIG_BUF_LEN) \
170                      -DMAX_DOMAINS_F=$(MAX_DOMAINS) \
171                      -DNMM_NEST=$(WRF_NMM_NEST)
172CFLAGS          =    $(CFLAGS_LOCAL) -DDM_PARALLEL
173FCFLAGS         =    $(FCOPTIM) $(FCBASEOPTS) $(OMP)
174ESMF_LIB_FLAGS  =   
175ESMF_IO_LIB     =    $(WRF_SRC_ROOT_DIR)/external/esmf_time_f90/libesmf_time.a
176ESMF_IO_LIB_EXT =    -L$(WRF_SRC_ROOT_DIR)/external/esmf_time_f90/libesmf_time.a
177INCLUDE_MODULES =    $(MODULE_SRCH_FLAG) \
178                     $(ESMF_MOD_INC) $(ESMF_LIB_FLAGS) \
179                      -I$(WRF_SRC_ROOT_DIR)/main \
180                      -I$(WRF_SRC_ROOT_DIR)/external/io_netcdf \
181                      -I$(WRF_SRC_ROOT_DIR)/external/io_int \
182                      -I$(WRF_SRC_ROOT_DIR)/frame \
183                      -I$(WRF_SRC_ROOT_DIR)/share \
184                      -I$(WRF_SRC_ROOT_DIR)/phys \
185                      -I$(WRF_SRC_ROOT_DIR)/chem -I$(WRF_SRC_ROOT_DIR)/inc \
186                      -I/data/spiga/MODELES/LMDZ.COMMON/libo/CICLADifort/.config/inc \
187                       \
188                     
189REGISTRY        =    Registry
190
191LIB_BUNDLED     = \
192                     -L$(WRF_SRC_ROOT_DIR)/external/fftpack/fftpack5 -lfftpack \
193                     -L$(WRF_SRC_ROOT_DIR)/external/io_grib1 -lio_grib1 \
194                     -L$(WRF_SRC_ROOT_DIR)/external/io_grib_share -lio_grib_share \
195                     -L$(WRF_SRC_ROOT_DIR)/external/io_int -lwrfio_int \
196                     $(ESMF_IO_LIB) \
197                     $(ESMF_IO_LIB) \
198                     $(WRF_SRC_ROOT_DIR)/external/RSL_LITE/librsl_lite.a \
199                     $(WRF_SRC_ROOT_DIR)/frame/module_internal_header_util.o \
200                     $(WRF_SRC_ROOT_DIR)/frame/pack_utils.o
201
202LIB_EXTERNAL    = \
203                     $(WRF_SRC_ROOT_DIR)/external/io_netcdf/libwrfio_nf.a -L/opt/netcdf3/ifort/lib -lnetcdf /opt/netcdf3/ifort/lib/libnetcdf.a -L/data/spiga/MODELES/LMDZ.COMMON/libo/CICLADifort/.config/lib -llmdz /data/spiga/MODELES/LMDZ.COMMON/libo/CICLADifort/.config/lib/liblmdz.a
204
205LIB             =    $(LIB_BUNDLED) $(LIB_EXTERNAL) $(LIB_LOCAL)
206LDFLAGS         =    $(OMP) $(FCFLAGS) $(LDFLAGS_LOCAL)
207ENVCOMPDEFS     =   
208WRF_CHEM        =       0
209CPPFLAGS        =    $(ARCHFLAGS) $(ENVCOMPDEFS) -I$(LIBINCLUDE) $(TRADFLAG)
210NETCDFPATH      =    /opt/netcdf3/ifort
211PNETCDFPATH     =   
212
213bundled:  wrf_ioapi_includes wrfio_grib_share wrfio_grib1 wrfio_int esmf_time fftpack
214external:  wrfio_nf   $(WRF_SRC_ROOT_DIR)/external/RSL_LITE/librsl_lite.a gen_comms_rsllite module_dm_rsllite $(ESMF_TARGET)
215
216######################
217externals: bundled external
218
219gen_comms_serial :
220        ( /bin/rm -f $(WRF_SRC_ROOT_DIR)/tools/gen_comms.c )
221
222module_dm_serial :
223        ( if [ ! -e module_dm.F ] ; then /bin/cp module_dm_warning module_dm.F ; cat module_dm_stubs.F >> module_dm.F ; fi )
224
225gen_comms_rsllite :
226        ( if [ ! -e $(WRF_SRC_ROOT_DIR)/tools/gen_comms.c ] ; then \
227          /bin/cp $(WRF_SRC_ROOT_DIR)/tools/gen_comms_warning $(WRF_SRC_ROOT_DIR)/tools/gen_comms.c ; \
228          cat $(WRF_SRC_ROOT_DIR)/external/RSL_LITE/gen_comms.c >> $(WRF_SRC_ROOT_DIR)/tools/gen_comms.c ; fi )
229
230module_dm_rsllite :
231        ( if [ ! -e module_dm.F ] ; then /bin/cp module_dm_warning module_dm.F ; \
232          cat $(WRF_SRC_ROOT_DIR)/external/RSL_LITE/module_dm.F >> module_dm.F ; fi )
233
234wrfio_nf :
235        ( cd $(WRF_SRC_ROOT_DIR)/external/io_netcdf ; \
236          make NETCDFPATH="$(NETCDFPATH)" RANLIB="$(RANLIB)" CPP="$(CPP)" \
237          CC="$(SCC)" CFLAGS="$(CFLAGS)" \
238          FC="$(SFC) $(PROMOTION) $(FCFLAGS)" TRADFLAG="$(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" )
239
240wrfio_pnf :
241        ( cd $(WRF_SRC_ROOT_DIR)/external/io_pnetcdf ; \
242          make NETCDFPATH="$(PNETCDFPATH)" RANLIB="$(RANLIB)" CPP="$(CPP)" \
243          FC="$(FC) $(PROMOTION) $(FCFLAGS)" TRADFLAG="$(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" )
244
245wrfio_grib_share :
246        ( cd $(WRF_SRC_ROOT_DIR)/external/io_grib_share ; \
247          make CC="$(SCC)" CFLAGS="$(CFLAGS)" RM="$(RM)" RANLIB="$(RANLIB)" CPP="$(CPP)" \
248          FC="$(SFC) $(PROMOTION) -I. $(FCDEBUG) $(FCBASEOPTS) $(FCSUFFIX)" TRADFLAG="$(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" archive)
249
250wrfio_grib1 :
251        ( cd $(WRF_SRC_ROOT_DIR)/external/io_grib1 ; \
252          make CC="$(SCC)" CFLAGS="$(CFLAGS)" RM="$(RM)" RANLIB="$(RANLIB)" CPP="$(CPP)" \
253          FC="$(SFC) $(PROMOTION) -I. $(FCDEBUG) $(FCBASEOPTS) $(FCSUFFIX)" TRADFLAG="$(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" archive)
254
255wrfio_grib2 :
256        ( cd $(WRF_SRC_ROOT_DIR)/external/io_grib2 ; \
257          make CC="$(SCC)" CFLAGS="$(CFLAGS) " RM="$(RM)" RANLIB="$(RANLIB)" \
258          CPP="$(CPP)" \
259          FC="$(SFC) $(PROMOTION) -I. $(FCDEBUG) $(FCBASEOPTS) $(FCSUFFIX)" TRADFLAG="-traditional" AR="$(AR)" ARFLAGS="$(ARFLAGS)" \
260          FIXED="$(FORMAT_FIXED)" archive)
261
262wrfio_int :
263        ( cd $(WRF_SRC_ROOT_DIR)/external/io_int ; \
264          make CC="$(CC)" RM="$(RM)" RANLIB="$(RANLIB)" CPP="$(CPP)" \
265          FC="$(SFC) $(PROMOTION) $(FCDEBUG) $(FCBASEOPTS)" \
266          TRADFLAG="$(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" all )
267
268esmf_time :
269        ( cd $(WRF_SRC_ROOT_DIR)/external/esmf_time_f90 ; \
270          make FC="$(SFC) $(PROMOTION) $(FCDEBUG) $(FCBASEOPTS)" RANLIB="$(RANLIB)" \
271          CPP="$(CPP) -I$(WRF_SRC_ROOT_DIR)/inc -I. $(ARCHFLAGS) $(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" )
272
273fftpack :
274        ( cd $(WRF_SRC_ROOT_DIR)/external/fftpack/fftpack5 ; \
275          make FC="$(SFC)" FFLAGS="$(PROMOTION) $(FCDEBUG) $(FCBASEOPTS)" RANLIB="$(RANLIB)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" )
276
277$(WRF_SRC_ROOT_DIR)/external/RSL_LITE/librsl_lite.a :
278        ( cd $(WRF_SRC_ROOT_DIR)/external/RSL_LITE ; make CC="$(CC) $(CFLAGS)" \
279          FC="$(FC) $(FCFLAGS) $(PROMOTION) $(BYTESWAPIO)" \
280          CPP="$(CPP) -I. $(ARCHFLAGS) $(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" ;\
281          $(RANLIB) $(WRF_SRC_ROOT_DIR)/external/RSL_LITE/librsl_lite.a )
282
283######################
284#       Macros, these should be generic for all machines
285
286LN      =       ln -sf
287MAKE    =       make -i -r
288RM      =       rm -f
289
290
291# These sub-directory builds are identical across all architectures
292
293wrf_ioapi_includes :
294        ( cd $(WRF_SRC_ROOT_DIR)/external/ioapi_share ; \
295          $(MAKE) NATIVE_RWORDSIZE="$(NATIVE_RWORDSIZE)" RWORDSIZE="$(RWORDSIZE)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" )
296
297wrfio_esmf :
298        ( cd $(WRF_SRC_ROOT_DIR)/external/io_esmf ; \
299          make FC="$(FC) $(PROMOTION) $(FCDEBUG) $(FCBASEOPTS) $(ESMF_MOD_INC)" \
300          RANLIB="$(RANLIB)" CPP="$(CPP) $(POUND_DEF) " AR="$(AR)" ARFLAGS="$(ARFLAGS)" )
301
302#       There is probably no reason to modify these rules
303
304.F.i:
305        $(RM) $@
306        $(CPP) -I$(WRF_SRC_ROOT_DIR)/inc $(CPPFLAGS) $*.F > $@
307        mv $*.i $(DEVTOP)/pick/$*.f90
308        cp $*.F $(DEVTOP)/pick
309
310.F.o:
311        $(RM) $@
312        $(SED_FTN) $*.F > $*.b
313        $(CPP) -I$(WRF_SRC_ROOT_DIR)/inc $(CPPFLAGS) $*.b  > $*.f90
314        $(RM) $*.b
315        $(FC) -o $@ -c $(FCFLAGS) $(MODULE_DIRS) $(PROMOTION) $(FCSUFFIX) $*.f90
316
317.F.f90:
318        $(RM) $@
319        $(SED_FTN) $*.F > $*.b
320        $(CPP) -I$(WRF_SRC_ROOT_DIR)/inc $(CPPFLAGS) $*.b  > $@
321        $(RM) $*.b
322
323.f90.o:
324        $(RM) $@
325        $(FC) -o $@ -c $(FCFLAGS) $(PROMOTION) $(FCSUFFIX) $*.f90
326
327.c.o:
328        $(RM) $@
329        $(CC) -o $@ -c $(CFLAGS) $*.c
330
331# A little more adventurous.  Allow full opt on
332# mediation_integrate.o \
333# shift_domain_em.o \
334# solve_em.o  <-- gets a little kick from SOLVE_EM_SPECIAL too, if defined
335# mediation_feedback_domain.o : mediation_feedback_domain.F
336# mediation_force_domain.o : mediation_force_domain.F
337# mediation_interp_domain.o : mediation_interp_domain.F
338
339# compile these without high optimization to speed compile
340convert_nmm.o : convert_nmm.F
341init_modules_em.o : init_modules_em.F
342input_wrf.o : input_wrf.F
343module_io.o : module_io.F
344module_comm_dm.o : module_comm_dm.F
345module_configure.o : module_configure.F
346module_dm.o : module_dm.F
347module_domain.o : module_domain.F
348module_domain_type.o : module_domain_type.F
349module_alloc_space.o : module_alloc_space.F
350module_tiles.o : module_tiles.F
351module_fddaobs_rtfdda.o : module_fddaobs_rtfdda.F
352module_initialize.o : module_initialize.F
353module_physics_init.o : module_physics_init.F
354module_initialize_b_wave.o : module_initialize_b_wave.F
355module_initialize_hill2d_x.o : module_initialize_hill2d_x.F
356module_initialize_quarter_ss.o : module_initialize_quarter_ss.F
357module_initialize_real.o : module_initialize_real.F
358module_initialize_real.o: module_initialize_real.F
359module_initialize_squall2d_x.o : module_initialize_squall2d_x.F
360module_initialize_squall2d_y.o : module_initialize_squall2d_y.F
361module_integrate.o : module_integrate.F
362module_io_mm5.o : module_io_mm5.F
363module_io_wrf.o : module_io_wrf.F
364module_si_io.o : module_si_io.F
365module_state_description.o : module_state_description.F
366output_wrf.o : output_wrf.F
367solve_interface.o : solve_interface.F
368start_domain.o : start_domain.F
369start_domain_nmm.o : start_domain_nmm.F
370start_em.o : start_em.F
371wrf_auxhist10in.o : wrf_auxhist10in.F
372wrf_auxhist10out.o : wrf_auxhist10out.F
373wrf_auxhist11in.o : wrf_auxhist11in.F
374wrf_auxhist11out.o : wrf_auxhist11out.F
375wrf_auxhist1in.o : wrf_auxhist1in.F
376wrf_auxhist1out.o : wrf_auxhist1out.F
377wrf_auxhist2in.o : wrf_auxhist2in.F
378wrf_auxhist2out.o : wrf_auxhist2out.F
379wrf_auxhist3in.o : wrf_auxhist3in.F
380wrf_auxhist3out.o : wrf_auxhist3out.F
381wrf_auxhist4in.o : wrf_auxhist4in.F
382wrf_auxhist4out.o : wrf_auxhist4out.F
383wrf_auxhist5in.o : wrf_auxhist5in.F
384wrf_auxhist5out.o : wrf_auxhist5out.F
385wrf_auxhist6in.o : wrf_auxhist6in.F
386wrf_auxhist6out.o : wrf_auxhist6out.F
387wrf_auxhist7in.o : wrf_auxhist7in.F
388wrf_auxhist7out.o : wrf_auxhist7out.F
389wrf_auxhist8in.o : wrf_auxhist8in.F
390wrf_auxhist8out.o : wrf_auxhist8out.F
391wrf_auxhist9in.o : wrf_auxhist9in.F
392wrf_auxhist9out.o : wrf_auxhist9out.F
393wrf_auxinput10in.o : wrf_auxinput10in.F
394wrf_auxinput10out.o : wrf_auxinput10out.F
395wrf_auxinput11in.o : wrf_auxinput11in.F
396wrf_auxinput11out.o : wrf_auxinput11out.F
397wrf_auxinput1in.o : wrf_auxinput1in.F
398wrf_auxinput1out.o : wrf_auxinput1out.F
399wrf_auxinput2in.o : wrf_auxinput2in.F
400wrf_auxinput2out.o : wrf_auxinput2out.F
401wrf_auxinput3in.o : wrf_auxinput3in.F
402wrf_auxinput3out.o : wrf_auxinput3out.F
403wrf_auxinput4in.o : wrf_auxinput4in.F
404wrf_auxinput4out.o : wrf_auxinput4out.F
405wrf_auxinput5in.o : wrf_auxinput5in.F
406wrf_auxinput5out.o : wrf_auxinput5out.F
407wrf_auxinput6in.o : wrf_auxinput6in.F
408wrf_auxinput6out.o : wrf_auxinput6out.F
409wrf_auxinput7in.o : wrf_auxinput7in.F
410wrf_auxinput7out.o : wrf_auxinput7out.F
411wrf_auxinput8in.o : wrf_auxinput8in.F
412wrf_auxinput8out.o : wrf_auxinput8out.F
413wrf_auxinput9in.o : wrf_auxinput9in.F
414wrf_auxinput9out.o : wrf_auxinput9out.F
415wrf_bdyin.o : wrf_bdyin.F
416wrf_bdyout.o : wrf_bdyout.F
417wrf_ext_read_field.o : wrf_ext_read_field.F
418wrf_ext_write_field.o : wrf_ext_write_field.F
419wrf_fddaobs_in.o : wrf_fddaobs_in.F
420wrf_histin.o : wrf_histin.F
421wrf_histout.o : wrf_histout.F
422wrf_inputin.o : wrf_inputin.F
423wrf_inputout.o : wrf_inputout.F
424wrf_restartin.o : wrf_restartin.F
425wrf_restartout.o : wrf_restartout.F
426wrf_tsin.o : wrf_tsin.F
427nl_get_0_routines.o : nl_get_0_routines.F
428nl_get_1_routines.o : nl_get_1_routines.F
429nl_set_0_routines.o : nl_set_0_routines.F
430nl_set_1_routines.o : nl_set_1_routines.F
431
432convert_nmm.o \
433init_modules_em.o \
434module_comm_dm.o \
435module_dm.o \
436module_alloc_space.o \
437module_fddaobs_rtfdda.o \
438module_initialize.o \
439module_initialize_b_wave.o \
440module_initialize_hill2d_x.o \
441module_initialize_quarter_ss.o \
442module_initialize_real.o \
443module_initialize_squall2d_x.o \
444module_initialize_squall2d_y.o \
445module_integrate.o \
446module_io_mm5.o \
447module_io_wrf.o \
448module_si_io.o \
449module_tiles.o \
450output_wrf.o \
451solve_interface.o \
452start_domain.o \
453start_domain_nmm.o \
454start_em.o \
455wrf_fddaobs_in.o \
456wrf_tsin.o :
457        $(RM) $@
458        $(SED_FTN) $*.F > $*.b
459        $(CPP) -I$(WRF_SRC_ROOT_DIR)/inc $(CPPFLAGS) $(OMPCPP) $*.b  > $*.f90
460        $(RM) $*.b
461        $(FC) -c $(PROMOTION) $(FCNOOPT) $(FCBASEOPTS) $(MODULE_DIRS) $(FCSUFFIX) $(OMP) $*.f90
462
463#solve_em.o :
464#       $(RM) $@
465#       $(SED_FTN) $*.F > $*.b
466#       $(CPP) -I$(WRF_SRC_ROOT_DIR)/inc $(CPPFLAGS) $*.b  > $*.f90
467#       $(RM) $*.b
468#       $(FC) -o $@ -c $(FCFLAGS) $(MODULE_DIRS) $(PROMOTION) $(FCSUFFIX) $(SOLVE_EM_SPECIAL) $(OMP) $*.f90
469
470module_sf_ruclsm.o : module_sf_ruclsm.F
471module_cu_kf.o : module_cu_kf.F
472
473module_sf_ruclsm.o module_cu_kf.o :
474        $(RM) $@
475        $(SED_FTN) $*.F > $*.b
476        $(CPP) -I$(WRF_SRC_ROOT_DIR)/inc $(CPPFLAGS) $(OMPCPP) $*.b  > $*.f90
477        $(RM) $*.b
478        $(FC) -c $(PROMOTION) $(FCREDUCEDOPT) $(FCBASEOPTS) $(MODULE_DIRS) $(FCSUFFIX) $(OMP) $*.f90
479
480# compile without OMP
481input_wrf.o \
482module_domain.o \
483module_domain_type.o \
484module_physics_init.o \
485module_io.o \
486wrf_auxhist10in.o \
487wrf_auxhist10out.o \
488wrf_auxhist11in.o \
489wrf_auxhist11out.o \
490wrf_auxhist1in.o \
491wrf_auxhist1out.o \
492wrf_auxhist2in.o \
493wrf_auxhist2out.o \
494wrf_auxhist3in.o \
495wrf_auxhist3out.o \
496wrf_auxhist4in.o \
497wrf_auxhist4out.o \
498wrf_auxhist5in.o \
499wrf_auxhist5out.o \
500wrf_auxhist6in.o \
501wrf_auxhist6out.o \
502wrf_auxhist7in.o \
503wrf_auxhist7out.o \
504wrf_auxhist8in.o \
505wrf_auxhist8out.o \
506wrf_auxhist9in.o \
507wrf_auxhist9out.o \
508wrf_auxinput10in.o \
509wrf_auxinput10out.o \
510wrf_auxinput11in.o \
511wrf_auxinput11out.o \
512wrf_auxinput1in.o \
513wrf_auxinput1out.o \
514wrf_auxinput2in.o \
515wrf_auxinput2out.o \
516wrf_auxinput3in.o \
517wrf_auxinput3out.o \
518wrf_auxinput4in.o \
519wrf_auxinput4out.o \
520wrf_auxinput5in.o \
521wrf_auxinput5out.o \
522wrf_auxinput6in.o \
523wrf_auxinput6out.o \
524wrf_auxinput7in.o \
525wrf_auxinput7out.o \
526wrf_auxinput8in.o \
527wrf_auxinput8out.o \
528wrf_auxinput9in.o \
529wrf_auxinput9out.o \
530wrf_bdyin.o \
531wrf_bdyout.o \
532wrf_ext_read_field.o \
533wrf_ext_write_field.o \
534wrf_histin.o \
535wrf_histout.o \
536wrf_inputin.o \
537wrf_inputout.o \
538wrf_restartin.o \
539wrf_restartout.o \
540module_state_description.o \
541nl_set_0_routines.o \
542nl_set_1_routines.o \
543nl_get_0_routines.o \
544nl_get_1_routines.o \
545module_configure.o :
546        $(RM) $@
547        $(SED_FTN) $*.F > $*.b
548        $(CPP) -I$(WRF_SRC_ROOT_DIR)/inc $(CPPFLAGS) $(OMPCPP) $*.b  > $*.f90
549        $(RM) $*.b
550        $(FC) -c $(PROMOTION) $(FCSUFFIX) $(FCNOOPT) $(FCBASEOPTS) $(MODULE_DIRS) $*.f90
Note: See TracBrowser for help on using the repository browser.