<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div></div><div><br></div><div>ps. i also put this Makefile into the svn version, you could just use: &gt; svn update</div><div><br></div><div><br></div><div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div><div>--</div><div>Daniel Peter</div><div>Department of Geosciences</div><div>318 Guyot Hall</div><div>Princeton University&nbsp;</div><div><div>Princeton, NJ 08540, USA&nbsp;</div></div><div><br></div></div></div>Tel: +1 (609) 258-5031</div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">url: <a href="http://www.princeton.edu/~dpeter">http://www.princeton.edu/~dpeter</a></div></span></div></span></div></span></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"> </div><br><div><div>On Feb 7, 2012, at 2:45 PM, Shahar Barak wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><div dir="ltr">Hi,<br><br>I am trying to compare the SPECFEM3D_GLOBE synthetic seismograms with real seismograms.<br>I am trying to use the provided script <a href="http://process_syn.pl">process_syn.pl</a> and I don't know how to get the asc2sac to run.<br> The ascii2sac.csh file says:<br><span style="color:rgb(51,51,255)"># uses `asc2sac` binary which can be compiled from UTILS/lib/asc2sac.c</span><br style="color:rgb(51,51,255)"><span style="color:rgb(51,51,255)"># (requires SAC libraries for compilation)</span><br> How do I compile asc2sac.c?<br>I tried runnning: gcc UTILS/lib/asc2sac.c and got:<br clear="all"><span style="color:rgb(51,51,255)">UTILS/lib/asc2sac.c: In function 'asc2sac':</span><br style="color:rgb(51,51,255)"> <span style="color:rgb(51,51,255)">UTILS/lib/asc2sac.c:32: error: 'sac_int_t' undeclared (first use in this function)</span><br style="color:rgb(51,51,255)"><span style="color:rgb(51,51,255)">UTILS/lib/asc2sac.c:32: error: (Each undeclared identifier is reported only once</span><br style="color:rgb(51,51,255)"> <span style="color:rgb(51,51,255)">UTILS/lib/asc2sac.c:32: error: for each function it appears in.)</span><br style="color:rgb(51,51,255)"><span style="color:rgb(51,51,255)">UTILS/lib/asc2sac.c:32: error: expected ';' before 'npts'</span><br style="color:rgb(51,51,255)"> <span style="color:rgb(51,51,255)">UTILS/lib/asc2sac.c:54: error: 'max_npts' undeclared (first use in this function)</span><br style="color:rgb(51,51,255)"><span style="color:rgb(51,51,255)">UTILS/lib/asc2sac.c:55: error: 'npts' undeclared (first use in this function)</span><br style="color:rgb(51,51,255)"> <span style="color:rgb(51,51,255)">UTILS/lib/asc2sac.c:55: error: 'nconv' undeclared (first use in this function)</span><br style="color:rgb(51,51,255)"><span style="color:rgb(51,51,255)">UTILS/lib/asc2sac.c:80: error: 'nerr' undeclared (first use in this function)</span><br style="color:rgb(51,51,255)"> <span style="color:rgb(51,51,255)">UTILS/lib/asc2sac.c:83: error: 'itmp' undeclared (first use in this function)</span><br><br>Help...<br><br>Thanks,<br><br>Shahar<br>-- <br><div dir="ltr"><span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><font style="font-family:tahoma,sans-serif" size="2">Shahar Barak<br> =======================================<br></font></span></span></span><span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><font style="font-family:tahoma,sans-serif" size="2"><b>Crustal Geophysics Research Group</b></font></span></span></span><br> <span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><font style="font-family:tahoma,sans-serif" size="2"><b>Department of Geophysics, Stanford University</b><br> 397 Panama Mall, Stanford CA 94305-2215 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br></font></span></span></span><span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><font style="font-family:tahoma,sans-serif" size="2">Mitchell Building, room 463<br> </font></span></span></span><span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><font style="font-family:tahoma,sans-serif" size="2">Office: (650) 725 8229<br> Cell: (650) 276 6169<br>Home: (650) 497 3818<br><a href="mailto:shaharb@stanford.edu" target="_blank">shaharb@stanford.edu</a></font></span></span></span><font style="font-family:tahoma,sans-serif" size="2"><b style="color:rgb(0,153,0)"><br> </b></font></div><br> </div> _______________________________________________<br>CIG-SEISMO mailing list<br><a href="mailto:CIG-SEISMO@geodynamics.org">CIG-SEISMO@geodynamics.org</a><br>http://geodynamics.org/cgi-bin/mailman/listinfo/cig-seismo<br></blockquote></div><br></div></body></html>