AMBER Archive (2003)Subject: Re: AMBER: large file for carnal
From: Bill Ross (ross_at_cgl.ucsf.edu)
Date: Tue Nov 04 2003 - 14:19:19 CST
> > mdpme4_g.mdcrd: sys err Value too large for defined data type
> > ... Linux ...
>
> There is probably some sort of extended (64-bit) file system
> involved. In amber/src/carnal/util.c:
>
> if (stat(path, &sbuf) == -1) {
>
> The call to 'stat()' should probably be something like 'stat_64()'
> for your machine:
>
> % man stat
>
> to see if such a call exists.
Probably this would also need to be changed:
struct stat sbuf;
It appears that linux uses stat64 for this - see /usr/include/sys/stat.h
There are multiple places in util.c where stat() might become stat64()
and 'struct stat' 'struct stat64'.
I think the direction these days is to "clean up" this feature of operating
systems, where different stat() calls are not used.
Bill Ross
-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber_at_scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu
|