[Swift-devel] Swift compile issues on IBI cluster

Allan Espinosa aespinosa at cs.uchicago.edu
Fri Jan 21 21:07:46 CST 2011


Hi Tim,

What's the version of java on IBI that the Swift runtime uses?

-Allan

2011/1/21 Tim Armstrong <tim.g.armstrong at gmail.com>:
> Hi,
>   I'm trying to get a Swift script running on the IBI cluster but have been
> running into some issues.  I'm using a recent development version 3029.
> Running the script fails at the compile stage.
>
> Strangely, this script compiles without issue using exactly the same swift
> on other machines.
> Even more strangely, it looks like the swift ->  intermediate xml step
> completes without any exceptions being thrown, but when I look at the xml
> file it contains precisely zero bytes.  It appears that this is what
> actually causes the karajan parser to crash.
> What would cause the first compile step to complete without causing an
> exception but not produce any output?  Do we maybe have a buffering issue?
> Any suggestions for how I might solve this?
>
> The log contents are:
>
> 2011-01-21 16:43:13,448-0600 DEBUG Loader Max heap: 238616576
> 2011-01-21 16:43:13,449-0600 INFO  Loader rserver.swift: source file is new.
> Recompiling.
> 2011-01-21 16:43:13,919-0600 DEBUG Loader Detailed exception:
> org.griphyn.vdl.karajan.CompilationException: Unable to parse intermediate
> XML
>         at org.griphyn.vdl.engine.Karajan.compile(Karajan.java:98)
>         at org.griphyn.vdl.karajan.Loader.compile(Loader.java:300)
>         at org.griphyn.vdl.karajan.Loader.main(Loader.java:145)
> Caused by: org.apache.xmlbeans.XmlException:
> /tmp/tga/SwiftR/swift.local.2306/rserver.xml:2:1: error: Unexpected end of
> file after null
>         at
> org.apache.xmlbeans.impl.store.Locale$SaxLoader.load(Locale.java:3467)
>         at
> org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1270)
>         at
> org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1257)
>         at
> org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:345)
>         at
> org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:252)
>         at
> org.globus.swift.language.ProgramDocument$Factory.parse(ProgramDocument.java:499)
>         at org.griphyn.vdl.engine.Karajan.parseProgramXML(Karajan.java:122)
>         at org.griphyn.vdl.engine.Karajan.compile(Karajan.java:96)
>         ... 2 more
> Caused by: org.xml.sax.SAXParseException: Unexpected end of file after null
>         at
> org.apache.xmlbeans.impl.piccolo.xml.Piccolo.reportFatalError(Piccolo.java:1038)
>         at
> org.apache.xmlbeans.impl.piccolo.xml.Piccolo.parse(Piccolo.java:723)
>         at
> org.apache.xmlbeans.impl.store.Locale$SaxLoader.load(Locale.java:3435)
>         ... 9 more
>
>
>
>



More information about the Swift-devel mailing list