<div dir="ltr">Hi Justin,<div><br></div><div style>� � Thanks for your testing and reply. I just made a clean reinstall and can successfully build turbine and stc now. I have been only using the exm-setup.zsh to build it, probably there are some object files were not cleared after I installed the mpich 3.0.4.</div>
<div style>� � However, when I was running stc to compile a simple swift script, it gave the error below. The command I used is "stc hello.swift hello.tcl".</div><div style>"</div><div style><div>STC INTERNAL ERROR</div>
<div>Please report this</div><div>java.lang.NullPointerException</div><div><span class="" style="white-space:pre">      </span>at org.antlr.runtime.ANTLRStringStream.rewind(ANTLRStringStream.java:179)</div><div><span class="" style="white-space:pre">  </span>at org.antlr.runtime.ANTLRStringStream.rewind(ANTLRStringStream.java:189)</div>
<div><span class="" style="white-space:pre">    </span>at exm.stc.frontend.SwiftModule.parse(SwiftModule.java:46)</div><div><span class="" style="white-space:pre"> </span>at exm.stc.ui.STCompiler.parseFile(STCompiler.java:130)</div>
<div><span class="" style="white-space:pre">    </span>at exm.stc.ui.STCompiler.compile(STCompiler.java:63)</div><div><span class="" style="white-space:pre">       </span>at exm.stc.ui.Main.main(Main.java:93)</div><div>"</div>
</div><div style><br></div><div style>� � Thanks for your time.</div><div style><br></div><div style>Regards,</div><div style><br></div><div style>Fan</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 13, 2013 at 11:39 AM, Justin M Wozniak <span dir="ltr"><<a href="mailto:wozniak@mcs.anl.gov" target="_blank">wozniak@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div><br>
      I just tested this on darwin12 with SWIG 2.0.9 and could not
      reproduce it.� <br>
      <br>
      Can you send the generated SwiftBlob_wrap.c file and the output of
      make clean ; make V=1<div><div class="h5"><br>
      <br>
      On 06/12/2013 01:30 PM, Fan Zhang wrote:<br>
    </div></div></div><div><div class="h5">
    <blockquote type="cite">
      <div dir="ltr">Hi Justin,
        <div><br>
        </div>
        <div>� � I go the same errors after updating SWIG to
          2.0.9.�</div>
        <div>"</div>
        <div>
          <div>SWIG Version 2.0.9</div>
          <div><br>
          </div>
          <div>Compiled with /usr/bin/clang++ [i386-apple-darwin12.2.0]</div>
        </div>
        <div>"</div>
        <div><br>
        </div>
        <div>Regards,</div>
        <div><br>
        </div>
        <div>Fan</div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Wed, Jun 12, 2013 at 2:07 PM, Justin
          M Wozniak <span dir="ltr"><<a href="mailto:wozniak@mcs.anl.gov" target="_blank">wozniak@mcs.anl.gov</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000">
              <div>Hi<br>
                �� I think the issue may be that we have not tested with
                SWIG prior to 2.0.4.� Can you update SWIG to 2.0.4 or
                newer and try again?� If this is the issue, I will
                update the installation guides and checks.� <br>
                ��� Thanks<br>
                ��� Justin
                <div>
                  <div><br>
                    <br>
                    On 06/12/2013 10:45 AM, Fan Zhang wrote:<br>
                  </div>
                </div>
              </div>
              <blockquote type="cite">
                <div>
                  <div>
                    <div dir="ltr">
                      <div>Hi All,</div>
                      <div><br>
                      </div>
                      <div>I'm trying to install Swift/T 0.3.0 on my
                        macbook pro.</div>
                      <div><br>
                      </div>
                      <div>When the setup script is building turbine, it
                        gave the following errors:</div>
                      <div><br>
                      </div>
                      <div>"</div>
                      <div>
                        <div>� CC<span style="white-space:pre-wrap"> </span>src/tcl/blob/SwiftBlob_wrap.o</div>
                        <div>src/tcl/blob/SwiftBlob_wrap.c:126: error:
                          expected �=�, �,�, �;�, �asm� or
                          �__attribute__� before �*� token</div>
                        <div>src/tcl/blob/SwiftBlob_wrap.c:127: error:
                          expected �=�, �,�, �;�, �asm� or
                          �__attribute__� before �swig_module�</div>
                        <div>In file included from
                          src/tcl/blob/SwiftBlob_wrap.c:138:</div>
                        <div>src/tcl/blob/blob.h:54: error: expected �)�
                          before �bytes�</div>
                        <div>src/tcl/blob/SwiftBlob_wrap.c:144: error:
                          expected �)� before �clientData�</div>
                        <div>src/tcl/blob/SwiftBlob_wrap.c:156: error:
                          expected �)� before �clientData�</div>
                        <div>src/tcl/blob/SwiftBlob_wrap.c:168: error:
                          expected �)� before �clientData�</div>
                        <div>src/tcl/blob/SwiftBlob_wrap.c:180: error:
                          expected �)� before �clientData�</div>
                        <div>src/tcl/blob/SwiftBlob_wrap.c:192: error:
                          expected �)� before �clientData�</div>
                        <div>src/tcl/blob/SwiftBlob_wrap.c:203: error:
                          expected �)� before �clientData�</div>
                        <div>src/tcl/blob/SwiftBlob_wrap.c: In function
                          �swig_delete_turbine_blob�:</div>
                        <div>src/tcl/blob/SwiftBlob_wrap.c:215: warning:
                          implicit declaration of function �free�</div>
                        <div>src/tcl/blob/SwiftBlob_wrap.c: At top
                          level:</div>
                        <div>src/tcl/blob/SwiftBlob_wrap.c:217: error:
                          expected �=�, �,�, �;�, �asm� or
                          �__attribute__� before
                          �swig_turbine_blob_methods�</div>
                        <div>src/tcl/blob/SwiftBlob_wrap.c:220: error:
                          expected �=�, �,�, �;�, �asm� or
                          �__attribute__� before
                          �swig_turbine_blob_attributes�</div>
                        <div>src/tcl/blob/SwiftBlob_wrap.c:225: error:
                          expected �=�, �,�, �;�, �asm� or
                          �__attribute__� before �*� token</div>
                        <div>src/tcl/blob/SwiftBlob_wrap.c:227: error:
                          expected �=�, �,�, �;�, �asm� or
                          �__attribute__� before
                          �_wrap_class_turbine_blob�</div>
                        <div>src/tcl/blob/SwiftBlob_wrap.c:229: error:
                          expected �)� before �clientData�</div>
                        <div>src/tcl/blob/SwiftBlob_wrap.c:242: error:
                          expected �)� before �clientData�</div>
                        <div>src/tcl/blob/SwiftBlob_wrap.c:255: error:
                          expected �)� before �clientData�</div>
                        <div>src/tcl/blob/SwiftBlob_wrap.c:267: error:
                          expected �)� before �clientData�</div>
                        <div>src/tcl/blob/SwiftBlob_wrap.c:278: error:
                          expected �)� before �clientData�</div>
                        <div>src/tcl/blob/SwiftBlob_wrap.c:289: error:
                          expected �)� before �clientData�</div>
                        <div>src/tcl/blob/SwiftBlob_wrap.c:301: error:
                          expected �)� before �clientData�</div>
                        <div>src/tcl/blob/SwiftBlob_wrap.c:313: error:
                          expected �)� before �clientData�</div>
                        <div>src/tcl/blob/SwiftBlob_wrap.c:325: error:
                          expected �)� before �clientData�</div>
                        <div>src/tcl/blob/SwiftBlob_wrap.c:337: error:
                          expected �)� before �clientData�</div>
                        <div>src/tcl/blob/SwiftBlob_wrap.c:349: error:
                          expected �)� before �clientData�</div>
                        <div>src/tcl/blob/SwiftBlob_wrap.c:361: error:
                          expected �)� before �clientData�</div>
                        <div>src/tcl/blob/SwiftBlob_wrap.c:373: error:
                          expected �)� before �clientData�</div>
                        <div>src/tcl/blob/SwiftBlob_wrap.c:386: error:
                          expected �)� before �clientData�</div>
                        <div>src/tcl/blob/SwiftBlob_wrap.c:399: error:
                          expected �)� before �clientData�</div>
                        <div>src/tcl/blob/SwiftBlob_wrap.c:412: error:
                          expected �)� before �clientData�</div>
                        <div>src/tcl/blob/SwiftBlob_wrap.c:423: error:
                          expected �)� before �clientData�</div>
                        <div>src/tcl/blob/SwiftBlob_wrap.c:436: error:
                          expected �)� before �clientData�</div>
                        <div>src/tcl/blob/SwiftBlob_wrap.c:449: error:
                          expected �=�, �,�, �;�, �asm� or
                          �__attribute__� before �swig_commands�</div>
                        <div>src/tcl/blob/SwiftBlob_wrap.c:478: error:
                          expected �=�, �,�, �;�, �asm� or
                          �__attribute__� before �swig_variables�</div>
                        <div>src/tcl/blob/SwiftBlob_wrap.c:482: error:
                          expected �=�, �,�, �;�, �asm� or
                          �__attribute__� before �swig_constants�</div>
                        <div>src/tcl/blob/SwiftBlob_wrap.c:488: error:
                          expected �=�, �,�, �;�, �asm� or
                          �__attribute__� before
                          �_swigt__p_turbine_blob�</div>
                        <div>src/tcl/blob/SwiftBlob_wrap.c:490: error:
                          expected �=�, �,�, �;�, �asm� or
                          �__attribute__� before �*� token</div>
                        <div>src/tcl/blob/SwiftBlob_wrap.c:494: error:
                          expected �=�, �,�, �;�, �asm� or
                          �__attribute__� before
                          �_swigc__p_turbine_blob�</div>
                        <div>src/tcl/blob/SwiftBlob_wrap.c:496: error:
                          expected �=�, �,�, �;�, �asm� or
                          �__attribute__� before �*� token</div>
                        <div>src/tcl/blob/SwiftBlob_wrap.c:506: error:
                          expected identifier or �(� before �return�</div>
                        <div>src/tcl/blob/SwiftBlob_wrap.c:507: error:
                          expected identifier or �(� before �}� token</div>
                        <div>src/tcl/blob/SwiftBlob_wrap.c:508: error:
                          expected �)� before �*� token</div>
                        <div>make: *** [src/tcl/blob/SwiftBlob_wrap.o]
                          Error 1</div>
                        <div>exm-setup.zsh: turbine: make FAILED</div>
                      </div>
                      <div>"</div>
                      <div> <br>
                      </div>
                      <div><br>
                      </div>
                      <div>Below is the configure command for turbine:</div>
                      <div>"</div>
                      <div>./configure --config-cache
                        --prefix=/Users/zhangfan/Documents/open-source-software/Active/exm-0.3.0/exm-install/turbine

                        --with-tcl=/usr/ --with-mpi=/opt/local
