Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#866 closed bug (Fixed)

Missing Drivers directory makefile macros

Reported by: xavierC Owned by:
Priority: major Milestone: Release ROMS/TOMS 3.9
Component: Adjoint Version: 3.9
Keywords: Cc:

Description (last modified by arango)

The makefile in the git repository needs be modified in order to compile Drivers sub-directotory library:

 modules  +=    ROMS/Nonlinear \
                ROMS/Nonlinear/Biology \
                ROMS/Nonlinear/Sediment \
                ROMS/Functionals \
                ROMS/Drivers \
                ROMS/Utility \
                ROMS/Modules

The WC13 I4d-Var gives the following error during compilation:

libDRIVER.a(i4dvar.o): In function `i4dvar_mod_mp_background_':
i4dvar.f90:(.text+0x60f): undefined reference to `initial_'
i4dvar.f90:(.text+0x90d): undefined reference to `main3d_'

libDRIVER.a(i4dvar.o): In function `i4dvar_mod_mp_increment_': 
i4dvar.f90:(.text+0x1977): undefined reference to `tl_main3d_' 
i4dvar.f90:(.text+0x19c3): undefined reference to `ad_initial_' 
i4dvar.f90:(.text+0x1a4b): undefined reference to `tl_initial_'
i4dvar.f90:(.text+0x1c99): undefined reference to `ad_main3d_' 
i4dvar.f90:(.text+0x1d9d): undefined reference to `ad_variability_mod_mp_ad_variability_'
i4dvar.f90:(.text+0x1dba): undefined reference to `ad_convolution_mod_mp_ad_convolution_'
i4dvar.f90:(.text+0x24ee): undefined reference to `tl_convolution_mod_mp_tl_convolution_'
i4dvar.f90:(.text+0x2507): undefined reference to `tl_variability_mod_mp_tl_variability_'
i4dvar.f90:(.text+0x2660): undefined reference to `tl_wrt_ini_' 
i4dvar.f90:(.text+0x275a): undefined reference to `ad_wrt_his_'
i4dvar.f90:(.text+0x3140): undefined reference to `tl_wrt_ini_'
i4dvar.f90:(.text+0x3f0a): undefined reference to `tl_wrt_ini_'
i4dvar.f90:(.text+0x3f46): undefined reference to `tl_wrt_ini_'
i4dvar.f90:(.text+0x3f82): undefined reference to `tl_wrt_ini_'

Change History (2)

comment:1 by arango, 4 years ago

Description: modified (diff)
Resolution: Fixed
Status: newclosed
Summary: Missing Drivers module in MakefileMissing Drivers srirectory makefile macros

Yes, indeed. Thank you. For some reason, the makefile didn't update in the git repository when the svn repositories were modified. Apparently, there is a bug in the automatic script that updates the git repository from the svn trunk.

comment:2 by arango, 4 years ago

Summary: Missing Drivers srirectory makefile macrosMissing Drivers directory makefile macros
Note: See TracTickets for help on using tickets.