"OptiML getting started from source" is not compiling

67 views
Skip to first unread message

Jun Suzuki

unread,
Dec 16, 2013, 11:55:41 AM12/16/13
to opt...@googlegroups.com
Hi, I am interested in OptiML and trying to compile the "getting started" example from source.
 
However, I have a truble at the last command.
Any help for this?
 
bin/update ppl.dsl.forge.dsls.optiml.OptiMLDSLRunner OptiML
...
[info] Compiling 69 Scala sources to /home/jun/code/stanfordppl/Forge/published/OptiML/compiler/target/scala-2.10/classes...
[info] Compiling 71 Scala sources to /home/jun/code/stanfordppl/Forge/published/OptiML/library/target/scala-2.10/classes...
[error] /home/jun/code/stanfordppl/Forge/published/OptiML/compiler/src/optiml/compiler/Arrays.scala:6: not found: object ppl
[error] import ppl.delite.framework.codegen.delite.overrides._
[error]        ^
[error] /home/jun/code/stanfordppl/Forge/published/OptiML/compiler/src/optiml/compiler/Arrays.scala:7: not found: object ppl
[error] import ppl.delite.framework.ops.DeliteOpsExp
[error]        ^
[error] /home/jun/code/stanfordppl/Forge/published/OptiML/compiler/src/optiml/compiler/Arrays.scala:8: not found: object ppl
[error] import ppl.delite.framework.datastructures._
...
 
I am using Ubuntu 12.04, sbt0.12, jdk1.7, scala 2.10.3, and python2.6
 
Thank you, 
Jun
 

Arvind Sujeeth

unread,
Dec 17, 2013, 12:03:46 AM12/17/13
to opt...@googlegroups.com
hi Jun,

It looks like SBT can't find the compiled Delite class files. Can you paste the output from running
sbt "; project framework; publish-local; project runtime; publish-local; project delite-test; publish-local"

from the root of the Delite repo, as well as the output from running

sbt update

from the root of the Forge repo?

thanks,
Arvind
--
You received this message because you are subscribed to the Google Groups "OptiML" group.
To unsubscribe from this group and stop receiving emails from it, send an email to optiml+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Jun Suzuki

unread,
Dec 17, 2013, 2:53:09 AM12/17/13
to opt...@googlegroups.com
Hi, Arvind,
 
Thank you for your reply.
I paste the output.
 
