Install WRFDA 3.1.1 with intel compilers. bugs and fixes

Setting up the 3DVAR package within WRF.

Install WRFDA 3.1.1 with intel compilers. bugs and fixes

Postby LleoPP » Mon Aug 03, 2009 5:44 am

Hello everyone!

Now I am trying to install WRFDA 3.1.1 and faced with some troubles.

First of all, installtion process generate error message when trying to execute

cd /storage/opt.models/wrf/v311/WRFDA_V3.1.1/var/da/makedepf90-2.8.8; ./setup_makedepf90

there is calling for ./configure inside this script, and ./configure throw next error:
checking for C compiler default output file name... configure: error: C compiler cannot create executables

I commented calling of ./configure at ./setup_makedepf90 script and ran ./configure manually. It helps.

Next trouble was with compiling da_bufr.f in ..../WRFDA_V3.1.1/var/build
There is nemtbd.inc file in this directory. and this file contains mal-formatted fortran code

I replaced

Code: Select all
903 WRITE (BORT_STR, '("BUFRLIB: NEMTBD - THERE ARE MORE THAN '//'(",I&
     &4,") DESCRIPTORS (THE LIMIT) IN TABLE D SEQUENCE '//'MNEMONIC ",A)&
     &') MAXCD, NEMO 


with

Code: Select all
903 WRITE (BORT_STR, '("BUFRLIB: NEMTBD - THERE ARE MORE THAN '//'(",I4,") DESCRIPTORS (THE LIMIT) IN TABLE D SEQUENCE '//'MNEMONIC ",A)') MAXCD, NEMO


It helps too :)

Now compilation is in progress, but I hope it was last error.
LleoPP
 
Posts: 1
Joined: Tue Mar 31, 2009 2:56 am

Re: Install WRFDA 3.1.1 with intel compilers. bugs and fixes

Postby lfmontanar » Wed Oct 21, 2009 12:50 pm

Hi, I'm installing WRFDA_V3.1.1 in Linux Centos 5.3 X86-64 + Ifort 10.1.018. I applied your suggestions, but when run the compile script, still appears some errors:

