WRFDA 3/4DVAR 3.8.1 compile error

Introduction to the forum

WRFDA 3/4DVAR 3.8.1 compile error

Postby univers0358 » Thu Oct 06, 2016 6:43 pm

Hi,
I compiled WRFDA 3.8.1 with pgf90/pgcc and produced 43 executable: 42 of which are in the var/build
directory, with the 43th, obsproc.exe in the var/obsproc/src. But one executable file da_tune_obs_hollingsworth2.exe is missing (the compilation should create 44 executable files according to the USER'S GUIDE). I found following error message in compilation log file and had no idea to fix it. It is appreciated if anyone could help on this one.

BTW, I was confronted by the same issue when I tried to build WRFDA 4dvar (after WRFPLUS was built successfully).

---
---
pgf90 -c -O3 -w -Mfree -byteswapio -r8 -i4 -I/usr/local/include da_tune_obs_hollingsworth1.f
/tmp/pgf90qLTfW68807_H.s: Assembler messages:
/tmp/pgf90qLTfW68807_H.s:9832: Error: symbol `gen_be_ensrf_ob_type_td_' is already defined
/tmp/pgf90qLTfW68807_H.s:10046: Error: symbol `gen_be_ensrf_ob_type_td_' is already defined
/tmp/pgf90qLTfW68807_H.s:10234: Error: symbol `gen_be_ensrf_ob_type_td_' is already defined
/tmp/pgf90qLTfW68807_H.s:11887: Error: symbol `gen_be_ensrf_ob_type_td_' is already defined
/tmp/pgf90qLTfW68807_H.s:12308: Error: symbol `gen_be_ensrf_ob_type_td_' is already defined

real 0m1.660s
user 0m1.484s
sys 0m0.125s
make[1]: [gen_be_ensrf.o] Error 2 (ignored)
rm -f da_tune_obs_hollingsworth2.o
/home/fliu/WRF3.8.1/WRFDA/tools/standard.exe da_tune_obs_hollingsworth2.f90 > da_tune_obs_hollingsworth2.b
/lib/cpp -P -DEM_CORE=1 -DNMM_CORE=0 -DNMM_MAX_DIM=2600 -DCOAMPS_CORE=0 -DDA_CORE=1 -DEXP_CORE=0 -DIWORDSIZE=4 -DDWORDSIZE=8 -DRWORDSIZE=8 -DLWORDSIZE=4 -DNONSTANDARD_SYSTEM_SUBR -DWRF_USE_CLM -DBUFR -DFFTPACK -DNORESHAPE -DDM_PARALLEL -DNETCDF -DCRTM -DUSE_ALLOCATABLES -DGRIB1 -DINTIO -DKEEP_INT_AROUND -DLIMIT_ARGS -DCONFIG_BUF_LEN=65536 -DMAX_DOMAINS_F=21 -DMAX_HISTORY=25 -DNMM_NEST=0 -I. -traditional -I/home/fliu/WRF3.8.1/WRFDA/inc -I/usr/local/include da_tune_obs_hollingsworth2.b > da_tune_obs_hollingsworth2.f
rm -f da_tune_obs_hollingsworth2.b
pgf90 -c -O3 -w -Mfree -byteswapio -r8 -i4 -I/usr/local/include da_tune_obs_hollingsworth2.f
/tmp/pgf90HnUfJfJ1c4g7.s: Assembler messages:
/tmp/pgf90HnUfJfJ1c4g7.s:2090: Error: symbol `da_tune_obs_hollingsworth2_obs_type_td_' is already defined
/tmp/pgf90HnUfJfJ1c4g7.s:2465: Error: symbol `da_tune_obs_hollingsworth2_obs_type_td_' is already defined
/tmp/pgf90HnUfJfJ1c4g7.s:3062: Error: symbol `da_tune_obs_hollingsworth2_obs_type_td_' is already defined
/tmp/pgf90HnUfJfJ1c4g7.s:3325: Error: symbol `da_tune_obs_hollingsworth2_obs_type_td_' is already defined
/tmp/pgf90HnUfJfJ1c4g7.s:4467: Error: symbol `da_tune_obs_hollingsworth2_obs_type_td_' is already defined
make[1]: [da_tune_obs_hollingsworth2.o] Error 2 (ignored)
....
....
univers0358
 
Posts: 15
Joined: Thu Jun 11, 2009 2:41 pm

Re: WRFDA 3/4DVAR 3.8.1 compile error

Postby kwthomas » Fri Oct 07, 2016 5:13 pm

It sounds like a variable is declared twice. The Portland compiler doesn't like this. Older versions of the Intel compiler will let yet you get away with this, though this doesn't work (which it shouldn't) with the current version.

Since you are using the most recent version, I'd send email to wrfhellp@ucar.edu and report the problem.
Kevin W. Thomas
Center for Analysis and Prediction of Storms
University of Oklahoma
kwthomas
 
Posts: 186
Joined: Thu Aug 07, 2008 6:53 pm

Re: WRFDA 3/4DVAR 3.8.1 compile error

Postby univers0358 » Wed Oct 12, 2016 12:12 pm

Kevin,

Thank you very much for your response. I hope to have a solution to this problem as soon as possible from wrfhelp@ucar.edu.

Thanks.

Feng
univers0358
 
Posts: 15
Joined: Thu Jun 11, 2009 2:41 pm


Return to Welcome to the WRF User's Forum

Who is online

Users browsing this forum: No registered users and 1 guest