Skip to content
This repository has been archived by the owner on Apr 28, 2021. It is now read-only.

Test failed on volume.jl, warnings in build #253

Open
s271 opened this issue Apr 25, 2018 · 4 comments
Open

Test failed on volume.jl, warnings in build #253

s271 opened this issue Apr 25, 2018 · 4 comments

Comments

@s271
Copy link

s271 commented Apr 25, 2018

Environment:
glxinfo | grep "OpenGL" :
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 1060/PCIe/SSE2
OpenGL core profile version string: 4.5.0 NVIDIA 384.111
OpenGL core profile shading language version string: 4.50 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.5.0 NVIDIA 384.111
OpenGL shading language version string: 4.50 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 384.111
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:

Julia Version 0.6.2
Commit d386e40c17 (2017-12-13 18:08 UTC)
Platform Info:
OS: Linux (x86_64-pc-linux-gnu)
CPU: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Prescott)
LAPACK: libopenblas64_
LIBM: libopenlibm
LLVM: libLLVM-3.9.1 (ORCJIT, broadwell)

Warnings during build:

INFO: Testing GLVisualize
WARNING: --output requested, but no modules defined during run
WARNING: The call to compilecache failed to create a usable precompiled cache file for module FFTW. Got:
WARNING: Cache file "/home/sergey/.julia/lib/v0.6/FFTW.ji" not found.

also a lot of warnings like this:
WARNING: deprecated syntax "abstract AbstractLexer" at /home/sergey/.julia/v0.6/Highlights/src/Highlights.jl:29.
Use "abstract type AbstractLexer end" instead.
WARNING: deprecated syntax "abstract AbstractParticle{T}" at /home/sergey/.julia/v0.6/BilliardModels/src/BilliardModel.jl:17.
Use "abstract type AbstractParticle{T} end" instead.
etc.

Error in test:

Now showing volume.jl:

ERROR: LoadError: LoadError: BoundsError: attempt to access 55-element Array{Bool,1} at index [56]
Stacktrace:
[1] setindex!(::Array{Bool,1}, ::Bool, ::Int64) at ./array.jl:583
[2] make_tests(::ExampleRunner.RunnerConfig) at /home/sergey/.julia/v0.6/GLVisualize/src/../examples/ExampleRunner.jl:456
[3] run(::ExampleRunner.RunnerConfig) at /home/sergey/.julia/v0.6/GLVisualize/src/../examples/ExampleRunner.jl:482
[4] include_from_node1(::String) at ./loading.jl:576
[5] include(::String) at ./sysimg.jl:14
[6] include_from_node1(::String) at ./loading.jl:576
[7] include(::String) at ./sysimg.jl:14
[8] process_options(::Base.JLOptions) at ./client.jl:305
[9] _start() at ./client.jl:371
while loading /home/s/.julia/v0.6/GLVisualize/test/test_interactive.jl, in expression starting on line 36
while loading /home/s/.julia/v0.6/GLVisualize/test/runtests.jl, in expression starting on line 12
===============================================[ ERROR: GLVisualize ]================================================

Billard models fail too:

WARNING: deprecated syntax "abstract AbstractParticle{T}" at /home/sergey/.julia/v0.6/BilliardModels/src/BilliardModel.jl:17.
Use "abstract type AbstractParticle{T} end" instead.

WARNING: deprecated syntax "abstract Obstacle{T}" at /home/sergey/.julia/v0.6/BilliardModels/src/BilliardModel.jl:34.
Use "abstract type Obstacle{T} end" instead.

WARNING: deprecated syntax "abstract AbstractPlane{T}<:Obstacle{T}" at /home/sergey/.julia/v0.6/BilliardModels/src/BilliardModel.jl:43.
Use "abstract type AbstractPlane{T}<:Obstacle{T} end" instead.

WARNING: deprecated syntax "inner constructor CellBoundary(...) around /home/sergey/.julia/v0.6/BilliardModels/src/BilliardModel.jl:93".
Use "CellBoundary{T}(...) where T" instead.
LoadError: LoadError: UndefVarError: FloatingPoint not defined
while loading /home/sergey/.julia/v0.6/BilliardModels/src/BilliardModel.jl, in expression starting on line 521
while loading /home/sergey/.julia/v0.6/BilliardModels/src/BilliardModels.jl, in expression starting on line 7

Stacktrace:
[1] include_from_node1(::String) at ./loading.jl:576
[2] include(::String) at ./sysimg.jl:14
[3] include_from_node1(::String) at ./loading.jl:576
[4] eval(::Module, ::Any) at ./boot.jl:235
[5] _require(::Symbol) at ./loading.jl:490
[6] require(::Symbol) at ./loading.jl:405

@SimonDanisch
Copy link
Member

Is that the last test not working? I think you can ignore that test failure. I should fix it at some point but never got around to it...

@s271
Copy link
Author

s271 commented Apr 26, 2018

volume.jl and BilliardModel.jl are not working

@guri-dominic
Copy link

I'm new to Julia, is it possble that the file name "~/.julia/lib/v0.6/FFTW.ji" has the wrong extension. It has a .ji instead of a .jl

@SimonDanisch
Copy link
Member

that just refers to a warning, about not being able to build the precompile cache for fftw (the cached files have the ji extension)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants