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

Home » Public Forums » archive » get_lun & free_lun
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: get_lun & free_lun [message #89335 is a reply to message #89332] Tue, 19 August 2014 09:13 Go to previous messageGo to previous message
Yngvar Larsen is currently offline  Yngvar Larsen
Messages: 134
Registered: January 2010
Senior Member
On Tuesday, 19 August 2014 14:02:05 UTC+2, superchromix wrote:
> I just noticed that get_lun and free_lun are limited to unit numbers 100-128. That means an IDL application could have access to (at maximum) 29 files simultaneously.
>
>
>
> Is there any way around this, other than hard-coding logical unit numbers into your code?


1) Use idl_idlbridge. The new idl "child processes" get their own separate set of LUNs (but possibly limited by your OS: see eg "ulimit -n" and "sysctl -n kernel.maxfiles" on a linux system)

or

2) Close your files as soon as possible after you finish reading/writing what you need. (In what scenario do you need to keep more than 29 files open at the same time?)

--
Yngvar
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Generating N random numbers that add to a TOTAL
Next Topic: Customising ENVI water depths tool with IDL

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

Current Time: Sat Oct 11 08:59:21 PDT 2025

Total time taken to generate the page: 0.72483 seconds