--with-c-utils=/Users/zhangfan/Documents/open-source-software/Active/exm-0.3.0/exm-install/c-utils--with-adlb=/Users/zhangfan/Documents/open-source-software/Active/exm-0.3.0/exm-install/lb<br>
                      </div>
                      <div>"</div>
                      <div><br>
                      </div>
                      <div>I have mpich-3.0.4, Swig 1.3.40, Tcl 8.5
                        installed. What could be the problems? Thanks a
                        lot.</div>
                      <br clear="all">
                      <div>Regards,</div>
                      <div><br>
                      </div>
                      <div>Fan</div>
                      -- <br>
                      The Applied Software Systems Laboratory (TASSL)<br>
                      Department of Electrical and Computer Engineering<br>
                      Rutgers, The State University of New Jersey<br>
                      Email: <a href="mailto:zhangfan@cac.rutgers.edu" target="_blank">zhangfan@cac.rutgers.edu</a><br>
                      Personal web: <a href="http://sites.google.com/site/zhangfan198538" target="_blank">http://sites.google.com/site/zhangfan198538</a><br>
                      Lab web: <a href="http://nsfcac.rutgers.edu/TASSL/" target="_blank">http://nsfcac.rutgers.edu/TASSL/</a>
                    </div>
                    <br>
                    <fieldset></fieldset>
                    <br>
                  </div>
                </div>
                <pre>_______________________________________________
