ParallelAccelerator.jl icon indicating copy to clipboard operation
ParallelAccelerator.jl copied to clipboard

Julia v0.5

Open pevnak opened this issue 8 years ago • 4 comments

Hi, I have tried the latest version of Julia v 0.5 rc2 with ParallelAccelerator and the test crashes.

Pkg.test("ParallelAccelerator")

ERROR: LoadError: LoadError: LoadError: LoadError: UndefVarError: GenSym not defined in include_from_node1(::String) at ./loading.jl:426 (repeats 2 times) in eval(::Module, ::Any) at ./boot.jl:234 in require(::Symbol) at ./loading.jl:357 in include_from_node1(::String) at ./loading.jl:426 in eval(::Module, ::Any) at ./boot.jl:234 in require(::Symbol) at ./loading.jl:357 in include_from_node1(::String) at ./loading.jl:426 in process_options(::Base.JLOptions) at ./client.jl:262 in _start() at ./client.jl:318

pevnak avatar Aug 16 '16 05:08 pevnak

Are you on the master branch of ParallelAccelerator and CompilerTools and are updated to the most recent versions? Once 0.5 is released we will tag those repos so everyone gets them by default but right now the latest tagged version won't work...you need latest master.

DrTodd13 avatar Aug 16 '16 05:08 DrTodd13

I was not. I thought that they are already default. Thanks a lot, I will try it. Tomas

pevnak avatar Aug 16 '16 06:08 pevnak

I'm seeing the following error building ParallelAccelerator master on 0.5.0-rc3:

Building libj2carray.dll.
bcpp not found and will not be used.
blas_test.cpp:1:19: fatal error: cblas.h: No such file or directory
 #include <cblas.h>
                   ^
compilation terminated.
ParallelAccelerator: build.jl done.

I see the same error after installing OpenBLAS, adding it to the path, and defining the openblas_lib environment variable. How should this be called out?

amellnik avatar Aug 23 '16 23:08 amellnik

This is testing if your compiler supports blas, not if openblas is present. Looks at deps/generated/config.jl and see if openblas_lib says "" after it. If it does then openblas wasn't found, else it was.

DrTodd13 avatar Sep 09 '16 22:09 DrTodd13