Skip to content

Commit 0bda5e0

Browse files
authored
Fix 4dvar build failure after commit 8b5bfe5 (wrf-model#1652)
TYPE: bug fix KEYWORDS: WRFDA, 4DVAR, compile SOURCE: Jamie Bresch (NCAR) DESCRIPTION OF CHANGES: Following commit 8b5bfe5, PR wrf-model#1616, a new subroutine name (med_read_qna_emissions) needs to be added in da_name_space.pl to avoid name conflict for 4DVAR build with the error message: ``` duplicate symbol '_med_read_qna_emissions_' in: /Users/hclin/code/WRFPLUS/develop/main/libwrflib.a(mediation_integrate.o) ./libwrfvar.a(mediation_integrate.o) ld: 1 duplicate symbol for architecture x86_64 collect2: error: ld returned 1 exit status ``` LIST OF MODIFIED FILES: M var/build/da_name_space.pl TESTS CONDUCTED: 1. 4DVAR builds after the fix. 2. Jenkins tests now pass again.
1 parent 8b5bfe5 commit 0bda5e0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

var/build/da_name_space.pl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434
__DATA__
3535
###########################################################################################
36-
# The following subroutines will be add pre-fix da
36+
# The following subroutines will be add prefix da
3737
all_sub_
3838
call_pkg_and_dist
3939
collect_generic_and_call_pkg
@@ -195,4 +195,5 @@
195195
wrf_get_dom_ti_integer
196196
is_this_data_ok_to_use
197197
check_which_switch
198+
med_read_qna_emissions
198199
###########################################################################################

0 commit comments

Comments
 (0)