Git Product home page Git Product logo

swift-k's Issues

Can not map stdout to a file

I am using version 0.96 with openmpi 3.1.2, gcc 8.2.0 and openjdk 1.6.
OS is centos-7 with intel haswell xeon processors.
When I try to run the tutorial case I get:
[pnichols@darwin-fe1 part01]$ swift p1.swift
Swift trunk git-rev: 5863615 heads/master 6751
RunID: run008
Progress: Fri, 07 Dec 2018 15:45:40-0700
Execution failed:
Exception in simulation:
Host: localhost
Directory: p1-run008/jobs/s/simulation-hgx1i10o-0
exception @ swift-int-staging.k, line: 187
providerStaging:execute2 @ swift.k, line: 126
executeSelect @ swift.k, line: 193
Caused by: Cannot find executable simulate on site system path
exception @ swift-int-staging.k, line: 182
Caused by: null
Caused by: org.globus.cog.abstraction.impl.common.execution.JobException: Job failed with an exit code of 254
k:assign @ swift.k, line: 157
swift:execute @ p1, line: 31
simulation @ p1, line: 9

It seems that the mappring between stdout and sim.out is not occurring.
Thank you for any advice you can give me on this.
Pat

null pointer dereference executing trivial program with release-0.96-swift branch

0.95 doesn't have this problem.

$ cat borked.swift
type file;
(file out_f) foo (file in_f)
{
  out_f = in_f;
}
$ swift borked.swift
Swift 0.96-RC1 git-rev: eac769b7580b1c7d108a20923af605915da9d5ee heads/release-0.96-swift 6273
RunID: run020
Progress: Wed, 04 Feb 2015 16:38:43-0500
Progress: Wed, 04 Feb 2015 16:38:44-0500  Stage out:1

Execution failed:
java.lang.NullPointerException
        assignment @ borked, line: 5
Caused by: java.lang.NullPointerException
        at org.globus.cog.abstraction.impl.common.task.ServiceContactImpl.parse(ServiceContactImpl.java:107)
        at org.globus.cog.abstraction.impl.common.task.ServiceContactImpl.<init>(ServiceContactImpl.java:46)
        at org.griphyn.vdl.karajan.lib.FileCopier.<init>(FileCopier.java:60)
        at org.griphyn.vdl.karajan.lib.SetFieldValue.copyNonComposite(SetFieldValue.java:344)
        at org.griphyn.vdl.karajan.lib.SetFieldValue.deepCopy(SetFieldValue.java:260)
        at org.griphyn.vdl.karajan.lib.SetFieldValue.deepCopy(SetFieldValue.java:233)
        at org.griphyn.vdl.karajan.lib.SetFieldValue.function(SetFieldValue.java:174)
        at org.griphyn.vdl.karajan.lib.SwiftFunction.runBody(SwiftFunction.java:77)
        at org.globus.cog.karajan.compiled.nodes.InternalFunction.run(InternalFunction.java:175)
        at org.globus.cog.karajan.compiled.nodes.CompoundNode.runChild(CompoundNode.java:110)
        at org.globus.cog.karajan.compiled.nodes.Sequential.run(Sequential.java:41)
        at org.globus.cog.karajan.compiled.nodes.CompoundNode.runChild(CompoundNode.java:110)
        at org.globus.cog.karajan.compiled.nodes.Sequential.run(Sequential.java:41)
        at org.globus.cog.karajan.compiled.nodes.user.Function.runBody(Function.java:117)
        at org.globus.cog.karajan.compiled.nodes.user.InvocationWrapper.runBody(InvocationWrapper.java:286)
        at org.globus.cog.karajan.compiled.nodes.user.InvocationWrapper.run(InvocationWrapper.java:89)
        at org.globus.cog.karajan.compiled.nodes.CompoundNode.runChild(CompoundNode.java:110)
        at org.globus.cog.karajan.compiled.nodes.user.CBFInvocationWrapper.run(CBFInvocationWrapper.java:97)
        at org.globus.cog.karajan.compiled.nodes.CompoundNode.runChild(CompoundNode.java:110)
        at org.globus.cog.karajan.compiled.nodes.user.InvocationWrapper.run(InvocationWrapper.java:86)
        at org.globus.cog.karajan.compiled.nodes.CompoundNode.runChild(CompoundNode.java:110)
        at org.globus.cog.karajan.compiled.nodes.Sequential.run(Sequential.java:41)
        at org.globus.cog.karajan.compiled.nodes.restartLog.RestartLog.runBody(RestartLog.java:126)
        at org.globus.cog.karajan.compiled.nodes.InternalFunction.run(InternalFunction.java:175)
        at org.globus.cog.karajan.compiled.nodes.CompoundNode.runChild(CompoundNode.java:110)
        at org.globus.cog.karajan.compiled.nodes.FramedInternalFunction.run(FramedInternalFunction.java:82)
        at k.thr.LWThread.run(LWThread.java:247)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:701)

Option -sitelist requires a script

This looks like a bug to me, because I do not see why -sitelist would requires a script to work. Here is the output:

$ swift -sitelist
Swift 0.96.1 git-rev: cdfedcd001993aee741777502c3367cb7da24b10 heads/release-0.96-swift 6281
No Swift script specified
make: *** [show-sites] Error 1

Best,
Aurelien

error in install

$ git clone https://github.com/swift-lang/swift-k.git swift-0.96
$ cd swift-0.96
$ ant redist
Buildfile: build.xml

cleanGenerated:

BUILD FAILED
/home/python/sf_box/swift-0.96/build.xml:415: Directory does not exist:/home/python/sf_box/swift-0.96/src/org/griphyn/vdl/model

Total time: 0 seconds src/org/griphyn/vdl/model

Do I need make new model folder ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.