[Swift-devel] Swift compile issues on IBI cluster

Tim Armstrong tim.g.armstrong at gmail.com
Fri Jan 21 16:55:01 CST 2011


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/swift-devel/attachments/20110121/5b4f5e4c/attachment.html>


More information about the Swift-devel mailing list