IntelLabs / ParallelAccelerator.jl

The ParallelAccelerator package, part of the High Performance Scripting project at Intel Labs
BSD 2-Clause "Simplified" License
294 stars 32 forks source link

Julia v0.5 #115

Open pevnak opened 8 years ago

pevnak commented 8 years ago

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

DrTodd13 commented 8 years ago

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.

pevnak commented 8 years ago

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

amellnik commented 8 years ago

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?

DrTodd13 commented 7 years ago

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.