maximum available number of WATCH points?

Moderators: michael_borland, soliday

Post Reply
jcytsai
Posts: 41
Joined: 01 Oct 2012, 20:18

maximum available number of WATCH points?

Post by jcytsai » 11 Jul 2015, 15:57

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.
Attachments
WATCH249.zip
(1.64 KiB) Downloaded 446 times

soliday
Posts: 405
Joined: 28 May 2008, 09:15

Re: maximum available number of WATCH points?

Post by soliday » 13 Jul 2015, 09:54

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.

jcytsai
Posts: 41
Joined: 01 Oct 2012, 20:18

Re: maximum available number of WATCH points?

Post by jcytsai » 13 Jul 2015, 11:41

It works! Thanks, Robert!

Post Reply