<div class="gmail_quote"><div>Hi Gil<br><br>after you configure the wrf-var go to the directory WRFDA_V3.1.1/var/da/makedepf90-2.8.8 and then type ./configure<br><br>after that come back to the WRFDA_V3.1.1 directory and compile the code. I think that would solve your problem.<br>
<br>best wishes<br>Jagabandhu<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Message: 2<br>
Date: Thu, 4 Feb 2010 11:04:48 -0500 (CST)<br>
From: Gil Capote Mastrapa <<a href="mailto:gcapote@cubaenergia.cu">gcapote@cubaenergia.cu</a>><br>
Subject: [Wrf-users] WRFvar compilation Problem<br>
To: <a href="mailto:wrf-users@ucar.edu">wrf-users@ucar.edu</a><br>
Message-ID:<br>
<<a href="mailto:29573069.3631265299488754.JavaMail.root@zimbra.cubaenergia.cu">29573069.3631265299488754.JavaMail.root@zimbra.cubaenergia.cu</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
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)<br>
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.<br>
<br>
configure output:<br>
------------------------------------------------------------------------------------------------------<br>
<br>
[<br>
root@ren7 WRFDA_V3.1.1]# ./configure wrfda<br>
checking for perl5... no<br>
checking for perl... found /usr/bin/perl (perl)<br>
Will use NETCDF in dir: /usr/local<br>
PHDF5 not set in environment. Will configure WRF for use without.<br>
Configuring to use jasper library to build Grib2 I/O...<br>
$JASPERLIB = /usr/local/lib<br>
$JASPERINC = /usr/local/include<br>
------------------------------------------------------------------------<br>
Please select from among the following supported platforms.<br>
<br>
1. Linux i486 i586 i686, gfortran compiler with gcc (serial)<br>
2. Linux i486 i586 i686, gfortran compiler with gcc (smpar)<br>
3. Linux i486 i586 i686, gfortran compiler with gcc (dmpar)<br>
4. Linux i486 i586 i686, gfortran compiler with gcc (dm+sm)<br>
5. Linux i486 i586 i686, g95 compiler with gcc (serial)<br>
6. Linux i486 i586 i686, g95 compiler with gcc (dmpar)<br>
7. Linux i486 i586 i686, PGI compiler with gcc (serial)<br>
8. Linux i486 i586 i686, PGI compiler with gcc (smpar)<br>
9. Linux i486 i586 i686, PGI compiler with gcc (dmpar)<br>
10. Linux i486 i586 i686, PGI compiler with gcc (dm+sm)<br>
11. Linux x86_64 i486 i586 i686, ifort compiler with icc (serial)<br>
12. Linux x86_64 i486 i586 i686, ifort compiler with icc (smpar)<br>
13. Linux x86_64 i486 i586 i686, ifort compiler with icc (dmpar)<br>
14. Linux x86_64 i486 i586 i686, ifort compiler with icc (dm+sm)<br>
15. Linux i486 i586 i686 x86_64, PathScale compiler with pathcc (serial)<br>
16. Linux i486 i586 i686 x86_64, PathScale compiler with pathcc (dmpar)<br>
<br>
Enter selection [1-16] : 7<br>
------------------------------------------------------------------------<br>
Compile for nesting? (0=no nesting, 1=basic, 2=preset moves, 3=vortex following) [default 0]:<br>
Configuration successful. To build the model type compile .<br>
------------------------------------------------------------------------<br>
testing for fseeko and fseeko64<br>
fseeko64 is supported<br>
------------------------------------------------------------------------<br>
<br>
# To enable over-decompostion with dmpar and dm+sm compiles,<br>
# add -DALLOW_OVERDECOMP to ARCH_LOCAL, below. (not recommended)<br>
<br>
# Settings for Linux i486 i586 i686, PGI compiler with gcc (serial)<br>
#<br>
DMPARALLEL = # 1<br>
OMPCPP = # -D_OPENMP<br>
OMP = # -mp<br>
SFC = pgf90<br>
SCC = gcc<br>
DM_FC = mpif90 -f90=$(SFC)<br>
DM_CC = mpicc -cc=$(SCC)<br>
FC = $(SFC)<br>
CC = $(SCC) -DFSEEKO64_OK<br>
LD = $(FC)<br>
RWORDSIZE = 8<br>
PROMOTION = -r$(RWORDSIZE) -i4<br>
ARCH_LOCAL = -DNONSTANDARD_SYSTEM_SUBR<br>
CFLAGS_LOCAL =<br>
LDFLAGS_LOCAL =<br>
CPLUSPLUSLIB =<br>
ESMF_LDFLAG = $(CPLUSPLUSLIB)<br>
FCOPTIM = -O2 -fast<br>
FCREDUCEDOPT = $(FCOPTIM)<br>
FCNOOPT = -O0<br>
FCDEBUG = # -g $(FCNOOPT)<br>
FORMAT_FIXED = -Mfixed<br>
FORMAT_FREE = -Mfree<br>
FCSUFFIX =<br>
BYTESWAPIO = -byteswapio<br>
FCBASEOPTS = -w $(FCDEBUG) $(FORMAT_FREE) $(BYTESWAPIO)<br>
MODULE_SRCH_FLAG = -module $(WRF_SRC_ROOT_DIR)/main<br>
TRADFLAG = -traditional<br>
CPP = /lib/cpp -C -P<br>
AR = ar<br>
ARFLAGS = ru<br>
M4 = m4 -B 14000<br>
RANLIB = ranlib<br>
CC_TOOLS = $(SCC)<br>
<br>
###########################################################<br>
######################<br>
<br>
FGREP = fgrep -iq<br>
<br>
ARCHFLAGS = $(COREDEFS) -DIWORDSIZE=4 -DDWORDSIZE=8 -DRWORDSIZE=$(RWORDSIZE) -DLWORDSIZE=4 \<br>
$(ARCH_LOCAL) \<br>
$(DA_ARCHFLAGS) \<br>
\<br>
\<br>
-DNETCDF \<br>
\<br>
\<br>
-DGRIB2 \<br>
\<br>
\<br>
\<br>
-DGRIB1 \<br>
-DINTIO \<br>
-DLIMIT_ARGS \<br>
-DCONFIG_BUF_LEN=$(CONFIG_BUF_LEN) \<br>
-DMAX_DOMAINS_F=$(MAX_DOMAINS) \<br>
-DNMM_NEST=$(WRF_NMM_NEST)<br>
CFLAGS = $(CFLAGS_LOCAL)<br>
FCFLAGS = $(FCOPTIM) $(FCBASEOPTS)<br>
ESMF_LIB_FLAGS =<br>
ESMF_IO_LIB = $(WRF_SRC_ROOT_DIR)/external/esmf_time_f90/libesmf_time.a<br>
ESMF_IO_LIB_EXT = -L$(WRF_SRC_ROOT_DIR)/external/esmf_time_f90/libesmf_time.aINCLUDE_MODULES = $(MODULE_SRCH_FLAG) \<br>
$(ESMF_MOD_INC) $(ESMF_LIB_FLAGS) \<br>
-I$(WRF_SRC_ROOT_DIR)/main \<br>
-I$(WRF_SRC_ROOT_DIR)/external/io_netcdf \<br>
-I$(WRF_SRC_ROOT_DIR)/external/io_int \<br>
-I$(WRF_SRC_ROOT_DIR)/frame \<br>
-I$(WRF_SRC_ROOT_DIR)/share \<br>
-I$(WRF_SRC_ROOT_DIR)/phys \<br>
-I$(WRF_SRC_ROOT_DIR)/chem -I$(WRF_SRC_ROOT_DIR)/inc \<br>
\<br>
<br>
REGISTRY = Registry<br>
<br>
LIB_BUNDLED = \<br>
-L$(WRF_SRC_ROOT_DIR)/external/fftpack/fftpack5 -lfftpack \ -L$(WRF_SRC_ROOT_DIR)/external/io_grib1 -lio_grib1 \<br>
-L$(WRF_SRC_ROOT_DIR)/external/io_grib_share -lio_grib_share \<br>
-L$(WRF_SRC_ROOT_DIR)/external/io_int -lwrfio_int \<br>
$(ESMF_IO_LIB) \<br>
$(ESMF_IO_LIB) \<br>
\<br>
$(WRF_SRC_ROOT_DIR)/frame/module_internal_header_util.o \<br>
$(WRF_SRC_ROOT_DIR)/frame/pack_utils.o<br>
<br>
LIB_EXTERNAL = \<br>
$(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<br>
<br>
LIB = $(LIB_BUNDLED) $(LIB_EXTERNAL) $(LIB_LOCAL)<br>
LDFLAGS = $(OMP) $(FCFLAGS) $(LDFLAGS_LOCAL)<br>
ENVCOMPDEFS =<br>
WRF_CHEM = 0<br>
CPPFLAGS = $(ARCHFLAGS) $(ENVCOMPDEFS) -I$(LIBINCLUDE) $(TRADFLAG)<br>
NETCDFPATH = /usr/local<br>
PNETCDFPATH =<br>
<br>
bundled: wrf_ioapi_includes wrfio_grib_share wrfio_grib1 wrfio_int esmf_time fftpack<br>
external: wrfio_nf wrfio_grib2 gen_comms_serial module_dm_serial $(ESMF_TARGET)<br>
<br>
######################<br>
------------------------------------------------------------------------<br>
Settings listed above are written to configure.wrf.<br>
If you wish to change settings, please edit that file.<br>
If you wish to change the default options, edit the file:<br>
arch/configure_new.defaults<br>
NetCDF users note:<br>
This installation of NetCDF supports large file support. To enable large file<br>
support in NetCDF, set the environment variable WRFIO_NCD_LARGE_FILE_SUPPORT<br>
to 1 and run configure again. Set to any other value to avoid this message.<br>
<br>
-------------------------------------------------------------------------------------------------<br>
<br>
<br>
<br>
<br>
<br>
IT SEEMS TO BE OK.<br>
<br>
<br>
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<br>
<br>
Here are the single executable that are created:<br>
<br>
[root@ren7 WRFDA_V3.1.1]# ls -ls var/da/*.exe<br>
0 lrwxrwxrwx 1 root root 28 Feb 4 16:08 var/da/da_advance_time.exe -> ../build/da_advance_time.exe<br>
0 lrwxrwxrwx 1 root root 25 Feb 4 16:08 var/da/da_bias_scan.exe -> ../build/da_bias_scan.exe<br>
0 lrwxrwxrwx 1 root root 25 Feb 4 16:08 var/da/da_bias_sele.exe -> ../build/da_bias_sele.exe<br>
0 lrwxrwxrwx 1 root root 26 Feb 4 16:08 var/da/da_bias_verif.exe -> ../build/da_bias_verif.exe<br>
0 lrwxrwxrwx 1 root root 25 Feb 4 16:08 var/da/da_rad_diags.exe -> ../build/da_rad_diags.exe<br>
0 lrwxrwxrwx 1 root root 35 Feb 4 16:08 var/da/da_tune_obs_desroziers.exe -> ../build/da_tune_obs_desrozie rs.exe<br>
<br>
<br>
If someone could help would be GREATLY APPRECIATED.<br>
THANKS IN ADVANCE,<br>
Gil.<br>
<br>
--<br>
Engineer. Gil Capote Mastrapa<br>
Environmental Impacts Department of Cubaenergia,<br>
<a href="http://www.cubaenergia.cu/" target="_blank">http://www.cubaenergia.cu/</a> Habana, Cuba.<br>
<br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: compile.out<br>
Type: application/octet-stream<br>
Size: 293115 bytes<br>
Desc: not available<br>
Url : <a href="http://mailman.ucar.edu/pipermail/wrf-users/attachments/20100204/537946b7/attachment.obj" target="_blank">http://mailman.ucar.edu/pipermail/wrf-users/attachments/20100204/537946b7/attachment.obj</a><br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
Wrf-users mailing list<br>
<a href="mailto:Wrf-users@ucar.edu">Wrf-users@ucar.edu</a><br>
<a href="http://mailman.ucar.edu/mailman/listinfo/wrf-users" target="_blank">http://mailman.ucar.edu/mailman/listinfo/wrf-users</a><br>
<br>
<br>
End of Wrf-users Digest, Vol 66, Issue 6<br>
****************************************<br>
</blockquote></div><br><br clear="all"><br>-- <br>##################################<br>Jagabandhu Panda<br>Research Associate<br>Sattellite Meteorology Division<br>India Meteorological Department <br>Mausam Bhawan, Lodhi Road<br>
New Delhi-110003, India<br>Web:<a href="http://sites.google.com/site/jagabandhu/">http://sites.google.com/site/jagabandhu/</a><br>##################################<br>