jun@napa:~/code/stanfordppl/Delite$ sbt ";project framework; publish-local; project runtime; publish-local; project delite-test; publish-local"
[info] Loading project definition from /home/jun/code/stanfordppl/Delite/project
[info] Set current project to delite (in build file:/home/jun/code/stanfordppl/Delite/)
[info] Set current project to framework (in build file:/home/jun/code/stanfordppl/Delite/)
[info] Packaging /home/jun/code/stanfordppl/Delite/framework/target/scala-2.10/framework_2.10-0.1-SNAPSHOT-sources.jar ...
[info] Done packaging.
[info] Wrote /home/jun/code/stanfordppl/Delite/framework/target/scala-2.10/framework_2.10-0.1-SNAPSHOT.pom
[info] :: delivering :: stanford-ppl#framework_2.10;0.1-SNAPSHOT :: 0.1-SNAPSHOT :: integration :: Tue Dec 17 16:42:48 JST 2013
[info]  delivering ivy file to /home/jun/code/stanfordppl/Delite/framework/target/scala-2.10/ivy-0.1-SNAPSHOT.xml
[info] Compiling 95 Scala sources and 1 Java source to /home/jun/code/stanfordppl/Delite/runtime/target/scala-2.10/classes...
[warn] /home/jun/code/stanfordppl/Delite/runtime/src/ppl/delite/runtime/graph/DeliteTaskGraph.scala:30: non-variable type argument Any in type pattern Map[Any,Any] is unchecked since it is eliminated by erasure
[warn]       case degm: Map[Any,Any] => try { parseDEGMap(degm) } catch { case e: Exception => e.printStackTrace; throw e; }
[warn]                  ^
[warn] /home/jun/code/stanfordppl/Delite/runtime/src/ppl/delite/runtime/graph/DeliteTaskGraph.scala:99: non-variable type argument Any in type pattern Map[Any,Any] is unchecked since it is eliminated by erasure
[warn]         case map: Map[Any, Any] => Some(map)
[warn]                   ^
[warn] /home/jun/code/stanfordppl/Delite/runtime/src/ppl/delite/runtime/graph/DeliteTaskGraph.scala:109: non-variable type argument Any in type pattern Map[Any,Any] is unchecked since it is eliminated by erasure
[warn]         case map: Map[Any,Any] => map
[warn]                   ^
[warn] /home/jun/code/stanfordppl/Delite/runtime/src/ppl/delite/runtime/graph/DeliteTaskGraph.scala:221: non-variable type argument Any in type pattern Map[Any,Any] is unchecked since it is eliminated by erasure
[warn]         case map: Map[Any,Any] => newop.variant = processVariant(newop, resultMap, inputTypesMap, map)
[warn]                   ^
[warn] /home/jun/code/stanfordppl/Delite/runtime/src/ppl/delite/runtime/profiler/Profiler.scala:23: non-variable type argument Any in type pattern Map[Any,Any] is unchecked since it is eliminated by erasure
[warn]         case map: Map[Any,Any] => map
[warn]                   ^
[warn] /home/jun/code/stanfordppl/Delite/runtime/src/ppl/delite/runtime/profiler/Profiler.scala:33: non-variable type argument Any in type pattern Map[Any,Any] is unchecked since it is eliminated by erasure
[warn]         case map: Map[Any, Any] => Some(map)
[warn]                   ^
[warn] /home/jun/code/stanfordppl/Delite/runtime/src/ppl/delite/runtime/profiler/Profiler.scala:59: non-variable type argument Any in type pattern Map[Any,Any] is unchecked since it is eliminated by erasure
[warn]       case m: Map[Any, Any] => m
[warn]               ^
[warn] /home/jun/code/stanfordppl/Delite/runtime/src/ppl/delite/runtime/DeliteMesosScheduler.scala:139: match may not be exhaustive.
[warn] It would fail on the following inputs: TASK_FINISHED, TASK_KILLED, TASK_STAGING, TASK_STARTING
[warn]     status.getState match {
[warn]            ^
[warn] /home/jun/code/stanfordppl/Delite/runtime/src/ppl/delite/runtime/profiler/PerformanceTimer.scala:66: match may not be exhaustive.
[warn] It would fail on the following input: Some(List((x: ppl.delite.runtime.profiler.Timing forSome x not in ppl.delite.runtime.profiler.MultiTiming)))
[warn]     stats.get(master) match {
[warn]              ^
[warn] there were 33 deprecation warning(s); re-run with -deprecation for details
[warn] there were 11 feature warning(s); re-run with -feature for details
[warn] 11 warnings found
[info] Compiling 58 Scala sources and 2 Java sources to /home/jun/code/stanfordppl/Delite/framework/target/scala-2.10/classes...
[warn] /home/jun/code/stanfordppl/Delite/framework/src/ppl/delite/framework/Interfaces.scala:40: non-variable type argument Any in type pattern InterfacesExp.this.Interface[Any] is unchecked since it is eliminated by erasure
[warn]     case i: Interface[Any] => syms(i.ops.elem)
[warn]             ^
[warn] /home/jun/code/stanfordppl/Delite/framework/src/ppl/delite/framework/Interfaces.scala:45: non-variable type argument Any in type pattern InterfacesExp.this.Interface[Any] is unchecked since it is eliminated by erasure
[warn]     case i: Interface[Any] => boundSyms(i.ops.elem)
[warn]             ^
[warn] /home/jun/code/stanfordppl/Delite/framework/src/ppl/delite/framework/Interfaces.scala:50: non-variable type argument Any in type pattern InterfacesExp.this.Interface[Any] is unchecked since it is eliminated by erasure
[warn]     case i: Interface[Any] => effectSyms(i.ops.elem)
[warn]             ^
[warn] /home/jun/code/stanfordppl/Delite/framework/src/ppl/delite/framework/Interfaces.scala:55: non-variable type argument Any in type pattern InterfacesExp.this.Interface[Any] is unchecked since it is eliminated by erasure
[warn]     case i: Interface[Any] => softSyms(i.ops.elem)
[warn]             ^
[warn] /home/jun/code/stanfordppl/Delite/framework/src/ppl/delite/framework/Interfaces.scala:60: non-variable type argument Any in type pattern InterfacesExp.this.Interface[Any] is unchecked since it is eliminated by erasure
[warn]     case i: Interface[Any] => rsyms(i.ops.elem)(f)
[warn]             ^
[warn] /home/jun/code/stanfordppl/Delite/framework/src/ppl/delite/framework/Interfaces.scala:65: non-variable type argument Any in type pattern InterfacesExp.this.Interface[Any] is unchecked since it is eliminated by erasure
[warn]     case i: Interface[Any] => symsFreq(i.ops.elem)
[warn]             ^
[warn] /home/jun/code/stanfordppl/Delite/framework/src/ppl/delite/framework/Interfaces.scala:74: non-variable type argument Any in type pattern InterfacesExp.this.Interface[Any] is unchecked since it is eliminated by erasure
[warn]     case i: Interface[Any] => aliasSyms(i.ops.elem)
[warn]             ^
[warn] /home/jun/code/stanfordppl/Delite/framework/src/ppl/delite/framework/Interfaces.scala:79: non-variable type argument Any in type pattern InterfacesExp.this.Interface[Any] is unchecked since it is eliminated by erasure
[warn]     case i: Interface[Any] => containSyms(i.ops.elem)
[warn]             ^
[warn] /home/jun/code/stanfordppl/Delite/framework/src/ppl/delite/framework/Interfaces.scala:84: non-variable type argument Any in type pattern InterfacesExp.this.Interface[Any] is unchecked since it is eliminated by erasure
[warn]     case i: Interface[Any] => extractSyms(i.ops.elem)
[warn]             ^
[warn] /home/jun/code/stanfordppl/Delite/framework/src/ppl/delite/framework/Interfaces.scala:89: non-variable type argument Any in type pattern InterfacesExp.this.Interface[Any] is unchecked since it is eliminated by erasure
[warn]     case i: Interface[Any] => copySyms(i.ops.elem)
[warn]             ^
[warn] /home/jun/code/stanfordppl/Delite/framework/src/ppl/delite/framework/analysis/StencilAnalysis.scala:90: fruitless type test: a value of type StencilAnalysis.this.IR.Def[Any] cannot also be a StencilAnalysis.this.IR.AbstractFatLoop
[warn]          case Reflect(l:AbstractFatLoop,u,es) if l.v == i => (l,l.size)
[warn]                         ^
[warn] /home/jun/code/stanfordppl/Delite/framework/src/ppl/delite/framework/codegen/delite/generators/DeliteGenTaskGraph.scala:24: non-variable type argument Any in type DeliteGenTaskGraph.this.IR.Sym[Any] is unchecked since it is eliminated by erasure
[warn]     case Def(Reify(s, u, effects)) => if (s.isInstanceOf[Sym[Any]]) List(s.asInstanceOf[Sym[Any]]) else Nil
[warn]                                                         ^
[warn] /home/jun/code/stanfordppl/Delite/framework/src/ppl/delite/framework/codegen/delite/generators/DeliteGenTaskGraph.scala:171: non-variable type argument Any in type pattern DeliteGenTaskGraph.this.IR.Def[Any] is unchecked since it is eliminated by erasure
[warn]           case d: Def[Any] => {
[warn]                   ^
[warn] /home/jun/code/stanfordppl/Delite/framework/src/ppl/delite/framework/codegen/delite/generators/DeliteGenTaskGraph.scala:260: non-variable type argument Any in type pattern DeliteGenTaskGraph.this.IR.Def[Any] is unchecked since it is eliminated by erasure
[warn]             case d:Def[Any] =>  gen.withStream(kstream)(gen.emitNodeKernelExtra(sym, d))
[warn]                    ^
[warn] /home/jun/code/stanfordppl/Delite/framework/src/ppl/delite/framework/codegen/delite/generators/DeliteGenTaskGraph.scala:348: non-variable type argument Any in type pattern DeliteGenTaskGraph.this.IR.Def[Any] is unchecked since it is eliminated by erasure
[warn]       case d: Def[Any] => List(d)
[warn]               ^
[warn] /home/jun/code/stanfordppl/Delite/framework/src/ppl/delite/framework/codegen/delite/generators/DeliteGenTaskGraph.scala:674: non-variable type argument Any in type pattern DeliteGenTaskGraph.this.IR.Const[Any] is unchecked since it is eliminated by erasure
[warn]     case c:Const[Any] => stream.println("  \"" + prefix + "Type\": \"const\",")
[warn]            ^
[warn] /home/jun/code/stanfordppl/Delite/framework/src/ppl/delite/framework/codegen/delite/generators/DeliteGenTaskGraph.scala:676: non-variable type argument Any in type pattern DeliteGenTaskGraph.this.IR.Sym[Any] is unchecked since it is eliminated by erasure
[warn]     case s:Sym[Any] =>   stream.println("  \"" + prefix + "Type\": \"symbol\",")
[warn]            ^
[warn] /home/jun/code/stanfordppl/Delite/framework/src/ppl/delite/framework/codegen/delite/generators/DeliteGenTaskGraph.scala:687: non-variable type argument Any in type pattern DeliteGenTaskGraph.this.IR.Const[Any] is unchecked since it is eliminated by erasure
[warn]     case Block(c:Const[Any]) => stream.println("  \"" + prefix + "Type\": \"const\",")
[warn]                  ^
[warn] /home/jun/code/stanfordppl/Delite/framework/src/ppl/delite/framework/codegen/delite/generators/DeliteGenTaskGraph.scala:689: non-variable type argument Any in type pattern DeliteGenTaskGraph.this.IR.Sym[Any] is unchecked since it is eliminated by erasure
[warn]     case Block(s:Sym[Any]) =>  stream.println("  \"" + prefix + "Type\": \"symbol\",")
[warn]                  ^
[warn] /home/jun/code/stanfordppl/Delite/framework/src/ppl/delite/framework/codegen/restage/DeliteCodeGenRestage.scala:314: non-variable type argument DeliteCodeGenRestage.this.IR.Var[Any] in type pattern DeliteCodeGenRestage.this.IR.Exp[DeliteCodeGenRestage.this.IR.Var[Any]] is unchecked since it is eliminated by erasure
[warn]         case x: Exp[Var[Any]] if x.tp.toString.contains("Variable") => true
[warn]                 ^
[warn] /home/jun/code/stanfordppl/Delite/framework/src/ppl/delite/framework/datastructures/DeliteArray.scala:394: non-variable type argument (String, DeliteArrayOpsExpOpt.this.Exp[ppl.delite.framework.datastructures.DeliteArray[Any]]) in type pattern Seq[(String, DeliteArrayOpsExpOpt.this.Exp[ppl.delite.framework.datastructures.DeliteArray[Any]])] is unchecked since it is eliminated by erasure
[warn]       case Def(Struct(SoaTag(tag: StructTag[A],len),elems:Seq[(String,Exp[DeliteArray[Any]])])) => Some((tag,len,elems))
[warn]                                                           ^
[warn] /home/jun/code/stanfordppl/Delite/framework/src/ppl/delite/framework/datastructures/DeliteArray.scala:395: non-variable type argument (String, DeliteArrayOpsExpOpt.this.Exp[ppl.delite.framework.datastructures.DeliteArray[Any]]) in type pattern Seq[(String, DeliteArrayOpsExpOpt.this.Exp[ppl.delite.framework.datastructures.DeliteArray[Any]])] is unchecked since it is eliminated by erasure
[warn]       case Def(Reflect(Struct(SoaTag(tag: StructTag[A],len), elems:Seq[(String,Exp[DeliteArray[Any]])]), u, es)) => Some((tag,len,elems))
[warn]                                                                    ^
[warn] /home/jun/code/stanfordppl/Delite/framework/src/ppl/delite/framework/datastructures/DeliteArray.scala:468: non-variable type argument ppl.delite.framework.datastructures.DeliteArray[T] in type pattern DeliteArrayOpsExpOpt.this.Exp[ppl.delite.framework.datastructures.DeliteArray[T]] is unchecked since it is eliminated by erasure
[warn]       case Def(DeliteArrayApply(arr:Exp[DeliteArray[T]],j)) => darray_update(arr,j,rhs) //primitive apply node
[warn]                                     ^
[warn] /home/jun/code/stanfordppl/Delite/framework/src/ppl/delite/framework/datastructures/DeliteArray.scala:478: non-variable type argument ppl.delite.framework.datastructures.DeliteArray[T] in type pattern DeliteArrayOpsExpOpt.this.Exp[ppl.delite.framework.datastructures.DeliteArray[T]] is unchecked since it is eliminated by erasure
[warn]             case Def(FieldApply(arr:Exp[DeliteArray[T]], field)) if field == idx => ifEqual(arr,j) //outer logical array
[warn]                                     ^
[warn] there were 69 deprecation warning(s); re-run with -deprecation for details
[warn] there were 14 unchecked warning(s); re-run with -unchecked for details
[warn] there were 29 feature warning(s); re-run with -feature for details
[warn] 27 warnings found
[info] Packaging /home/jun/code/stanfordppl/Delite/framework/target/scala-2.10/framework_2.10-0.1-SNAPSHOT.jar ...
[info] Done packaging.
[info]  published framework_2.10 to /home/jun/.ivy2/local/stanford-ppl/framework_2.10/0.1-SNAPSHOT/poms/framework_2.10.pom
[info]  published framework_2.10 to /home/jun/.ivy2/local/stanford-ppl/framework_2.10/0.1-SNAPSHOT/jars/framework_2.10.jar
[info]  published framework_2.10 to /home/jun/.ivy2/local/stanford-ppl/framework_2.10/0.1-SNAPSHOT/srcs/framework_2.10-sources.jar
[info]  published ivy to /home/jun/.ivy2/local/stanford-ppl/framework_2.10/0.1-SNAPSHOT/ivys/ivy.xml
[success] Total time: 142 s, completed Dec 17, 2013 4:45:09 PM
[info] Set current project to runtime (in build file:/home/jun/code/stanfordppl/Delite/)
[info] Packaging /home/jun/code/stanfordppl/Delite/runtime/target/scala-2.10/runtime_2.10-0.1-SNAPSHOT-sources.jar ...
[info] Done packaging.
[info] Wrote /home/jun/code/stanfordppl/Delite/runtime/target/scala-2.10/runtime_2.10-0.1-SNAPSHOT.pom
[info] :: delivering :: stanford-ppl#runtime_2.10;0.1-SNAPSHOT :: 0.1-SNAPSHOT :: integration :: Tue Dec 17 16:45:09 JST 2013
[info]  delivering ivy file to /home/jun/code/stanfordppl/Delite/runtime/target/scala-2.10/ivy-0.1-SNAPSHOT.xml
[info] Packaging /home/jun/code/stanfordppl/Delite/runtime/target/scala-2.10/runtime_2.10-0.1-SNAPSHOT.jar ...
[info] Done packaging.
[info]  published runtime_2.10 to /home/jun/.ivy2/local/stanford-ppl/runtime_2.10/0.1-SNAPSHOT/poms/runtime_2.10.pom
[info]  published runtime_2.10 to /home/jun/.ivy2/local/stanford-ppl/runtime_2.10/0.1-SNAPSHOT/jars/runtime_2.10.jar
[info]  published runtime_2.10 to /home/jun/.ivy2/local/stanford-ppl/runtime_2.10/0.1-SNAPSHOT/srcs/runtime_2.10-sources.jar
[info]  published ivy to /home/jun/.ivy2/local/stanford-ppl/runtime_2.10/0.1-SNAPSHOT/ivys/ivy.xml
[success] Total time: 1 s, completed Dec 17, 2013 4:45:10 PM
[info] Set current project to delite-test (in build file:/home/jun/code/stanfordppl/Delite/)
[info] Packaging /home/jun/code/stanfordppl/Delite/framework/delite-test/target/scala-2.10/delite-test_2.10-0.1-SNAPSHOT-sources.jar ...
[info] Done packaging.
[info] Wrote /home/jun/code/stanfordppl/Delite/framework/delite-test/target/scala-2.10/delite-test_2.10-0.1-SNAPSHOT.pom
[info] :: delivering :: stanford-ppl#delite-test_2.10;0.1-SNAPSHOT :: 0.1-SNAPSHOT :: integration :: Tue Dec 17 16:45:10 JST 2013
[info]  delivering ivy file to /home/jun/code/stanfordppl/Delite/framework/delite-test/target/scala-2.10/ivy-0.1-SNAPSHOT.xml
[info] Compiling 2 Scala sources to /home/jun/code/stanfordppl/Delite/framework/delite-test/target/scala-2.10/classes...
[warn] /home/jun/code/stanfordppl/Delite/framework/delite-test/src/ppl/tests/scalatest/DeliteSuite.scala:207: This catches all Throwables. If this is really intended, use `case e : Throwable` to clear this warning.
[warn]         catch { case e => 3.14 }
[warn]                      ^
[warn] there were 4 deprecation warning(s); re-run with -deprecation for details
[warn] two warnings found
[info] Packaging /home/jun/code/stanfordppl/Delite/framework/delite-test/target/scala-2.10/delite-test_2.10-0.1-SNAPSHOT.jar ...
[info] Done packaging.
[info]  published delite-test_2.10 to /home/jun/.ivy2/local/stanford-ppl/delite-test_2.10/0.1-SNAPSHOT/poms/delite-test_2.10.pom
[info]  published delite-test_2.10 to /home/jun/.ivy2/local/stanford-ppl/delite-test_2.10/0.1-SNAPSHOT/jars/delite-test_2.10.jar
[info]  published delite-test_2.10 to /home/jun/.ivy2/local/stanford-ppl/delite-test_2.10/0.1-SNAPSHOT/srcs/delite-test_2.10-sources.jar
[info]  published ivy to /home/jun/.ivy2/local/stanford-ppl/delite-test_2.10/0.1-SNAPSHOT/ivys/ivy.xml
[success] Total time: 9 s, completed Dec 17, 2013 4:45:18 PM
jun@napa:~/code/stanfordppl/Delite$
 
 
jun@napa:~/code/stanfordppl/Forge$ sbt update
[info] Loading project definition from /home/jun/code/stanfordppl/Forge/project
[info] Updating {file:/home/jun/code/stanfordppl/Forge/project/}default-ec294e...
[info] Resolving org.scala-sbt#precompiled-2_10_0-m7;0.12.1 ...
[info] Done updating.
[info] Compiling 1 Scala source to /home/jun/code/stanfordppl/Forge/project/target/scala-2.9.2/sbt-0.12/classes...
[warn] there were 1 deprecation warnings; re-run with -deprecation for details
[warn] one warning found
[info] Set current project to Forge (in build file:/home/jun/code/stanfordppl/Forge/)
[info] Updating {file:/home/jun/code/stanfordppl/Forge/}Forge...
[info] Resolving org.scalatest#scalatest_2.10;2.0.M5b ...
[info] Done updating.
[success] Total time: 0 s, completed Dec 17, 2013 4:46:33 PM
jun@napa:~/code/stanfordppl/Forge$
 
Thanks,
Jun
 

2013年12月17日火曜日 14時03分46秒 UTC+9 asujeeth:

Arvind Sujeeth

unread,
Dec 17, 2013, 2:57:29 AM12/17/13
to opt...@googlegroups.com
hi Jun,

It looks like that worked fine, and also that it wasn't compiled or published before. Do you still have a problem running bin/update? If you do, try running it with the -c option (which will clear the published directory before compiling).

Arvind

Jun Suzuki

unread,
Dec 23, 2013, 11:06:13 AM12/23/13
to opt...@googlegroups.com
Hi, Arvind
 
I also tried -c option but unfortunately had the same problem.
In the previous mail, you saw it wasn't compiled before because I cleaned everything and did it from the beggining to paste its log to here.
 
My colleage also tried this process at his own machine and stopped at the same place.
Does't this happen to your ones?
 
Thanks,
Jun
 

2013年12月17日火曜日 16時57分29秒 UTC+9 asujeeth:
hi Jun,

It looks like that worked fine, and also that it wasn't compiled or published before. Do you still have a problem running bin/update? If you do, try running it with the -c option (which will clear the published directory before compiling).

Arvind

On 12/16/13 11:53 PM, Jun Suzuki wrote:
Hi, Arvind,
 
Thank you for your reply.
I paste the output.
 
j...@napa:~/code/stanfordppl/Delite$ sbt ";project framework; publish-local; project runtime; publish-local; project delite-test; publish-local"

[info] Loading project definition from /home/jun/code/stanfordppl/Forge/project
[info] Updating {file:/home/jun/code/stanfordppl/Forge/project/}default-ec294e...
[info] Resolving org.scala-sbt#precompiled-2_10_0-m7;0.12.1 ...
[info] Done updating.
[info] Compiling 1 Scala source to /home/jun/code/stanfordppl/Forge/project/target/scala-2.9.2/sbt-0.12/classes...
[warn] there were 1 deprecation warnings; re-run with -deprecation for details
[warn] one warning found
[info] Set current project to Forge (in build file:/home/jun/code/stanfordppl/Forge/)
[info] Updating {file:/home/jun/code/stanfordppl/Forge/}Forge...
[info] Resolving org.scalatest#scalatest_2.10;2.0.M5b ...
[info] Done updating.
[success] Total time: 0 s, completed Dec 17, 2013 4:46:33 PM

Arvind Sujeeth

unread,
Dec 23, 2013, 3:51:14 PM12/23/13
to opt...@googlegroups.com
hi Jun,

Damn. It does work for me (I just tried a clean build on a different machine following the getting started instructions).

We sometimes have problems with SBT and its caches becoming stale, but it's strange that both you and your colleague would have the same issue. Does the OptiML binary distribution work for you?

This is what I can recommend to troubleshoot the build:

1) Make sure you are on the delite-develop branch on LMS, develop on Delite, and master on Forge
2) Make sure all branches are up to date (doing a 'git pull' in each)
3) Make sure you are using sbt 0.12 (though it sounds like you already are)
4) Nuke the sbt caches (typically ~/.sbt and ~/.ivy2)

If rebuilding after that still does not work, there must be something else preventing SBT from picking up the published Delite framework jar while compiling OptiML, but I'm not sure what that might be.

(To others on the list: has anyone else experienced and/or solved this issue recently?)

Arvind

Jun Suzuki

unread,
Dec 24, 2013, 4:50:46 AM12/24/13
to opt...@googlegroups.com
Hi, Anand
 
I am still working on this.
Do you have any recommendation for the specific version among sbt 0.12.*?
 
Thanks,
Jun

2013年12月24日火曜日 5時51分14秒 UTC+9 asujeeth:

Arvind Sujeeth

unread,
Dec 24, 2013, 2:34:45 PM12/24/13
to opt...@googlegroups.com
I am using 0.12.2, so that should work.

Arvind

Jun Suzuki

unread,
Dec 26, 2013, 2:26:14 AM12/26/13
to opt...@googlegroups.com
Hi, Arvind
 
We finally secceeded.
I switched sbt from 0.12.4 to 0.12.2 and it worked.
 
Thank you for your support so far.
 
Regards,
Jun
 

2013年12月25日水曜日 4時34分45秒 UTC+9 asujeeth:
Reply all
Reply to author
Forward
0 new messages