Git Product home page Git Product logo

Comments (7)

TiarkRompf avatar TiarkRompf commented on June 28, 2024

are you sure you have the latest LMS installed?

from tutorials.

mmrezaie avatar mmrezaie commented on June 28, 2024

Yes, I rechecked again.

Actually, when I do sbt test on LMS I get these errors too:

[error] Failed tests:
[error] scala.virtualization.lms.epfl.test11.TestHMM
[error] scala.virtualization.lms.epfl.test12.TestArrayOps
[error] scala.virtualization.lms.epfl.test12.TestList
[error] scala.virtualization.lms.epfl.test8.TestMutation
[error] scala.virtualization.lms.epfl.test14.TestDataOp
[error] scala.virtualization.lms.epfl.test14.TestQueries
[error] scala.virtualization.lms.epfl.test14.TestCGen
[error] scala.virtualization.lms.epfl.test11.TestStencil
[error] scala.virtualization.lms.epfl.test2.TestSort
[error] scala.virtualization.lms.epfl.test9.TestStruct
[error] scala.virtualization.lms.epfl.test7.TestFusion
[error] scala.virtualization.lms.epfl.test8.TestSpeculative
[error] scala.virtualization.lms.epfl.test7.TestFusion2
[error] scala.virtualization.lms.epfl.test5.TestFunctions

Maybe I should do some checking before. I am using MacOS 10.10, and latest stuff that I get by brew.

from tutorials.

mmrezaie avatar mmrezaie commented on June 28, 2024

Removed .ivy folder and it worked.

but I am getting this test error:

[info] Exception encountered when attempting to run a suite with class name: scala.lms.tutorial.QueryTest *** ABORTED ***
[info] java.lang.OutOfMemoryError: GC overhead limit exceeded
[info] at java.util.Arrays.copyOfRange(Arrays.java:2694)
[info] at java.lang.String.(String.java:203)
[info] at java.util.zip.ZipCoder.toString(ZipCoder.java:59)
[info] at java.util.zip.ZipFile.getZipEntry(ZipFile.java:531)
[info] at java.util.zip.ZipFile.access$900(ZipFile.java:56)
[info] at java.util.zip.ZipFile$1.nextElement(ZipFile.java:513)
[info] at java.util.zip.ZipFile$1.nextElement(ZipFile.java:483)
[info] at scala.reflect.io.FileZipArchive.iterator(ZipArchive.scala:135)
[info] at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
[info] at scala.reflect.io.AbstractFile.foreach(AbstractFile.scala:91)

from tutorials.

mmrezaie avatar mmrezaie commented on June 28, 2024

Sorry I miss pushed the button, and closed the issue.

from tutorials.

TiarkRompf avatar TiarkRompf commented on June 28, 2024

Are you giving sbt enough memory? https://github.com/scala-lms/tutorials/blob/master/README.md

from tutorials.

mmrezaie avatar mmrezaie commented on June 28, 2024

Oh thanks! I had one option missing.

Thank you for your time.

from tutorials.

alexander-myltsev avatar alexander-myltsev commented on June 28, 2024

For me sbt test fails with:

[info] GettingStartedTest:
[info] - 1 *** FAILED ***
[info]   java.lang.RuntimeException: uninitialized effect context: effectful statements may only be used within a reifyEffects { .. } block
[info]   at scala.sys.package$.error(package.scala:27)
[info]   at scala.virtualization.lms.internal.Effects$class.checkContext(Effects.scala:537)
[info]   at scala.lms.tutorial.DslDriver.checkContext(dslapi.scala:267)
[info]   at scala.virtualization.lms.internal.Effects$class.reflectEffectInternal(Effects.scala:435)
[info]   at scala.lms.tutorial.DslDriver.reflectEffectInternal(dslapi.scala:267)
[info]   at scala.virtualization.lms.internal.Effects$class.reflectEffect(Effects.scala:430)
[info]   at scala.lms.tutorial.DslDriver.reflectEffect(dslapi.scala:267)
[info]   at scala.virtualization.lms.internal.Effects$class.reflectEffect(Effects.scala:425)
[info]   at scala.lms.tutorial.DslDriver.reflectEffect(dslapi.scala:267)
[info]   at scala.virtualization.lms.common.MiscOpsExp$class.println(MiscOps.scala:37)
[info]   ...

What should be fixed?

from tutorials.

Related Issues (7)

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.