1. A lot of "warning" messages
...
make[2]: Entering directory `/home/wrf/wrf311/WRFDA_V3.1.1/tools'
icc -c -g registry.c
registry.c(48): warning #266: function "sym_forget" declared implicitly
sym_forget() ;
^
registry.c(117): warning #266: function "init_parser" declared implicitly
init_parser() ;
^
registry.c(140): warning #266: function "pre_parse" declared implicitly
if ( pre_parse( dir, fp_in, fp_tmp ) ) {
^
registry.c(159): warning #266: function "check_dimspecs" declared implicitly
check_dimspecs() ;
^
registry.c(164): warning #266: function "gen_alloc_count" declared implicitly
gen_alloc_count( "inc" ) ;
^
registry.c(165): warning #266: function "gen_dealloc" declared implicitly
gen_dealloc( "inc" ) ;
^
registry.c(169): warning #266: function "gen_actual_args_new" declared implicitly
gen_actual_args_new( "inc" ) ;
...
misc.c(150): warning #266: function "range_of_dimension" declared implicitly
range_of_dimension( r, tx , i , p , nlstructname ) ;
^
misc.c(170): warning #1011: missing return statement at end of non-void function "range_of_dimension"
}
^
misc.c(212): warning #592: variable "zdex" is used before its value is set
sprintf(tmp,"%ssm3%d,%ssm3%d,1,1", r,bdex,r,zdex ) ;
...
gen_allocs.c(14): warning #266: function "gen_ddt_write" declared implicitly
gen_ddt_write( dirname ) ;
^
gen_allocs.c(81): warning #268: the format string ends before this argument
fprintf(fp,".AND.(.NOT.inter_domain)",tag) ;
^
gen_allocs.c(93): warning #266: function "array_size_expression" declared implicitly
array_size_expression("", "(", bdy, t2, p, post_for_count, "model_config_rec%"),

gen_allocs.c(93): warning #181: argument is incompatible with corresponding format string conversion
array_size_expression("", "(", bdy, t2, p, post_for_count, "model_config_rec%"),
...
en_wrf_io.c(33): warning #266: function "sym_forget" declared implicitly
OP_F(fp,"wrf_metaput_input.inc") ;
^
gen_wrf_io.c(349): warning #1011: missing return statement at end of non-void function "set_dim_strs"
}
^
gen_wrf_io.c(357): warning #1011: missing return statement at end of non-void function "set_dim_strs2"
}
^
gen_wrf_io.c(449): warning #266: function "range_of_dimension" declared implicitly
range_of_dimension( r, tx , d , p , "config_flags%" ) ;
^
gen_wrf_io.c(770): warning #266: function "make_upper_case" declared implicitly
make_upper_case(dname) ;
^
gen_wrf_io.c(906): warning #181: argument is incompatible with corresponding format string conversion
structname , fourdname, tend_tag, ibdy, bdy_indicator(ibdy), p->name ) ;
^
gen_wrf_io.c(906): warning #181: argument is incompatible with corresponding format string conversion
structname , fourdname, tend_tag, ibdy, bdy_indicator(ibdy), p->name ) ;
...

2. "Overriding commands for target":
...
make[1]: Entering directory `/home/wrf/wrf311/WRFDA_V3.1.1/var/build'
da.make:450: warning: overriding commands for target `input_wrf.o'
../../configure.wrf:569: warning: ignoring old commands for target `input_wrf.o'
makefile:61: warning: overriding commands for target `.f90.o'
../../configure.wrf:332: warning: ignoring old commands for target `.f90.o'
make[1]: Leaving directory `/home/wrf/wrf311/WRFDA_V3.1.1/var/build'
make[1]: Entering directory `/home/wrf/wrf311/WRFDA_V3.1.1/var/build'
da.make:450: warning: overriding commands for target `input_wrf.o'
../../configure.wrf:569: warning: ignoring old commands for target `input_wrf.o'
makefile:61: warning: overriding commands for target `.f90.o'
../../configure.wrf:332: warning: ignoring old commands for target `.f90.o'
...
make[1]: Entering directory `/home/wrf/wrf311/WRFDA_V3.1.1/var/build'
da.make:450: warning: overriding commands for target `input_wrf.o'
../../configure.wrf:569: warning: ignoring old commands for target `input_wrf.o'
makefile:61: warning: overriding commands for target `.f90.o'
../../configure.wrf:332: warning: ignoring old commands for target `.f90.o'
...


3. "Undefined references":
...
./libwrfvar.a(da_wrfvar_top.o): In function `da_wrfvar_top_mp_da_wrfvar_finalize_':
da_wrfvar_top.f:(.text+0x231d5): undefined reference to `crtm_lifecycle_mp_crtm_destroy_'
./libwrfvar.a(da_wrfvar_top.o): In function `da_wrfvar_top_mp_da_solve_':
da_wrfvar_top.f:(.text+0x45b73): undefined reference to `rttov_dealloc_coef_'
./libwrfvar.a(da_radiance.o): In function `da_radiance_mp_da_read_pseudo_rad_':
da_radiance.f:(.text+0xb49): undefined reference to `rttov_setupchan_'
./libwrfvar.a(da_radiance.o): In function `da_radiance_mp_da_read_simulated_rad_':
da_radiance.f:(.text+0x1b15): undefined reference to `rttov_setupchan_'
./libwrfvar.a(da_radiance.o): In function `da_radiance_mp_da_setup_radiance_structures_':
da_radiance.f:(.text+0x4f69): undefined reference to `rttov_setupchan_'
da_radiance.f:(.text+0x521e): undefined reference to `rttov_setupchan_'
./libwrfvar.a(da_radiance.o): In function `da_radiance_mp_da_read_obs_bufrairs_':
da_radiance.f:(.text+0xa857): undefined reference to `rttov_setupchan_'
./libwrfvar.a(da_radiance.o):da_radiance.f:(.text+0xf6c6): more undefined references to `rttov_setupchan_' follow
./libwrfvar.a(da_rttov.o): In function `da_rttov_mp_da_rttov_ad_':
da_rttov.f:(.text+0x117e8): undefined reference to `rttov_setupindex_'
da_rttov.f:(.text+0x131e8): undefined reference to `rttov_ad_'
./libwrfvar.a(da_rttov.o): In function `da_rttov_mp_da_rttov_tl_':
da_rttov.f:(.text+0x2711a): undefined reference to `rttov_setupchan_'
da_rttov.f:(.text+0x29ce1): undefined reference to `rttov_setupindex_'
...

4. Error in da_wrfvar.exe (line 4211)
./libwrfvar.a(da_crtm.o): In function `da_crtm_mp_da_crtm_init_':
da_crtm.f:(.text+0x2a156): undefined reference to `crtm_lifecycle_mp_crtm_init_'
make[1]: [da_wrfvar.exe] Error 1 (ignored)


When the compilation finishes, in ./var/build they appear all the .exe files, except da_wrfvar.exe

It's my first approach to wrfda, therefore I would appreciate any aid

Thanks in advance,

LFM
lfmontanar
 
Posts: 2
Joined: Tue Nov 18, 2008 5:35 pm

Re: Install WRFDA 3.1.1 with intel compilers. bugs and fixes

Postby jagabandhu » Tue Dec 22, 2009 3:20 am

hey, did you overcome the installation problems? I am also facing similar problems. could you please tell me how to overcome those if you have already done that.

regards
Jagabandhu
jagabandhu
 
Posts: 9
Joined: Fri Dec 04, 2009 5:51 am

Re: Install WRFDA 3.1.1 with intel compilers. bugs and fixes

Postby mindgames » Wed Jul 11, 2012 11:44 am

Hello:
I have the same problems, I'm trying to compile WRFDA with INTEL compiler and besides the error "Cannot create executables" there is a lot of warnings

I have set correctly the netcdf variable according to its path, which is the only obligatory lybrary
i would appreciate any help
regards
mindgames
 
Posts: 1
Joined: Wed Jul 11, 2012 11:33 am


Return to Installation

Who is online

Users browsing this forum: No registered users and 2 guests