Re: AMBER: large file for carnal

From: volodya <volodya.imb-jena.de>
Date: Tue, 07 Oct 2003 14:52:04 +0200

Thank you very much. Now it works.

Bill Ross wrote:

>>>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.scripps.edu
>To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
>
>
>

-- 
Volodymyr Nechiporuk-Zloy
Institute of Molecular Biotechnology <http://www.imb-jena.de>
Dept. Single Cell and Single Molecule Techniques 
<http://www.imb-jena.de/www_kog/>
Beutenbergstrasse 11
D - 07745 Jena
Germany
Phone: *49 3641 656169
Fax:      *49 3641 656166
-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber.scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
Received on Thu Nov 06 2003 - 14:53:01 PST
Custom Search