[Wrf-users] WRFvar compilation Problem

jagabandhu panda jagabandhu at gmail.com
Mon Feb 8 23:01:39 MST 2010


Hi Gil

after you configure the wrf-var go to the directory
WRFDA_V3.1.1/var/da/makedepf90-2.8.8 and then type ./configure

after that come back to the WRFDA_V3.1.1 directory and compile the code. I
think that would solve your problem.

best wishes
Jagabandhu


> Message: 2
> Date: Thu, 4 Feb 2010 11:04:48 -0500 (CST)
> From: Gil Capote Mastrapa <gcapote at cubaenergia.cu>
> Subject: [Wrf-users] WRFvar compilation Problem
> To: wrf-users at ucar.edu
> Message-ID:
>        <29573069.3631265299488754.JavaMail.root at zimbra.cubaenergia.cu>
> Content-Type: text/plain; charset="utf-8"
>
> In these days I have been trying to install the WRFVAR model on my pc . I
> followed all steps in the last tutorial online. The code is not running
> correctly, as it only creates some executables and not the main ones. I have
> some experience working with the WRF, which I have version 3.1.1 installed,
> but I've never worked with WRFvar. I unzip the WRFvar file in a separate
> folder, and use the configuration options mentioned in the guide
> (./Configure wrfda,./Compile all_wrfvar)
>  my configuration is: PGI 7.0-5 for linux, netcdf 4.0 , linux x86, BLAS ,
> LAPACK and BUFR libraries installed in usr/local/BLAS , usr/local/......
> etc.
>
>  configure output:
>
> ------------------------------------------------------------------------------------------------------
>
> [
> root at ren7 WRFDA_V3.1.1]# ./configure wrfda
> checking for perl5... no
> checking for perl... found /usr/bin/perl (perl)
> Will use NETCDF in dir: /usr/local
> PHDF5 not set in environment. Will configure WRF for use without.
> Configuring to use jasper library to build Grib2 I/O...
>  $JASPERLIB = /usr/local/lib
>  $JASPERINC = /usr/local/include
> ------------------------------------------------------------------------
> Please select from among the following supported platforms.
>
>   1.  Linux i486 i586 i686, gfortran compiler with gcc  (serial)
>   2.  Linux i486 i586 i686, gfortran compiler with gcc  (smpar)
>   3.  Linux i486 i586 i686, gfortran compiler with gcc  (dmpar)
>   4.  Linux i486 i586 i686, gfortran compiler with gcc  (dm+sm)
>   5.  Linux i486 i586 i686, g95 compiler with gcc  (serial)
>   6.  Linux i486 i586 i686, g95 compiler with gcc  (dmpar)
>   7.  Linux i486 i586 i686, PGI compiler with gcc  (serial)
>   8.  Linux i486 i586 i686, PGI compiler with gcc  (smpar)
>   9.  Linux i486 i586 i686, PGI compiler with gcc  (dmpar)
>  10.  Linux i486 i586 i686, PGI compiler with gcc  (dm+sm)
>  11.  Linux x86_64 i486 i586 i686, ifort compiler with icc  (serial)
>  12.  Linux x86_64 i486 i586 i686, ifort compiler with icc  (smpar)
>  13.  Linux x86_64 i486 i586 i686, ifort compiler with icc  (dmpar)
>  14.  Linux x86_64 i486 i586 i686, ifort compiler with icc  (dm+sm)
>  15.  Linux i486 i586 i686 x86_64, PathScale compiler with pathcc  (serial)
>  16.  Linux i486 i586 i686 x86_64, PathScale compiler with pathcc  (dmpar)
>
> Enter selection [1-16] : 7
> ------------------------------------------------------------------------
> Compile for nesting? (0=no nesting, 1=basic, 2=preset moves, 3=vortex
> following) [default 0]:
> Configuration successful. To build the model type compile .
> ------------------------------------------------------------------------
> testing for fseeko and fseeko64
> fseeko64 is supported
> ------------------------------------------------------------------------
>
> # To enable over-decompostion with dmpar and dm+sm compiles,
> # add -DALLOW_OVERDECOMP to ARCH_LOCAL, below. (not recommended)
>
> # Settings for Linux i486 i586 i686, PGI compiler with gcc  (serial)
> #
> DMPARALLEL      =       # 1
> OMPCPP          =       # -D_OPENMP
> OMP             =       # -mp
> SFC             =       pgf90
> SCC             =       gcc
> DM_FC           =       mpif90 -f90=$(SFC)
> DM_CC           =       mpicc -cc=$(SCC)
> FC              =        $(SFC)
> CC              =       $(SCC) -DFSEEKO64_OK
> LD              =       $(FC)
> RWORDSIZE       =       8
> PROMOTION       =       -r$(RWORDSIZE) -i4
> ARCH_LOCAL      =       -DNONSTANDARD_SYSTEM_SUBR
> CFLAGS_LOCAL    =
> LDFLAGS_LOCAL   =
> CPLUSPLUSLIB    =
> ESMF_LDFLAG     =       $(CPLUSPLUSLIB)
> FCOPTIM         =       -O2 -fast
> FCREDUCEDOPT    =       $(FCOPTIM)
> FCNOOPT         =       -O0
> FCDEBUG         =       # -g $(FCNOOPT)
> FORMAT_FIXED    =       -Mfixed
> FORMAT_FREE     =       -Mfree
> FCSUFFIX        =
> BYTESWAPIO      =       -byteswapio
> FCBASEOPTS      =       -w $(FCDEBUG) $(FORMAT_FREE) $(BYTESWAPIO)
> MODULE_SRCH_FLAG =     -module $(WRF_SRC_ROOT_DIR)/main
> TRADFLAG        =      -traditional
> CPP             =      /lib/cpp -C -P
> AR              =      ar
> ARFLAGS         =      ru
> M4              =      m4 -B 14000
> RANLIB          =      ranlib
> CC_TOOLS        =      $(SCC)
>
> ###########################################################
> ######################
>
> FGREP = fgrep -iq
>
> ARCHFLAGS       =    $(COREDEFS) -DIWORDSIZE=4 -DDWORDSIZE=8
> -DRWORDSIZE=$(RWORDSIZE) -DLWORDSIZE=4 \
>                     $(ARCH_LOCAL) \
>                     $(DA_ARCHFLAGS) \
>                       \
>                       \
>                      -DNETCDF \
>                       \
>                       \
>                      -DGRIB2 \
>                       \
>                       \
>                       \
>                      -DGRIB1 \
>                      -DINTIO \
>                      -DLIMIT_ARGS \
>                      -DCONFIG_BUF_LEN=$(CONFIG_BUF_LEN) \
>                      -DMAX_DOMAINS_F=$(MAX_DOMAINS) \
>                      -DNMM_NEST=$(WRF_NMM_NEST)
> CFLAGS          =    $(CFLAGS_LOCAL)
> FCFLAGS         =    $(FCOPTIM) $(FCBASEOPTS)
> ESMF_LIB_FLAGS  =
> ESMF_IO_LIB     =
>  $(WRF_SRC_ROOT_DIR)/external/esmf_time_f90/libesmf_time.a
> ESMF_IO_LIB_EXT =
>  -L$(WRF_SRC_ROOT_DIR)/external/esmf_time_f90/libesmf_time.aINCLUDE_MODULES
> =    $(MODULE_SRCH_FLAG) \
>                     $(ESMF_MOD_INC) $(ESMF_LIB_FLAGS) \
>                      -I$(WRF_SRC_ROOT_DIR)/main \
>                      -I$(WRF_SRC_ROOT_DIR)/external/io_netcdf \
>                      -I$(WRF_SRC_ROOT_DIR)/external/io_int \
>                      -I$(WRF_SRC_ROOT_DIR)/frame \
>                      -I$(WRF_SRC_ROOT_DIR)/share \
>                      -I$(WRF_SRC_ROOT_DIR)/phys \
>                      -I$(WRF_SRC_ROOT_DIR)/chem -I$(WRF_SRC_ROOT_DIR)/inc \
>                       \
>
> REGISTRY        =    Registry
>
> LIB_BUNDLED     = \
>                     -L$(WRF_SRC_ROOT_DIR)/external/fftpack/fftpack5
> -lfftpack \                     -L$(WRF_SRC_ROOT_DIR)/external/io_grib1
> -lio_grib1 \
>                     -L$(WRF_SRC_ROOT_DIR)/external/io_grib_share
> -lio_grib_share \
>                     -L$(WRF_SRC_ROOT_DIR)/external/io_int -lwrfio_int \
>                     $(ESMF_IO_LIB) \
>                     $(ESMF_IO_LIB) \
>                      \
>                     $(WRF_SRC_ROOT_DIR)/frame/module_internal_header_util.o
> \
>                     $(WRF_SRC_ROOT_DIR)/frame/pack_utils.o
>
> LIB_EXTERNAL    = \
>                     $(WRF_SRC_ROOT_DIR)/external/io_netcdf/libwrfio_nf.a
> -L/usr/local/lib  -lnetcdf   -L$(WRF_SRC_ROOT_DIR)/external/io_grib2
> -lio_grib2 -L/usr/local/lib -ljasper
>
> LIB             =    $(LIB_BUNDLED) $(LIB_EXTERNAL) $(LIB_LOCAL)
> LDFLAGS         =    $(OMP) $(FCFLAGS) $(LDFLAGS_LOCAL)
> ENVCOMPDEFS     =
> WRF_CHEM        =       0
> CPPFLAGS        =    $(ARCHFLAGS) $(ENVCOMPDEFS) -I$(LIBINCLUDE)
> $(TRADFLAG)
> NETCDFPATH      =    /usr/local
> PNETCDFPATH     =
>
> bundled:  wrf_ioapi_includes wrfio_grib_share wrfio_grib1 wrfio_int
> esmf_time fftpack
> external:  wrfio_nf  wrfio_grib2 gen_comms_serial module_dm_serial
> $(ESMF_TARGET)
>
> ######################
> ------------------------------------------------------------------------
> Settings listed above are written to configure.wrf.
> If you wish to change settings, please edit that file.
> If you wish to change the default options, edit the file:
>     arch/configure_new.defaults
> NetCDF users note:
>  This installation of NetCDF supports large file support.  To enable large
> file
>  support in NetCDF, set the environment variable
> WRFIO_NCD_LARGE_FILE_SUPPORT
>  to 1 and run configure again. Set to any other value to avoid this
> message.
>
>
> -------------------------------------------------------------------------------------------------
>
>
>
>
>
> IT SEEMS TO BE OK.
>
>
> when I compile I get an error but I can not define where it is. Here I
> attach the output file on the command ./compile all_wrfvar
>
> Here are the single executable that are created:
>
> [root at ren7 WRFDA_V3.1.1]# ls -ls var/da/*.exe
> 0 lrwxrwxrwx  1 root root 28 Feb  4 16:08 var/da/da_advance_time.exe ->
> ../build/da_advance_time.exe
> 0 lrwxrwxrwx  1 root root 25 Feb  4 16:08 var/da/da_bias_scan.exe ->
> ../build/da_bias_scan.exe
> 0 lrwxrwxrwx  1 root root 25 Feb  4 16:08 var/da/da_bias_sele.exe ->
> ../build/da_bias_sele.exe
> 0 lrwxrwxrwx  1 root root 26 Feb  4 16:08 var/da/da_bias_verif.exe ->
> ../build/da_bias_verif.exe
> 0 lrwxrwxrwx  1 root root 25 Feb  4 16:08 var/da/da_rad_diags.exe ->
> ../build/da_rad_diags.exe
> 0 lrwxrwxrwx  1 root root 35 Feb  4 16:08 var/da/da_tune_obs_desroziers.exe
> -> ../build/da_tune_obs_desrozie rs.exe
>
>
> If someone could help would be GREATLY APPRECIATED.
>  THANKS IN ADVANCE,
>      Gil.
>
> --
>  Engineer. Gil Capote Mastrapa
>  Environmental Impacts Department of Cubaenergia,
>  http://www.cubaenergia.cu/  Habana, Cuba.
>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: compile.out
> Type: application/octet-stream
> Size: 293115 bytes
> Desc: not available
> Url :
> http://mailman.ucar.edu/pipermail/wrf-users/attachments/20100204/537946b7/attachment.obj
>
> ------------------------------
>
> _______________________________________________
> Wrf-users mailing list
> Wrf-users at ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/wrf-users
>
>
> End of Wrf-users Digest, Vol 66, Issue 6
> ****************************************
>



-- 
##################################
Jagabandhu Panda
Research Associate
Sattellite Meteorology Division
India Meteorological Department
Mausam Bhawan, Lodhi Road
New Delhi-110003, India
Web:http://sites.google.com/site/jagabandhu/
##################################
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/wrf-users/attachments/20100209/6047d092/attachment-0001.html 


More information about the Wrf-users mailing list