parallel netcdf largefile problem on huygens.sara.nl
Rob Latham
robl at mcs.anl.gov
Tue Jul 14 11:48:35 CDT 2009
On Tue, Jul 14, 2009 at 11:36:00AM -0500, Galen Arnold wrote:
> I've built parallel netcdf 1.0.3 on huygens.sara.nl [a power6
> machine running linux]. Even though the build claims largefile
> support:
>
> arnoldg at p6012:~/parallel-netcdf-1.0.3> grep off_t config.log
> configure:8287: checking for off_t
> configure:12729: checking for off_t
> configure:12787: checking size of off_t
> ac_cv_sizeof_off_t=8
> ac_cv_type_off_t=yes
> arnoldg at p6012:~/parallel-netcdf-1.0.3> tail galen.config
>
> parallel-netCDF features:
> . parallel-netcdf configured WITH support for large files
> . parallel-netcdf configured WITH fortran bindings
> . parallel-netcdf configured WITH nonblocking routines
> arnoldg at p6012:~/parallel-netcdf-1.0.3>
You've correctly built pnetcdf for large file support but...
> ...runtime errors occur unless I keep the filesize < 2G :
>
> 51:** error **
> 37:** error **
> 45:** error **
> 49:** error **
> 51:ERROR in IOR.c (line 2165): file size must be < 2GiB.
... this is a problem with the IOR benchmark. I don't use IOR's
pnetcdf interface very often, but it looks like that interface was
added a long time ago, before pnetcdf supported files larger than 2GB
in size.
You can delete the test at line 2165. If your version of IOR is new
enough, it will contain the appropriate flag for large file support
already (I see it is in at least 2.10.1)
==rob
--
Rob Latham
Mathematics and Computer Science Division
Argonne National Lab, IL USA
More information about the parallel-netcdf
mailing list