Page 1 of 1

maximum available number of WATCH points?

Posted: 11 Jul 2015, 15:57
by jcytsai
Hello,

I am wondering if there exists a maximum available number of WATCH points used in a beamline. If so, is it possible to resolve this issue anyway? Attached is a simple drift with WATCH points added. When the number of WATCH points is increased to 249, there is an error message showing below:
-----
Error:
Unable to open file test-249.w1 for writing (SDDS_InitializeOutput)
-----
Thanks for help!
Cheng-Ying
ps. I am using 27.1.0 version.

Re: maximum available number of WATCH points?

Posted: 13 Jul 2015, 09:54
by soliday
OSX has a default limit of 256 open files at one time. You can change that by first running:
ulimit -n 1024
ulimit -u 1024

After setting this, I was able to run elegant on your input files without any problems.
You can put these two commands in your .bash_profile to make the setting persistant.

Re: maximum available number of WATCH points?

Posted: 13 Jul 2015, 11:41
by jcytsai
It works! Thanks, Robert!