AMBER Archive (2003)

Subject: Re: carnal in big systems

From: Bill Ross (photoriot_at_yahoo.com)
Date: Tue Jul 08 2003 - 14:22:09 CDT


> I have a crd file with the information of
> 100 ps (5 Gb) ...
> stream: opening heatall630.crd
> heatall630.crd: sys err Value too large
> for defined data type

Probably you are using an operating system that
requires a special data type to look at larger
files. In util.c you will see:

   struct stat sbuf;

Likely as not, your OS requires 'struct stat' to be
'struct stat_64' or some such; "man stat" might tell
you the exact details. The replacement should probably
be made everywhere you see 'struct stat'. Note that
this will break the code for machines without the
extended file system convention.

Bill Ross