swift-lang / swift-k Goto Github PK
View Code? Open in Web Editor NEWHome Page: http://swift-lang.org
License: Apache License 2.0
Home Page: http://swift-lang.org
License: Apache License 2.0
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
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)
In http://swift-lang.org/guides/release-0.96/quickstart/quickstart.html, there is a line
export PATH=$PATH:/path/to/swift-0.96.2/bin
Some new users don't realize that they shouldn't type this directly, but need to replace "/path/to" with the path to their swift. The documentation should state this.
The master
branch has a valid .travis.yml file, but travis isn't building anything.
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
$ 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 ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.