[ExM Users] Installing Swift/T 0.3.0 on Mac OS X Mountain Lion
Justin M Wozniak
wozniak at mcs.anl.gov
Thu Jun 13 16:01:34 CDT 2013
Can you send hello.swift?
On 06/13/2013 03:15 PM, Fan Zhang wrote:
> Hi Justin,
>
> 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.
> 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".
> "
> STC INTERNAL ERROR
> Please report this
> java.lang.NullPointerException
> at org.antlr.runtime.ANTLRStringStream.rewind(ANTLRStringStream.java:179)
> at org.antlr.runtime.ANTLRStringStream.rewind(ANTLRStringStream.java:189)
> at exm.stc.frontend.SwiftModule.parse(SwiftModule.java:46)
> at exm.stc.ui.STCompiler.parseFile(STCompiler.java:130)
> at exm.stc.ui.STCompiler.compile(STCompiler.java:63)
> at exm.stc.ui.Main.main(Main.java:93)
> "
>
> Thanks for your time.
>
> Regards,
>
> Fan
>
>
> On Thu, Jun 13, 2013 at 11:39 AM, Justin M Wozniak
> <wozniak at mcs.anl.gov <mailto:wozniak at mcs.anl.gov>> wrote:
>
>
> I just tested this on darwin12 with SWIG 2.0.9 and could not
> reproduce it.
>
> Can you send the generated SwiftBlob_wrap.c file and the output of
> make clean ; make V=1
>
>
> On 06/12/2013 01:30 PM, Fan Zhang wrote:
>> Hi Justin,
>>
>> I go the same errors after updating SWIG to 2.0.9.
>> "
>> SWIG Version 2.0.9
>>
>> Compiled with /usr/bin/clang++ [i386-apple-darwin12.2.0]
>> "
>>
>> Regards,
>>
>> Fan
>>
>>
>> On Wed, Jun 12, 2013 at 2:07 PM, Justin M Wozniak
>> <wozniak at mcs.anl.gov <mailto:wozniak at mcs.anl.gov>> wrote:
>>
>> Hi
>> 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.
>> Thanks
>> Justin
>>
>>
>> On 06/12/2013 10:45 AM, Fan Zhang wrote:
>>> Hi All,
>>>
>>> I'm trying to install Swift/T 0.3.0 on my macbook pro.
>>>
>>> When the setup script is building turbine, it gave the
>>> following errors:
>>>
>>> "
>>> CCsrc/tcl/blob/SwiftBlob_wrap.o
>>> src/tcl/blob/SwiftBlob_wrap.c:126: error: expected ‘=’, ‘,’,
>>> ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
>>> src/tcl/blob/SwiftBlob_wrap.c:127: error: expected ‘=’, ‘,’,
>>> ‘;’, ‘asm’ or ‘__attribute__’ before ‘swig_module’
>>> In file included from src/tcl/blob/SwiftBlob_wrap.c:138:
>>> src/tcl/blob/blob.h:54: error: expected ‘)’ before ‘bytes’
>>> src/tcl/blob/SwiftBlob_wrap.c:144: error: expected ‘)’
>>> before ‘clientData’
>>> src/tcl/blob/SwiftBlob_wrap.c:156: error: expected ‘)’
>>> before ‘clientData’
>>> src/tcl/blob/SwiftBlob_wrap.c:168: error: expected ‘)’
>>> before ‘clientData’
>>> src/tcl/blob/SwiftBlob_wrap.c:180: error: expected ‘)’
>>> before ‘clientData’
>>> src/tcl/blob/SwiftBlob_wrap.c:192: error: expected ‘)’
>>> before ‘clientData’
>>> src/tcl/blob/SwiftBlob_wrap.c:203: error: expected ‘)’
>>> before ‘clientData’
>>> src/tcl/blob/SwiftBlob_wrap.c: In function
>>> ‘swig_delete_turbine_blob’:
>>> src/tcl/blob/SwiftBlob_wrap.c:215: warning: implicit
>>> declaration of function ‘free’
>>> src/tcl/blob/SwiftBlob_wrap.c: At top level:
>>> src/tcl/blob/SwiftBlob_wrap.c:217: error: expected ‘=’, ‘,’,
>>> ‘;’, ‘asm’ or ‘__attribute__’ before ‘swig_turbine_blob_methods’
>>> src/tcl/blob/SwiftBlob_wrap.c:220: error: expected ‘=’, ‘,’,
>>> ‘;’, ‘asm’ or ‘__attribute__’ before
>>> ‘swig_turbine_blob_attributes’
>>> src/tcl/blob/SwiftBlob_wrap.c:225: error: expected ‘=’, ‘,’,
>>> ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
>>> src/tcl/blob/SwiftBlob_wrap.c:227: error: expected ‘=’, ‘,’,
>>> ‘;’, ‘asm’ or ‘__attribute__’ before ‘_wrap_class_turbine_blob’
>>> src/tcl/blob/SwiftBlob_wrap.c:229: error: expected ‘)’
>>> before ‘clientData’
>>> src/tcl/blob/SwiftBlob_wrap.c:242: error: expected ‘)’
>>> before ‘clientData’
>>> src/tcl/blob/SwiftBlob_wrap.c:255: error: expected ‘)’
>>> before ‘clientData’
>>> src/tcl/blob/SwiftBlob_wrap.c:267: error: expected ‘)’
>>> before ‘clientData’
>>> src/tcl/blob/SwiftBlob_wrap.c:278: error: expected ‘)’
>>> before ‘clientData’
>>> src/tcl/blob/SwiftBlob_wrap.c:289: error: expected ‘)’
>>> before ‘clientData’
>>> src/tcl/blob/SwiftBlob_wrap.c:301: error: expected ‘)’
>>> before ‘clientData’
>>> src/tcl/blob/SwiftBlob_wrap.c:313: error: expected ‘)’
>>> before ‘clientData’
>>> src/tcl/blob/SwiftBlob_wrap.c:325: error: expected ‘)’
>>> before ‘clientData’
>>> src/tcl/blob/SwiftBlob_wrap.c:337: error: expected ‘)’
>>> before ‘clientData’
>>> src/tcl/blob/SwiftBlob_wrap.c:349: error: expected ‘)’
>>> before ‘clientData’
>>> src/tcl/blob/SwiftBlob_wrap.c:361: error: expected ‘)’
>>> before ‘clientData’
>>> src/tcl/blob/SwiftBlob_wrap.c:373: error: expected ‘)’
>>> before ‘clientData’
>>> src/tcl/blob/SwiftBlob_wrap.c:386: error: expected ‘)’
>>> before ‘clientData’
>>> src/tcl/blob/SwiftBlob_wrap.c:399: error: expected ‘)’
>>> before ‘clientData’
>>> src/tcl/blob/SwiftBlob_wrap.c:412: error: expected ‘)’
>>> before ‘clientData’
>>> src/tcl/blob/SwiftBlob_wrap.c:423: error: expected ‘)’
>>> before ‘clientData’
>>> src/tcl/blob/SwiftBlob_wrap.c:436: error: expected ‘)’
>>> before ‘clientData’
>>> src/tcl/blob/SwiftBlob_wrap.c:449: error: expected ‘=’, ‘,’,
>>> ‘;’, ‘asm’ or ‘__attribute__’ before ‘swig_commands’
>>> src/tcl/blob/SwiftBlob_wrap.c:478: error: expected ‘=’, ‘,’,
>>> ‘;’, ‘asm’ or ‘__attribute__’ before ‘swig_variables’
>>> src/tcl/blob/SwiftBlob_wrap.c:482: error: expected ‘=’, ‘,’,
>>> ‘;’, ‘asm’ or ‘__attribute__’ before ‘swig_constants’
>>> src/tcl/blob/SwiftBlob_wrap.c:488: error: expected ‘=’, ‘,’,
>>> ‘;’, ‘asm’ or ‘__attribute__’ before ‘_swigt__p_turbine_blob’
>>> src/tcl/blob/SwiftBlob_wrap.c:490: error: expected ‘=’, ‘,’,
>>> ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
>>> src/tcl/blob/SwiftBlob_wrap.c:494: error: expected ‘=’, ‘,’,
>>> ‘;’, ‘asm’ or ‘__attribute__’ before ‘_swigc__p_turbine_blob’
>>> src/tcl/blob/SwiftBlob_wrap.c:496: error: expected ‘=’, ‘,’,
>>> ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
>>> src/tcl/blob/SwiftBlob_wrap.c:506: error: expected
>>> identifier or ‘(’ before ‘return’
>>> src/tcl/blob/SwiftBlob_wrap.c:507: error: expected
>>> identifier or ‘(’ before ‘}’ token
>>> src/tcl/blob/SwiftBlob_wrap.c:508: error: expected ‘)’
>>> before ‘*’ token
>>> make: *** [src/tcl/blob/SwiftBlob_wrap.o] Error 1
>>> exm-setup.zsh: turbine: make FAILED
>>> "
>>>
>>>
>>> Below is the configure command for turbine:
>>> "
>>> ./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
>>> "
>>>
>>> I have mpich-3.0.4, Swig 1.3.40, Tcl 8.5 installed. What
>>> could be the problems? Thanks a lot.
>>>
>>> Regards,
>>>
>>> Fan
>>> --
>>> The Applied Software Systems Laboratory (TASSL)
>>> Department of Electrical and Computer Engineering
>>> Rutgers, The State University of New Jersey
>>> Email: zhangfan at cac.rutgers.edu
>>> <mailto:zhangfan at cac.rutgers.edu>
>>> Personal web: http://sites.google.com/site/zhangfan198538
>>> Lab web: http://nsfcac.rutgers.edu/TASSL/
>>>
>>>
>>> _______________________________________________
>>> ExM-user mailing list
>>> ExM-user at lists.mcs.anl.gov <mailto:ExM-user at lists.mcs.anl.gov>
>>> https://lists.mcs.anl.gov/mailman/listinfo/exm-user
>>
>>
>> --
>> Justin M Wozniak
>>
>>
>>
>>
>> --
>> The Applied Software Systems Laboratory (TASSL)
>> Department of Electrical and Computer Engineering
>> Rutgers, The State University of New Jersey
>> Email: zhangfan at cac.rutgers.edu <mailto:zhangfan at cac.rutgers.edu>
>> Personal web: http://sites.google.com/site/zhangfan198538
>> Lab web: http://nsfcac.rutgers.edu/TASSL/
>
>
> --
> Justin M Wozniak
>
>
>
>
> --
> The Applied Software Systems Laboratory (TASSL)
> Department of Electrical and Computer Engineering
> Rutgers, The State University of New Jersey
> Email: zhangfan at cac.rutgers.edu <mailto:zhangfan at cac.rutgers.edu>
> Personal web: http://sites.google.com/site/zhangfan198538
> Lab web: http://nsfcac.rutgers.edu/TASSL/
--
Justin M Wozniak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/exm-user/attachments/20130613/cce76538/attachment-0001.html>
More information about the ExM-user
mailing list