AMBER Archive (2003)

Subject: Re: AMBER: large file for carnal

From: volodya (volodya_at_imb-jena.de)
Date: Tue Oct 07 2003 - 07:52:04 CDT


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_at_scripps.edu
>To unsubscribe, send "unsubscribe amber" to majordomo_at_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_at_scripps.edu To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu