<div>Arthur,<br></div><div><br></div><div>Thanks for clarification and one more way to work around this problem.</div><div><br></div><div>-Igor</div><br><div class="gmail_quote">On Wed, Jan 27, 2010 at 12:04 AM, Arthur Snoke <span dir="ltr">&lt;<a href="mailto:snoke@vt.edu">snoke@vt.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">In the HISTORY file that accompanies the version of SAC you are using, it says ...<br>
<br>
<br>
    - Known Bugs/deficiencies<br>
       - SSS traveltimes command (endian issue)<br>
       - do file wild  segmentation fault with a large number of files<br>
<br>
This bug will be corrected in the next release.<br>
<br>
When I first found this bug some years ago, I found it was not the number of files but the number of cumulative characters in the filespecs.  The way we have gotten around it for now is to break up the list into several pieces:<br>

do file wild [A-J]*bhz<br>
  enddo<br>
do file wild [K-N]*bhz<br>
  enddo<br>
<br>
I think this has been discussed before in sac-help exchanges.<div><div class="h5"><br>
<br>
On Tue, 26 Jan 2010, Igor Stubailo wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
This is an update to my original message about &quot;do file wild *SAC&quot; problem.<br>
Katie Boyle helped me to figure out what was happening.<br>
<br>
So, the problem is with the sac memory limit. The  script works fine with a<br>
few files but when I increase the number of them to 150, sac fails with the<br>
segfault. Apparently, &quot;do file wild *SAC&quot; wants to fit all *SAC data into<br>
the buffer and cannot. <br>
The data files are 1 sps, 2 hour long LHZs. Each file is 29K (29436) long.<br>
<br>
My sac version is the latest and greatest ver. 101.3b.<br>
Is there a way to increase the total data size limit that can be used in<br>
sac?<br>
<br>
The workaround in my case is to read the sac files one by one through the<br>
loop in the tshell outside sac.<br>
<br>
Thanks,<br>
Igor<br>
<br>
</blockquote>
</div></div></blockquote></div><br>