[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: netCDF for MOM2: need UDUNITS package
- Subject: Re: netCDF for MOM2: need UDUNITS package
- Date: Mon, 19 Jul 1999 13:53:36 -0600
Karen,
>Date: Mon, 19 Jul 1999 15:39:33 -0400
>From: Karen Bice <address@hidden>
>Organization: WHOI
>To: address@hidden
>Subject: netCDF from MOM2
>Keywords: 199907191943.NAA28688
In the above message, you wrote:
> Steve - I have recently installed NetCDF and the GFDL MOM 2 model on my
> SGI Octane (IRIX 6.5). I am trying to run the model with the netCDF data
> output format option. The run script from GFDL for the netCDF option
> indicates that I need a netCDF library names "udunits" but none exists
> in the netCDF directories.
The UDUNITS package is independent of the netCDF package and
vice-versa. You can obtain the UDUNITS package at the following URL:
<http://www.unidata.ucar.edu/packages/udunits/index.html>
> When I try to compile MOM2 without "-ludunits" specified, I get the
> following error messages (which may pertain only to MOM, not to netCDF,
> I am not sure):
>
>
> ld: WARNING 15: multiply defined:(len_trim_) in iomngr.o and util.o (2nd
> definition ignored).
> ld: WARNING 84: /usr/local/lib/libnetcdf.a is not used for resolving any
> symbol.
> ld: WARNING 85: definition of alarm_ in switch.o preempts that
> definition in /usr/lib/libftn.so.
> ld: ERROR 33: Unresolved text symbol "ncreo1_" -- 1st referenced by
> diago_netcdf.o.
> Use linker option -v to see when and which objects, archives and
> dsos are loaded.
> ld: ERROR 33: Unresolved text symbol "ncsetup_" -- 1st referenced by
> diago_netcdf.o.
> Use linker option -v to see when and which objects, archives and
> dsos are loaded.
> ld: ERROR 33: Unresolved text symbol "ncstore_" -- 1st referenced by
> diago_netcdf.o.
> Use linker option -v to see when and which objects, archives and
> dsos are loaded.
> ld: ERROR 33: Unresolved text symbol "ncdone_" -- 1st referenced by
> diago_netcdf.o.
> Use linker option -v to see when and which objects, archives and
> dsos are loaded.
> ld: ERROR 33: Unresolved text symbol "sincestr_" -- 1st referenced by
> diago_netcdf.o.
> Use linker option -v to see when and which objects, archives and
> dsos are loaded.
> ld: INFO 152: Output file removed because of error.
>
> ... done linking
Hmm... I don't recognize any of the above error messages as pertaining
to the UDUNITS package.
> Can you tell me anything about "udunits" ??
I can tell you everything about the UDUNITS package (I created it :-).
If the MOM 2 model uses the UDUNITS package, then you'll need to install
it. Get it from the above-mentioned URL and following the instructions
in the INSTALL file.
Contact me if you have any problems or questions.
> Karen Bice
>
> --
> Karen L. Bice, Dept. of Geology and Geophysics
> Woods Hole Oceanographic Institution
> Woods Hole, MA USA 02543-1541
> phone: (508) 289-3320 FAX: (508) 457-2187
--------
Steve Emmerson <http://www.unidata.ucar.edu>