[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 19991122: netCDF



>To: address@hidden
>cc: address@hidden
>From: "Emin Ozsoy" <address@hidden>
>Organization: Institute of Marine Sciences, Middle East Technical University
>Keywords: 199911221025.DAA27085

Hi Emin,

> I am using netcdf version 3.4 on an SGI O2 machine with Irix version 6.3.

> I realize that netcdf was compiled on 6.2 and 6.4 but never on 6.3 as the
> TESTED SYSTEMS within the INSTALL file indicate.

> when I try to compile a model code with -O3 -mips4 options, I get the
> following message during loading of the netcdf library:

> ld32: FATAL 112: cannot link old 32-bit object with -n32 link:
> /d2/oz/arango/netcdf/netcdf-3.4/lib/libnetcdf.a(fort-geninq.o).

This indicates that you either need to rebuild the netCDF library
using the "-n32" compiler option to be compatible with the way your
model was compiled (I think -n32 is the default for Irix platforms),
or you need to use the "-o32" compiler option when compiling your
model to be compatible with the way the netCDF library was built.

You could also set the environmental variable SGI_ABI to -o32 or -n32
before building both the library and your model, so that the compiler
and linker inherit that value.

--Russ

_____________________________________________________________________

Russ Rew                                         UCAR Unidata Program
address@hidden                     http://www.unidata.ucar.edu