Any problem with 1024 open files?

I just had to increase the maximum number of open files (MAXFILE) in px/pcompos.c from 512 to 1024 to complete my current rendering. I see from "ulimit -a" on my Linux machine that 1024 is my shell's limit. Can we either assume that users' limits are similarly high and reset MAXFILE for the next release, or can we perform some system check before opening more files than the shell will allow? (Or should I just accept that I try to push Radiance too far?)

Mark

I checked in an increase to 1024 inputs for pcompos and pcomb.

-Greg

ยทยทยท

From: Mark Stock <[email protected]>
Date: August 9, 2009 7:59:59 PM PDT

I just had to increase the maximum number of open files (MAXFILE) in px/pcompos.c from 512 to 1024 to complete my current rendering. I see from "ulimit -a" on my Linux machine that 1024 is my shell's limit. Can we either assume that users' limits are similarly high and reset MAXFILE for the next release, or can we perform some system check before opening more files than the shell will allow? (Or should I just accept that I try to push Radiance too far?)

Mark