ExM-user mailing list
<a href="mailto:ExM-user@lists.mcs.anl.gov" target="_blank">ExM-user@lists.mcs.anl.gov</a>
<a href="https://lists.mcs.anl.gov/mailman/listinfo/exm-user" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/exm-user</a><span><font color="#888888">
</font></span></pre>
                <span><font color="#888888"> </font></span></blockquote>
              <span><font color="#888888"> <br>
                  <br>
                  <pre cols="72">-- 
Justin M Wozniak
</pre>
                </font></span></div>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        The Applied Software Systems Laboratory (TASSL)<br>
        Department of Electrical and Computer Engineering<br>
        Rutgers, The State University of New Jersey<br>
        Email: <a href="mailto:zhangfan@cac.rutgers.edu" target="_blank">zhangfan@cac.rutgers.edu</a><br>
        Personal web: <a href="http://sites.google.com/site/zhangfan198538" target="_blank">http://sites.google.com/site/zhangfan198538</a><br>
        Lab web: <a href="http://nsfcac.rutgers.edu/TASSL/" target="_blank">http://nsfcac.rutgers.edu/TASSL/</a>
      </div>
    </blockquote>
    <br>
    <br>
    </div></div><span class="HOEnZb"><font color="#888888"><pre cols="72">-- 
Justin M Wozniak
</pre>
  </font></span></div>

</blockquote></div><br><br clear="all"><div><br></div>-- <br>The Applied Software Systems Laboratory (TASSL)<br>Department of Electrical and Computer Engineering<br>Rutgers, The State University of New Jersey<br>Email: <a href="mailto:zhangfan@cac.rutgers.edu" target="_blank">zhangfan@cac.rutgers.edu</a><br>
Personal web: <a href="http://sites.google.com/site/zhangfan198538" target="_blank">http://sites.google.com/site/zhangfan198538</a><br>Lab web: <a href="http://nsfcac.rutgers.edu/TASSL/" target="_blank">http://nsfcac.rutgers.edu/TASSL/</a>
</div>