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

Re: 20040818: Very large netCDF files



"Tom Black" <address@hidden> writes:

> Ed Hartnett wrote:
> 
> >OK possibly the install did not work.
> >
> >When you installed on the AIX, do you remember what environment
> >variables you set?
> >
> > Also did you set OBJECT_MODE=64 before compiling? Ed
> >
> >
> Improper installation is certainly a possibility.  I tried twice and
> each time I didn't really see any signficant complaints.  I used
> OBJECT_MODE=64 and -D_LARGE_FILES in CFLAGS and CXXFLAGS.  I also used
> the -X64 and -q64 options as they are listed in your examples online
> (for NMFLAGS, ARFLAGS, FC, etc.).  I did not specify -bmaxdata or
> -bmaxstack since it is my understanding that we don't need to do so on
> these machines.  Our SP's have standard word-size of 32-bits but use
> 64-bit addressing.
> 

I'm working right now with someone at NCAR trying to compile netcdf
for large files on an AIX cluster. 

We think that if you have OBJECT_MODE=64 and -D_LARGE_FILES it should
work. (My large file tests work anyway). But your calling program must
also be compiled with OBJECT_MODE=64 or you won't be able to link.

So you should be ready to go. Make sure your nc_create calls are using
the correct 64-bit offset cmode parameter.

Ed