comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Trouble writing very large files
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Trouble writing very large files [message #62650 is a reply to message #62649] Mon, 29 September 2008 06:31 Go to previous messageGo to previous message
Vince Hradil is currently offline  Vince Hradil
Messages: 574
Registered: December 1999
Senior Member
On Sep 27, 5:16 pm, Craig Markwardt
<craigm...@REMOVEcow.physics.wisc.edu> wrote:
> Vince Hradil <vincehra...@gmail.com> writes:
>> I want to write a very large array to a file.  I'm trying:
>
>> array = intarr(640,640,1073,15) ;; 13,185,024,000 bytes!
>
>> openw, lun, 'foo.dat', /get_lun
>> writeu, lun, array
>> free_lun, lun
>
>> IDL crashes when the writeu fires up.
>
> Wait, if IDL crashes, how were you able to check the file pointer
> location afterward???  If you mean that IDL reported an error but
> continued to run, what was the error?
>
> Craig
>
>
>
>
>
>> print, !version
>> { x86_64 Win32 Windows Microsoft Windows 7.0 Oct 25 2007      64
>> 64}
>
>> The pointer seems to expand okay:
>
>> IDL> point_lun, -lun, pos
>> IDL> help, pos
>> POS             LONG      =            0
>> IDL> point_lun, lun, 640ll * 640ll * 1073ll * 15ll * 2ll
>> IDL> point_lun, -lun, pos
>> IDL> help, pos
>> POS             LONG64    =            13185024000
>> IDL> point_lun, lun, 0
>> IDL> point_lun, -lun, pos
>> IDL> help, pos
>> POS             LONG      =            0
>
> --
> ------------------------------------------------------------ --------------
> Craig B. Markwardt, Ph.D.      EMAIL: cbmarkwardt+use...@gmail.com
> ------------------------------------------------------------ --------------

IDL crashes when I let it try to write the file. However, I can do
the commands that I typed manipulating the pointer. Sorry it wasn't
that clear. So, to summarize - The point_lun commands seems to work
fine, but the writeu command crashes.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: HDF question - how to make a copy of the structure?
Next Topic: Re: block fill image

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 09:20:56 PDT 2025

Total time taken to generate the page: 0.71778 seconds