Opened 17 years ago

Last modified 17 years ago

#70 closed bug

current version does not link to the ADM and TLM libraries when compiling — at Initial Version

Reported by: milena Owned by: arango
Priority: major Milestone: Release ROMS/TOMS 3.1
Component: Nonlinear Version: 3.1
Keywords: Cc:

Description

The new makefile does not seem to link the proper libraries (ADM and TLM) when compiling the TLM_DRIVER or AD_SENSITVITY drivers. This is the error message I get when trying to compile the AD_SENSITIVITY, for example:

mpif90 -u -Bstatic -fastsse -Mipa=fast -tp k8-64 Build/master.o Build/ocean_control.o Build/ocean_coupler.o Build/propagator.o -o oceanM Build/libNLM.a Build/libANA.a Build/libICE.a Build/libUTIL.a Build/libMODS.a -L/home/milenav/software/netcdf/lib -lnetcdf -L/home/milenav/roms/trunk/Lib/ARPACK -lparpack -L/home/milenav/roms/trunk/Lib/ARPACK -larpack rm -f -r /export/204/milenav/roms/trunk/Compilers/make_macros.mk The following function(s) are called, but no IPA information is available: ad_initial_, ad_main3d_ Linking without IPA Build/ocean_control.o(.text+0x241): In function `ocean_control_mod_run_': ocean_control.f90: undefined reference to `ad_initial_' Build/ocean_control.o(.text+0x722):ocean_control.f90: undefined reference to `ad_main3d_' child process exit status 1: /usr/bin/ld make: * [oceanM] Error 2

Milena

Change History (0)

Note: See TracTickets for help on using tickets.