This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
>To: address@hidden >From: kuldeep srivastava >Subject: Re: 64-bit SGI netcdf (fwd) >Organization: ? >Keywords: 200502041616.j14GGNv2028783 Kuldeep, > As you suggested ,I downloded netcdf library from > ftp://ftp.unidata.ucar.edu/pub/binary/irix64_6.5-mips/netcdf-3.6.0.tar.Z > But compiling my programme , it is giving error as > Expecting 64-bit objects :/vol1/kuldeep/netcdf/netcdf- > 3.6.0/lib/libnetcdf.a is a 32-bit. > > so sir I request you to send me NETCDF library that work for > SGI(ORIGIN) 64bit machine. The programme needs /usr/local/lib32/r4i4 > to configure. The binary we have precompiled for IRIX64 works for our SGI Octane machine that has /usr/local/lib32/r4i4 installed. It is a 32-bit executable with support for 64-bit file offsets. If you want a 64-bit executable, you will have to build from source, but that should be easy if you just follow the instructions here: http://my.unidata.ucar.edu/content/software/netcdf/docs/netcdf-install.html#Quick-Instructions-for-Installing-NetCDF-on-Unix The only environment variables you will have to set are these: CC=/bin/cc CFLAGS=-64 FC=/bin/f77 FFLAGS=-64 CXX=/bin/CC CXXFLAGS=-64 Then just run the "configure" script, "make test", and "make install". --Russ _____________________________________________________________________ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu/staff/russ