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

Errors occur after ParallelAccelerator.embed() #107

Open jihoonseo opened 8 years ago

jihoonseo commented 8 years ago

Hi I performed ParallelAccelerator.embed() to speed up the package load time, but got some errors.

Here is the steps that I followed:

Environment

#
apt-get update
apt-get install vim build-essential gfortran perl wget curl m4 patch cmake openssl \
libopenblas-dev libopenblas-base git

2) Source Download and Compilation

~$ git clone git://github.com/JuliaLang/julia.git
~$ cd julia
~/julia$ git checkout release-0.4
~/julia$ make -j 8 # perform a parallel build

2-1) add Julia directory to $PATH

export PATH="$PATH:/home/jhseo/julia"

3) Install Atom and uber-juno (an Atom package)

At this point, Atom with juno works well.

4) Install ParallelAccelerator.jl package in Julia

At the julia> prompt, run these commands:

Pkg.add("ParallelAccelerator")          # Install this package and its dependencies.

Pkg.checkout("ParallelAccelerator")     # Switch to master branch
Pkg.checkout("CompilerTools")           # Switch to master branch
Pkg.build("ParallelAccelerator")        # Build the C++ runtime component of the package.
Pkg.test("CompilerTools")               # Run CompilerTools tests.
Pkg.test("ParallelAccelerator")         # Run ParallelAccelerator tests.

At this point, Atom with juno works well.

5) Speeding up package load time via userimg.jl

importall ParallelAccelerator
ParallelAccelerator.embed()

After this, in Julia REPL, some Julia commands (e.g. quit()) bring error:

julia> quit()
unlink: no such file or directory (ENOENT)
jhseo@u1604d:~/julia$ 

And after this, when I execute Atom, it recompiles some Julia packages, and returns error:

INFO: Precompiling module Atom... WARNING: eval from module J2CArray to Main:
Expr(:block, # line 69 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:function, Expr(:call, :j2c_array_size, Expr(:::, :arr, Expr(:curly, :Ptr, :Void)::Any)::Any, Expr(:::, :dim, :Int)::Any)::Any, Expr(:block, # line 70 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, :l = Expr(:ccall, Expr(:tuple, Expr(:quote, :j2c_array_size)::Any, "/home/jhseo/.julia/v0.4/ParallelAccelerator/src/../deps/libj2carray.so.1.0")::Any, :Cuint, Expr(:tuple, Expr(:curly, :Ptr, :Void)::Any, :Cuint)::Any, :arr, Expr(:call, :convert, :Cuint, :dim)::Any)::Any, # line 72 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:return, Expr(:call, :convert, :Int, :l)::Any)::Any)::Any)::Any, # line 77 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:function, Expr(:call, :j2c_array_to_pointer, Expr(:::, :arr, Expr(:curly, :Ptr, :Void)::Any)::Any, Expr(:::, :own, :Bool)::Any)::Any, Expr(:block, # line 78 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:ccall, Expr(:tuple, Expr(:quote, :j2c_array_to_pointer)::Any, "/home/jhseo/.julia/v0.4/ParallelAccelerator/src/../deps/libj2carray.so.1.0")::Any, Expr(:curly, :Ptr, :Void)::Any, Expr(:tuple, Expr(:curly, :Ptr, :Void)::Any, :Bool)::Any, :arr, :own)::Any)::Any)::Any, # line 84 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:function, Expr(:call, :j2c_array_get, Expr(:::, :arr, Expr(:curly, :Ptr, :Void)::Any)::Any, Expr(:::, :idx, :Int)::Any, Expr(:::, :T, :Type)::Any)::Any, Expr(:block, # line 85 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, :nbytes = Expr(:if, Expr(:call, :is, :T, Expr(:curly, :Ptr, :Void)::Any)::Any, 0, Expr(:call, :sizeof, :T)::Any)::Any, # line 86 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, :_value = Expr(:call, :Array, :T, 1)::Any, # line 87 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:ccall, Expr(:tuple, Expr(:quote, :j2c_array_get)::Any, "/home/jhseo/.julia/v0.4/ParallelAccelerator/src/../deps/libj2carray.so.1.0")::Any, :Void, Expr(:tuple, :Cint, Expr(:curly, :Ptr, :Void)::Any, :Cuint, Expr(:curly, :Ptr, :Void)::Any)::Any, Expr(:call, :convert, :Cint, :nbytes)::Any, :arr, Expr(:call, :convert, :Cuint, :idx)::Any, Expr(:call, :convert, Expr(:curly, :Ptr, :Void)::Any, Expr(:call, :pointer, :_value)::Any)::Any)::Any, # line 89 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:return, Expr(:ref, :_value, 1)::Any)::Any)::Any)::Any, # line 94 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:function, Expr(:call, Expr(:curly, :j2c_array_set, :T)::Any, Expr(:::, :arr, Expr(:curly, :Ptr, :Void)::Any)::Any, Expr(:::, :idx, :Int)::Any, Expr(:::, :value, :T)::Any)::Any, Expr(:block, # line 95 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, :nbytes = Expr(:if, Expr(:call, :is, :T, Expr(:curly, :Ptr, :Void)::Any)::Any, 0, Expr(:call, :sizeof, :T)::Any)::Any, # line 96 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, :_value = Expr(:if, Expr(:comparison, :nbytes, :==, 0)::Any, :value, Expr(:call, :convert, Expr(:curly, :Ptr, :Void)::Any, Expr(:call, :pointer, Expr(:ref, :T, :value)::Any)::Any)::Any)::Any, # line 97 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:ccall, Expr(:tuple, Expr(:quote, :j2c_array_set)::Any, "/home/jhseo/.julia/v0.4/ParallelAccelerator/src/../deps/libj2carray.so.1.0")::Any, :Void, Expr(:tuple, :Cint, Expr(:curly, :Ptr, :Void)::Any, :Cuint, Expr(:curly, :Ptr, :Void)::Any)::Any, Expr(:call, :convert, :Cint, :nbytes)::Any, :arr, Expr(:call, :convert, :Cuint, :idx)::Any, :_value)::Any)::Any)::Any, # line 107 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:function, Expr(:call, :j2c_array_delete, Expr(:::, :arr, Expr(:curly, :Ptr, :Void)::Any)::Any)::Any, Expr(:block, # line 108 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:ccall, Expr(:tuple, Expr(:quote, :j2c_array_delete)::Any, "/home/jhseo/.julia/v0.4/ParallelAccelerator/src/../deps/libj2carray.so.1.0")::Any, :Void, Expr(:tuple, Expr(:curly, :Ptr, :Void)::Any)::Any, :arr)::Any)::Any)::Any, # line 115 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:function, Expr(:call, :j2c_array_deref, Expr(:::, :arr, Expr(:curly, :Ptr, :Void)::Any)::Any)::Any, Expr(:block, # line 116 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:ccall, Expr(:tuple, Expr(:quote, :j2c_array_deref)::Any, "/home/jhseo/.julia/v0.4/ParallelAccelerator/src/../deps/libj2carray.so.1.0")::Any, :Void, Expr(:tuple, Expr(:curly, :Ptr, :Void)::Any)::Any, :arr)::Any)::Any)::Any, # line 120 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:function, Expr(:call, :to_j2c_array, Expr(:::, :inp, :AbstractString)::Any, :ptr_array_dict, :mapAtypeKey, :j2c_array_new)::Any, Expr(:block, # line 121 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, :arr = Expr(:call, :to_j2c_array, Expr(:., :inp, :data)::Any, :ptr_array_dict, :mapAtypeKey, :j2c_array_new)::Any, # line 122 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:ccall, Expr(:tuple, Expr(:quote, :new_ascii_string)::Any, "/home/jhseo/.julia/v0.4/ParallelAccelerator/src/../deps/libj2carray.so.1.0")::Any, Expr(:curly, :Ptr, :Void)::Any, Expr(:tuple, Expr(:curly, :Ptr, :Void)::Any)::Any, :arr)::Any)::Any)::Any, # line 126 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:function, Expr(:call, :from_ascii_string, Expr(:::, :str, Expr(:curly, :Ptr, :Void)::Any)::Any, :ptr_array_dict)::Any, Expr(:block, # line 127 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, :data = Expr(:ccall, Expr(:tuple, Expr(:quote, :from_ascii_string)::Any, "/home/jhseo/.julia/v0.4/ParallelAccelerator/src/../deps/libj2carray.so.1.0")::Any, Expr(:curly, :Ptr, :Void)::Any, Expr(:tuple, Expr(:curly, :Ptr, :Void)::Any)::Any, :str)::Any, # line 128 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, :arr = Expr(:call, :_from_j2c_array, :data, :UInt8, 1, :ptr_array_dict)::Any, # line 129 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:ccall, Expr(:tuple, Expr(:quote, :delete_ascii_string)::Any, "/home/jhseo/.julia/v0.4/ParallelAccelerator/src/../deps/libj2carray.so.1.0")::Any, :Void, Expr(:tuple, Expr(:curly, :Ptr, :Void)::Any)::Any, :str)::Any, # line 130 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:return, :arr)::Any)::Any)::Any)::Any \ incremental compilation may be broken for this module **

ERROR: LoadError: InitError: TypeError: maxmultiplemix: in typeassert, expected UInt64, got Float64 in maxmultiplemix at random.jl:445 in rand at random.jl:221 in anonymous at /home/jhseo/.julia/v0.4/Requires/src/init.jl:17 in init at /home/jhseo/.julia/v0.4/Requires/src/init.jl:24 in _require_from_serialized at loading.jl:84 in _require_from_serialized at ./loading.jl:109 in require at ./loading.jl:235 in include at ./boot.jl:261 in include_from_node1 at ./loading.jl:320 [inlined code] from none:2 in anonymous at no file:0 in process_options at ./client.jl:257 in _start at ./client.jl:378 during initialization of module Blink while loading /home/jhseo/.julia/v0.4/Atom/src/Atom.jl, in expression starting on line 5 unlink: no such file or directory (ENOENT) ERROR: LoadError: Failed to precompile Atom to /home/jhseo/.julia/lib/v0.4/Atom.ji in error at ./error.jl:21 in compilecache at loading.jl:400 in require at ./loading.jl:266 in include at ./boot.jl:261 in include_from_node1 at ./loading.jl:320 in process_options at ./client.jl:280 in _start at ./client.jl:378 while loading /home/jhseo/.atom/packages/julia-client/script/boot.jl, in expression starting on line 35 unlink: no such file or directory (ENOENT) Julia has stopped: 1, null

6) Trials and errors

I made some trials but all failed:


How can I resolve this stuck?

I would appreciate your comments.

lkuper commented 8 years ago

This might be caused by Atom or Juno interacting poorly with userimg.jl. @MikeInnes, do you happen to know what the issue is?

jihoonseo commented 8 years ago

It seems that the error in Julia (unlink: no such file or directory (ENOENT)) is not caused by Atom or Juno, since I ran through these steps:

At this point, the ENOENT error does not occur.

  • At the julia> prompt, run these commands:
Pkg.add("ParallelAccelerator")          # Install this package and its dependencies.

Pkg.checkout("ParallelAccelerator")     # Switch to master branch
Pkg.checkout("CompilerTools")           # Switch to master branch
Pkg.build("ParallelAccelerator")        # Build the C++ runtime component of the package.
Pkg.test("CompilerTools")               # Run CompilerTools tests.
Pkg.test("ParallelAccelerator")         # Run ParallelAccelerator tests.

At this point, the ENOENT error does not occur.

  • At the julia> prompt, run these commands:
importall ParallelAccelerator
ParallelAccelerator.embed()

After ParallelAccelerator.embed(), the error in Julia (unlink: no such file or directory (ENOENT)) occurs whenever I execute some commands (e.g. quit())

And I guess that the above error makes Atom or Juno fail to work.

Thank you.

lkuper commented 8 years ago

I suspect unlink: no such file or directory (ENOENT) is a symptom rather than a cause here, and that the problem has something to do with precompilation. Unfortunately, I don't have any specific advice to offer. @IntelLabs/team-hps Anyone else know what's happening here?

lkuper commented 8 years ago

@jihoonseo We made some changes to embed recently. Would you mind trying the following:

  1. Delete your base/userimg.jl file in your Julia source directory.
  2. Rebuild Julia with make clean && make.
  3. Pkg.update() to get the most recent versions of ParallelAccelerator and CompilerTools master (assuming you've already done Pkg.checkout for both).
  4. Pkg.build("ParallelAccelerator").
  5. In the REPL, run importall ParallelAccelerator; ParallelAccelerator.embed().
  6. Restart Julia and try running one of the ParallelAccelerator examples. Short SELFPRIMED times will mean that the embedding worked.
jihoonseo commented 8 years ago

I followed the steps you told, but the symptom persists.

(Referring #111, I am using Julia 0.4.7-pre+3, but in the future, when I can get 0.4.7-pre+5, I will retry the steps again.)

Below is what I tried and what I got.

... [ParallelAccelerator.embed() is in progress]
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/julia/base/userimg.jl:21
in typeToStr at /home/jhseo/.julia/v0.4/ParallelAccelerator/src/cgen.jl
    LINK usr/lib/julia/sys.so

[ParallelAccelerator.embed() is done]

julia> quit()

jhseo@u1604d:~/julia$ julia # re-executing Julia REPL
               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
   _ _   _| |_  __ _   |  Type "?help" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.4.7-pre+3 (2016-07-10 08:08 UTC)
 _/ |\__'_|_|_|\__'_|  |  Commit eb322c0 (23 days old release-0.4)
|__/                   |  x86_64-linux-gnu

julia> quit()
unlink: no such file or directory (ENOENT) [<- the symptom persists]
jhseo@u1604d:~/julia$ julia
               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
   _ _   _| |_  __ _   |  Type "?help" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.4.7-pre+3 (2016-07-10 08:08 UTC)
 _/ |\__'_|_|_|\__'_|  |  Commit eb322c0 (23 days old release-0.4)
|__/                   |  x86_64-linux-gnu

julia> Pkg.test("ParallelAccelerator")
INFO: Computing test dependencies for ParallelAccelerator...
INFO: Updating cache of ColorTypes...
INFO: Updating cache of ColorVectorSpace...
INFO: Updating cache of DocOpt...
INFO: Updating cache of FixedPointNumbers...
INFO: Updating cache of ImageMagick...
INFO: Updating cache of Images...
INFO: Cloning cache of Rmath from git://github.com/JuliaStats/Rmath.jl.git
INFO: Cloning cache of StatsBase from git://github.com/JuliaStats/StatsBase.jl.git
INFO: Cloning cache of StatsFuns from git://github.com/JuliaStats/StatsFuns.jl.git
INFO: Installing Cairo v0.2.33
INFO: Installing ColorTypes v0.2.5
INFO: Installing ColorVectorSpace v0.1.5
INFO: Installing Colors v0.6.6
INFO: Installing Dates v0.4.4
INFO: Installing DocOpt v0.1.3
INFO: Installing FileIO v0.1.0
INFO: Installing FixedPointNumbers v0.1.4
INFO: Installing Graphics v0.1.3
INFO: Installing ImageMagick v0.1.7
INFO: Installing Images v0.5.7
INFO: Installing IniFile v0.2.5
INFO: Installing Rmath v0.1.2
INFO: Installing SIUnits v0.0.6
INFO: Installing StatsBase v0.9.0
INFO: Installing StatsFuns v0.3.0
INFO: Installing TexExtensions v0.0.3
INFO: Installing Tk v0.3.8
INFO: Installing Winston v0.11.13
INFO: Installing Zlib v0.1.12
INFO: Building Cairo
INFO: Recompiling stale cache file /home/jhseo/.julia/lib/v0.4/BinDeps.ji for module BinDeps.
WARNING: eval from module J2CArray to Main:    
Expr(:block, # line 69 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:function, Expr(:call, :j2c_array_size, Expr(:::, :arr, Expr(:curly, :Ptr, :Void)::Any)::Any, Expr(:::, :dim, :Int)::Any)::Any, Expr(:block, # line 70 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, :l = Expr(:ccall, Expr(:tuple, Expr(:quote, :j2c_array_size)::Any, "/home/jhseo/.julia/v0.4/ParallelAccelerator/src/../deps/libj2carray.so.1.0")::Any, :Cuint, Expr(:tuple, Expr(:curly, :Ptr, :Void)::Any, :Cuint)::Any, :arr, Expr(:call, :convert, :Cuint, :dim)::Any)::Any, # line 72 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:return, Expr(:call, :convert, :Int, :l)::Any)::Any)::Any)::Any, # line 77 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:function, Expr(:call, :j2c_array_to_pointer, Expr(:::, :arr, Expr(:curly, :Ptr, :Void)::Any)::Any, Expr(:::, :own, :Bool)::Any)::Any, Expr(:block, # line 78 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:ccall, Expr(:tuple, Expr(:quote, :j2c_array_to_pointer)::Any, "/home/jhseo/.julia/v0.4/ParallelAccelerator/src/../deps/libj2carray.so.1.0")::Any, Expr(:curly, :Ptr, :Void)::Any, Expr(:tuple, Expr(:curly, :Ptr, :Void)::Any, :Bool)::Any, :arr, :own)::Any)::Any)::Any, # line 84 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:function, Expr(:call, :j2c_array_get, Expr(:::, :arr, Expr(:curly, :Ptr, :Void)::Any)::Any, Expr(:::, :idx, :Int)::Any, Expr(:::, :T, :Type)::Any)::Any, Expr(:block, # line 85 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, :nbytes = Expr(:if, Expr(:call, :is, :T, Expr(:curly, :Ptr, :Void)::Any)::Any, 0, Expr(:call, :sizeof, :T)::Any)::Any, # line 86 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, :_value = Expr(:call, :Array, :T, 1)::Any, # line 87 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:ccall, Expr(:tuple, Expr(:quote, :j2c_array_get)::Any, "/home/jhseo/.julia/v0.4/ParallelAccelerator/src/../deps/libj2carray.so.1.0")::Any, :Void, Expr(:tuple, :Cint, Expr(:curly, :Ptr, :Void)::Any, :Cuint, Expr(:curly, :Ptr, :Void)::Any)::Any, Expr(:call, :convert, :Cint, :nbytes)::Any, :arr, Expr(:call, :convert, :Cuint, :idx)::Any, Expr(:call, :convert, Expr(:curly, :Ptr, :Void)::Any, Expr(:call, :pointer, :_value)::Any)::Any)::Any, # line 89 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:return, Expr(:ref, :_value, 1)::Any)::Any)::Any)::Any, # line 94 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:function, Expr(:call, Expr(:curly, :j2c_array_set, :T)::Any, Expr(:::, :arr, Expr(:curly, :Ptr, :Void)::Any)::Any, Expr(:::, :idx, :Int)::Any, Expr(:::, :value, :T)::Any)::Any, Expr(:block, # line 95 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, :nbytes = Expr(:if, Expr(:call, :is, :T, Expr(:curly, :Ptr, :Void)::Any)::Any, 0, Expr(:call, :sizeof, :T)::Any)::Any, # line 96 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, :_value = Expr(:if, Expr(:comparison, :nbytes, :==, 0)::Any, :value, Expr(:call, :convert, Expr(:curly, :Ptr, :Void)::Any, Expr(:call, :pointer, Expr(:ref, :T, :value)::Any)::Any)::Any)::Any, # line 97 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:ccall, Expr(:tuple, Expr(:quote, :j2c_array_set)::Any, "/home/jhseo/.julia/v0.4/ParallelAccelerator/src/../deps/libj2carray.so.1.0")::Any, :Void, Expr(:tuple, :Cint, Expr(:curly, :Ptr, :Void)::Any, :Cuint, Expr(:curly, :Ptr, :Void)::Any)::Any, Expr(:call, :convert, :Cint, :nbytes)::Any, :arr, Expr(:call, :convert, :Cuint, :idx)::Any, :_value)::Any)::Any)::Any, # line 107 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:function, Expr(:call, :j2c_array_delete, Expr(:::, :arr, Expr(:curly, :Ptr, :Void)::Any)::Any)::Any, Expr(:block, # line 108 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:ccall, Expr(:tuple, Expr(:quote, :j2c_array_delete)::Any, "/home/jhseo/.julia/v0.4/ParallelAccelerator/src/../deps/libj2carray.so.1.0")::Any, :Void, Expr(:tuple, Expr(:curly, :Ptr, :Void)::Any)::Any, :arr)::Any)::Any)::Any, # line 115 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:function, Expr(:call, :j2c_array_deref, Expr(:::, :arr, Expr(:curly, :Ptr, :Void)::Any)::Any)::Any, Expr(:block, # line 116 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:ccall, Expr(:tuple, Expr(:quote, :j2c_array_deref)::Any, "/home/jhseo/.julia/v0.4/ParallelAccelerator/src/../deps/libj2carray.so.1.0")::Any, :Void, Expr(:tuple, Expr(:curly, :Ptr, :Void)::Any)::Any, :arr)::Any)::Any)::Any, # line 120 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:function, Expr(:call, :to_j2c_array, Expr(:::, :inp, :AbstractString)::Any, :ptr_array_dict, :mapAtypeKey, :j2c_array_new)::Any, Expr(:block, # line 121 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, :arr = Expr(:call, :to_j2c_array, Expr(:., :inp, :data)::Any, :ptr_array_dict, :mapAtypeKey, :j2c_array_new)::Any, # line 122 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:ccall, Expr(:tuple, Expr(:quote, :new_ascii_string)::Any, "/home/jhseo/.julia/v0.4/ParallelAccelerator/src/../deps/libj2carray.so.1.0")::Any, Expr(:curly, :Ptr, :Void)::Any, Expr(:tuple, Expr(:curly, :Ptr, :Void)::Any)::Any, :arr)::Any)::Any)::Any, # line 126 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:function, Expr(:call, :from_ascii_string, Expr(:::, :str, Expr(:curly, :Ptr, :Void)::Any)::Any, :ptr_array_dict)::Any, Expr(:block, # line 127 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, :data = Expr(:ccall, Expr(:tuple, Expr(:quote, :from_ascii_string)::Any, "/home/jhseo/.julia/v0.4/ParallelAccelerator/src/../deps/libj2carray.so.1.0")::Any, Expr(:curly, :Ptr, :Void)::Any, Expr(:tuple, Expr(:curly, :Ptr, :Void)::Any)::Any, :str)::Any, # line 128 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, :arr = Expr(:call, :_from_j2c_array, :data, :UInt8, 1, :ptr_array_dict)::Any, # line 129 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:ccall, Expr(:tuple, Expr(:quote, :delete_ascii_string)::Any, "/home/jhseo/.julia/v0.4/ParallelAccelerator/src/../deps/libj2carray.so.1.0")::Any, :Void, Expr(:tuple, Expr(:curly, :Ptr, :Void)::Any)::Any, :str)::Any, # line 130 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:return, :arr)::Any)::Any)::Any)::Any
  ** incremental compilation may be broken for this module **

INFO: Recompiling stale cache file /home/jhseo/.julia/lib/v0.4/URIParser.ji for module URIParser.
WARNING: eval from module J2CArray to Main:    
Expr(:block, # line 69 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:function, Expr(:call, :j2c_array_size, Expr(:::, :arr, Expr(:curly, :Ptr, :Void)::Any)::Any, Expr(:::, :dim, :Int)::Any)::Any, Expr(:block, # line 70 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, :l = Expr(:ccall, Expr(:tuple, Expr(:quote, :j2c_array_size)::Any, "/home/jhseo/.julia/v0.4/ParallelAccelerator/src/../deps/libj2carray.so.1.0")::Any, :Cuint, Expr(:tuple, Expr(:curly, :Ptr, :Void)::Any, :Cuint)::Any, :arr, Expr(:call, :convert, :Cuint, :dim)::Any)::Any, # line 72 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:return, Expr(:call, :convert, :Int, :l)::Any)::Any)::Any)::Any, # line 77 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:function, Expr(:call, :j2c_array_to_pointer, Expr(:::, :arr, Expr(:curly, :Ptr, :Void)::Any)::Any, Expr(:::, :own, :Bool)::Any)::Any, Expr(:block, # line 78 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:ccall, Expr(:tuple, Expr(:quote, :j2c_array_to_pointer)::Any, "/home/jhseo/.julia/v0.4/ParallelAccelerator/src/../deps/libj2carray.so.1.0")::Any, Expr(:curly, :Ptr, :Void)::Any, Expr(:tuple, Expr(:curly, :Ptr, :Void)::Any, :Bool)::Any, :arr, :own)::Any)::Any)::Any, # line 84 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:function, Expr(:call, :j2c_array_get, Expr(:::, :arr, Expr(:curly, :Ptr, :Void)::Any)::Any, Expr(:::, :idx, :Int)::Any, Expr(:::, :T, :Type)::Any)::Any, Expr(:block, # line 85 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, :nbytes = Expr(:if, Expr(:call, :is, :T, Expr(:curly, :Ptr, :Void)::Any)::Any, 0, Expr(:call, :sizeof, :T)::Any)::Any, # line 86 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, :_value = Expr(:call, :Array, :T, 1)::Any, # line 87 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:ccall, Expr(:tuple, Expr(:quote, :j2c_array_get)::Any, "/home/jhseo/.julia/v0.4/ParallelAccelerator/src/../deps/libj2carray.so.1.0")::Any, :Void, Expr(:tuple, :Cint, Expr(:curly, :Ptr, :Void)::Any, :Cuint, Expr(:curly, :Ptr, :Void)::Any)::Any, Expr(:call, :convert, :Cint, :nbytes)::Any, :arr, Expr(:call, :convert, :Cuint, :idx)::Any, Expr(:call, :convert, Expr(:curly, :Ptr, :Void)::Any, Expr(:call, :pointer, :_value)::Any)::Any)::Any, # line 89 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:return, Expr(:ref, :_value, 1)::Any)::Any)::Any)::Any, # line 94 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:function, Expr(:call, Expr(:curly, :j2c_array_set, :T)::Any, Expr(:::, :arr, Expr(:curly, :Ptr, :Void)::Any)::Any, Expr(:::, :idx, :Int)::Any, Expr(:::, :value, :T)::Any)::Any, Expr(:block, # line 95 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, :nbytes = Expr(:if, Expr(:call, :is, :T, Expr(:curly, :Ptr, :Void)::Any)::Any, 0, Expr(:call, :sizeof, :T)::Any)::Any, # line 96 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, :_value = Expr(:if, Expr(:comparison, :nbytes, :==, 0)::Any, :value, Expr(:call, :convert, Expr(:curly, :Ptr, :Void)::Any, Expr(:call, :pointer, Expr(:ref, :T, :value)::Any)::Any)::Any)::Any, # line 97 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:ccall, Expr(:tuple, Expr(:quote, :j2c_array_set)::Any, "/home/jhseo/.julia/v0.4/ParallelAccelerator/src/../deps/libj2carray.so.1.0")::Any, :Void, Expr(:tuple, :Cint, Expr(:curly, :Ptr, :Void)::Any, :Cuint, Expr(:curly, :Ptr, :Void)::Any)::Any, Expr(:call, :convert, :Cint, :nbytes)::Any, :arr, Expr(:call, :convert, :Cuint, :idx)::Any, :_value)::Any)::Any)::Any, # line 107 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:function, Expr(:call, :j2c_array_delete, Expr(:::, :arr, Expr(:curly, :Ptr, :Void)::Any)::Any)::Any, Expr(:block, # line 108 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:ccall, Expr(:tuple, Expr(:quote, :j2c_array_delete)::Any, "/home/jhseo/.julia/v0.4/ParallelAccelerator/src/../deps/libj2carray.so.1.0")::Any, :Void, Expr(:tuple, Expr(:curly, :Ptr, :Void)::Any)::Any, :arr)::Any)::Any)::Any, # line 115 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:function, Expr(:call, :j2c_array_deref, Expr(:::, :arr, Expr(:curly, :Ptr, :Void)::Any)::Any)::Any, Expr(:block, # line 116 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:ccall, Expr(:tuple, Expr(:quote, :j2c_array_deref)::Any, "/home/jhseo/.julia/v0.4/ParallelAccelerator/src/../deps/libj2carray.so.1.0")::Any, :Void, Expr(:tuple, Expr(:curly, :Ptr, :Void)::Any)::Any, :arr)::Any)::Any)::Any, # line 120 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:function, Expr(:call, :to_j2c_array, Expr(:::, :inp, :AbstractString)::Any, :ptr_array_dict, :mapAtypeKey, :j2c_array_new)::Any, Expr(:block, # line 121 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, :arr = Expr(:call, :to_j2c_array, Expr(:., :inp, :data)::Any, :ptr_array_dict, :mapAtypeKey, :j2c_array_new)::Any, # line 122 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:ccall, Expr(:tuple, Expr(:quote, :new_ascii_string)::Any, "/home/jhseo/.julia/v0.4/ParallelAccelerator/src/../deps/libj2carray.so.1.0")::Any, Expr(:curly, :Ptr, :Void)::Any, Expr(:tuple, Expr(:curly, :Ptr, :Void)::Any)::Any, :arr)::Any)::Any)::Any, # line 126 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:function, Expr(:call, :from_ascii_string, Expr(:::, :str, Expr(:curly, :Ptr, :Void)::Any)::Any, :ptr_array_dict)::Any, Expr(:block, # line 127 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, :data = Expr(:ccall, Expr(:tuple, Expr(:quote, :from_ascii_string)::Any, "/home/jhseo/.julia/v0.4/ParallelAccelerator/src/../deps/libj2carray.so.1.0")::Any, Expr(:curly, :Ptr, :Void)::Any, Expr(:tuple, Expr(:curly, :Ptr, :Void)::Any)::Any, :str)::Any, # line 128 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, :arr = Expr(:call, :_from_j2c_array, :data, :UInt8, 1, :ptr_array_dict)::Any, # line 129 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:ccall, Expr(:tuple, Expr(:quote, :delete_ascii_string)::Any, "/home/jhseo/.julia/v0.4/ParallelAccelerator/src/../deps/libj2carray.so.1.0")::Any, :Void, Expr(:tuple, Expr(:curly, :Ptr, :Void)::Any)::Any, :str)::Any, # line 130 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:return, :arr)::Any)::Any)::Any)::Any
  ** incremental compilation may be broken for this module **

unlink: no such file or directory (ENOENT)
INFO: Recompiling stale cache file /home/jhseo/.julia/lib/v0.4/SHA.ji for module SHA.
WARNING: eval from module J2CArray to Main:    
Expr(:block, # line 69 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:function, Expr(:call, :j2c_array_size, Expr(:::, :arr, Expr(:curly, :Ptr, :Void)::Any)::Any, Expr(:::, :dim, :Int)::Any)::Any, Expr(:block, # line 70 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, :l = Expr(:ccall, Expr(:tuple, Expr(:quote, :j2c_array_size)::Any, "/home/jhseo/.julia/v0.4/ParallelAccelerator/src/../deps/libj2carray.so.1.0")::Any, :Cuint, Expr(:tuple, Expr(:curly, :Ptr, :Void)::Any, :Cuint)::Any, :arr, Expr(:call, :convert, :Cuint, :dim)::Any)::Any, # line 72 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:return, Expr(:call, :convert, :Int, :l)::Any)::Any)::Any)::Any, # line 77 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:function, Expr(:call, :j2c_array_to_pointer, Expr(:::, :arr, Expr(:curly, :Ptr, :Void)::Any)::Any, Expr(:::, :own, :Bool)::Any)::Any, Expr(:block, # line 78 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:ccall, Expr(:tuple, Expr(:quote, :j2c_array_to_pointer)::Any, "/home/jhseo/.julia/v0.4/ParallelAccelerator/src/../deps/libj2carray.so.1.0")::Any, Expr(:curly, :Ptr, :Void)::Any, Expr(:tuple, Expr(:curly, :Ptr, :Void)::Any, :Bool)::Any, :arr, :own)::Any)::Any)::Any, # line 84 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:function, Expr(:call, :j2c_array_get, Expr(:::, :arr, Expr(:curly, :Ptr, :Void)::Any)::Any, Expr(:::, :idx, :Int)::Any, Expr(:::, :T, :Type)::Any)::Any, Expr(:block, # line 85 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, :nbytes = Expr(:if, Expr(:call, :is, :T, Expr(:curly, :Ptr, :Void)::Any)::Any, 0, Expr(:call, :sizeof, :T)::Any)::Any, # line 86 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, :_value = Expr(:call, :Array, :T, 1)::Any, # line 87 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:ccall, Expr(:tuple, Expr(:quote, :j2c_array_get)::Any, "/home/jhseo/.julia/v0.4/ParallelAccelerator/src/../deps/libj2carray.so.1.0")::Any, :Void, Expr(:tuple, :Cint, Expr(:curly, :Ptr, :Void)::Any, :Cuint, Expr(:curly, :Ptr, :Void)::Any)::Any, Expr(:call, :convert, :Cint, :nbytes)::Any, :arr, Expr(:call, :convert, :Cuint, :idx)::Any, Expr(:call, :convert, Expr(:curly, :Ptr, :Void)::Any, Expr(:call, :pointer, :_value)::Any)::Any)::Any, # line 89 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:return, Expr(:ref, :_value, 1)::Any)::Any)::Any)::Any, # line 94 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:function, Expr(:call, Expr(:curly, :j2c_array_set, :T)::Any, Expr(:::, :arr, Expr(:curly, :Ptr, :Void)::Any)::Any, Expr(:::, :idx, :Int)::Any, Expr(:::, :value, :T)::Any)::Any, Expr(:block, # line 95 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, :nbytes = Expr(:if, Expr(:call, :is, :T, Expr(:curly, :Ptr, :Void)::Any)::Any, 0, Expr(:call, :sizeof, :T)::Any)::Any, # line 96 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, :_value = Expr(:if, Expr(:comparison, :nbytes, :==, 0)::Any, :value, Expr(:call, :convert, Expr(:curly, :Ptr, :Void)::Any, Expr(:call, :pointer, Expr(:ref, :T, :value)::Any)::Any)::Any)::Any, # line 97 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:ccall, Expr(:tuple, Expr(:quote, :j2c_array_set)::Any, "/home/jhseo/.julia/v0.4/ParallelAccelerator/src/../deps/libj2carray.so.1.0")::Any, :Void, Expr(:tuple, :Cint, Expr(:curly, :Ptr, :Void)::Any, :Cuint, Expr(:curly, :Ptr, :Void)::Any)::Any, Expr(:call, :convert, :Cint, :nbytes)::Any, :arr, Expr(:call, :convert, :Cuint, :idx)::Any, :_value)::Any)::Any)::Any, # line 107 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:function, Expr(:call, :j2c_array_delete, Expr(:::, :arr, Expr(:curly, :Ptr, :Void)::Any)::Any)::Any, Expr(:block, # line 108 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:ccall, Expr(:tuple, Expr(:quote, :j2c_array_delete)::Any, "/home/jhseo/.julia/v0.4/ParallelAccelerator/src/../deps/libj2carray.so.1.0")::Any, :Void, Expr(:tuple, Expr(:curly, :Ptr, :Void)::Any)::Any, :arr)::Any)::Any)::Any, # line 115 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:function, Expr(:call, :j2c_array_deref, Expr(:::, :arr, Expr(:curly, :Ptr, :Void)::Any)::Any)::Any, Expr(:block, # line 116 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:ccall, Expr(:tuple, Expr(:quote, :j2c_array_deref)::Any, "/home/jhseo/.julia/v0.4/ParallelAccelerator/src/../deps/libj2carray.so.1.0")::Any, :Void, Expr(:tuple, Expr(:curly, :Ptr, :Void)::Any)::Any, :arr)::Any)::Any)::Any, # line 120 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:function, Expr(:call, :to_j2c_array, Expr(:::, :inp, :AbstractString)::Any, :ptr_array_dict, :mapAtypeKey, :j2c_array_new)::Any, Expr(:block, # line 121 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, :arr = Expr(:call, :to_j2c_array, Expr(:., :inp, :data)::Any, :ptr_array_dict, :mapAtypeKey, :j2c_array_new)::Any, # line 122 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:ccall, Expr(:tuple, Expr(:quote, :new_ascii_string)::Any, "/home/jhseo/.julia/v0.4/ParallelAccelerator/src/../deps/libj2carray.so.1.0")::Any, Expr(:curly, :Ptr, :Void)::Any, Expr(:tuple, Expr(:curly, :Ptr, :Void)::Any)::Any, :arr)::Any)::Any)::Any, # line 126 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:function, Expr(:call, :from_ascii_string, Expr(:::, :str, Expr(:curly, :Ptr, :Void)::Any)::Any, :ptr_array_dict)::Any, Expr(:block, # line 127 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, :data = Expr(:ccall, Expr(:tuple, Expr(:quote, :from_ascii_string)::Any, "/home/jhseo/.julia/v0.4/ParallelAccelerator/src/../deps/libj2carray.so.1.0")::Any, Expr(:curly, :Ptr, :Void)::Any, Expr(:tuple, Expr(:curly, :Ptr, :Void)::Any)::Any, :str)::Any, # line 128 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, :arr = Expr(:call, :_from_j2c_array, :data, :UInt8, 1, :ptr_array_dict)::Any, # line 129 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:ccall, Expr(:tuple, Expr(:quote, :delete_ascii_string)::Any, "/home/jhseo/.julia/v0.4/ParallelAccelerator/src/../deps/libj2carray.so.1.0")::Any, :Void, Expr(:tuple, Expr(:curly, :Ptr, :Void)::Any)::Any, :str)::Any, # line 130 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:return, :arr)::Any)::Any)::Any)::Any
  ** incremental compilation may be broken for this module **

unlink: no such file or directory (ENOENT)
unlink: no such file or directory (ENOENT)
INFO: Building Rmath
INFO: Building ImageMagick
INFO: Building Tk
unlink: no such file or directory (ENOENT)
INFO: Testing ParallelAccelerator
Testing parallel library functions...
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/lib.jl:124
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/lib.jl:124
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/lib.jl:124
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/lib.jl:124
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/lib.jl:124
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/lib.jl:124
in typeToStr at /home/jhseo/.julia/v0.4/ParallelAccelerator/src/cgen.jl
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/lib.jl:124
in typeToStr at /home/jhseo/.julia/v0.4/ParallelAccelerator/src/cgen.jl
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/lib.jl:124
in typeToStr at /home/jhseo/.julia/v0.4/ParallelAccelerator/src/cgen.jl
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/lib.jl:124
in typeToStr at /home/jhseo/.julia/v0.4/ParallelAccelerator/src/cgen.jl
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/lib.jl:124
in typeToStr at /home/jhseo/.julia/v0.4/ParallelAccelerator/src/cgen.jl
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/lib.jl:124
in typeToStr at /home/jhseo/.julia/v0.4/ParallelAccelerator/src/cgen.jl
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/lib.jl:129
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/lib.jl:129
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/lib.jl:129
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/lib.jl:129
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/lib.jl:129
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/lib.jl:129
in typeToStr at /home/jhseo/.julia/v0.4/ParallelAccelerator/src/cgen.jl
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/lib.jl:129
in typeToStr at /home/jhseo/.julia/v0.4/ParallelAccelerator/src/cgen.jl
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/lib.jl:129
in typeToStr at /home/jhseo/.julia/v0.4/ParallelAccelerator/src/cgen.jl
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/lib.jl:131
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/lib.jl:131
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/lib.jl:131
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/lib.jl:131
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/lib.jl:131
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/lib.jl:131
in typeToStr at /home/jhseo/.julia/v0.4/ParallelAccelerator/src/cgen.jl
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/lib.jl:131
in typeToStr at /home/jhseo/.julia/v0.4/ParallelAccelerator/src/cgen.jl
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/lib.jl:131
in typeToStr at /home/jhseo/.julia/v0.4/ParallelAccelerator/src/cgen.jl
Done testing parallel library functions.
Testing parfor support via @par macro...
Done testing parfor.
Testing map and reduce...
Done testing map and reduce.
Testing abs()...
Done testing abs().
Testing constant promotion for pointwise operations...
Done testing constant promotion.
Testing rand()...
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/rand.jl:81
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/rand.jl:81
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/rand.jl:81
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/rand.jl:81
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/rand.jl:81
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/rand.jl:81
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/rand.jl:81
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/rand.jl:81
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/rand.jl:81
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/rand.jl:81
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/rand.jl:81
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/rand.jl:81
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/rand.jl:81
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/rand.jl:81
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/rand.jl:81
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/rand.jl:81
in typeToStr at /home/jhseo/.julia/v0.4/ParallelAccelerator/src/cgen.jl
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/rand.jl:81
in typeToStr at /home/jhseo/.julia/v0.4/ParallelAccelerator/src/cgen.jl
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/rand.jl:81
in typeToStr at /home/jhseo/.julia/v0.4/ParallelAccelerator/src/cgen.jl
Done testing rand()...
Testing BitArrays...
Done testing BitArrays.
Testing ranges...
Done testing ranges.
Testing sequential code...
Done testing sequential code.
Testing cat...
Done testing cat.
Testing ranges...
Done testing ranges.
Testing miscellaneous features...
Done testing miscellaneous features...
Done testing aug_assign.
Testing complex number support...
 test1 returns: 3.0 + 3.0im
Done testing complex number support.
Testing println()...
Done testing println().
Testing strings...
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/strings.jl:86
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/strings.jl:86
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/strings.jl:86
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/strings.jl:86
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/strings.jl:86
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/strings.jl:86
in typeToStr at /home/jhseo/.julia/v0.4/ParallelAccelerator/src/cgen.jl
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/strings.jl:86
in typeToStr at /home/jhseo/.julia/v0.4/ParallelAccelerator/src/cgen.jl
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/strings.jl:86
in typeToStr at /home/jhseo/.julia/v0.4/ParallelAccelerator/src/cgen.jl
/tmp/tmpfzUEWv/cgen_output59.cpp:18:254: warning: integer constant is so large that it is unsigned
 ,1000000,10000000,100000000,1000000000,10000000000,100000000000,1000000000000,10000000000000,100000000000000,1000000000000000,10000000000000000,100000000000000000,1000000000000000000,10000000000
                                                                                                                                                                                        ^
Done testing strings...
Testing logistic regression...
Done testing logistic regression...
testing gemv...
Done testing gemv.
testing transpose...
/tmp/tmpfzUEWv/cgen_output63.cpp: In function ‘void pptranspose_tp19091(j2c_array<double>&, j2c_array<double>*)’:
/tmp/tmpfzUEWv/cgen_output63.cpp:28:76: error: ‘cblas_domatcopy’ was not declared in this scope
              A.data, A.ARRAYSIZE(1), ppppBp18111p19092.data, A.ARRAYSIZE(2)), ppppBp18111p19092);
                                                                            ^
/tmp/tmpfzUEWv/cgen_output63.cpp: In function ‘void pptranspose_tp19091_unaliased(j2c_array<double>&, j2c_array<double>*)’:
/tmp/tmpfzUEWv/cgen_output63.cpp:43:76: error: ‘cblas_domatcopy’ was not declared in this scope
              A.data, A.ARRAYSIZE(1), ppppBp18111p19092.data, A.ARRAYSIZE(2)), ppppBp18111p19092);
                                                                            ^
OptFramework failed to optimize function TestTranspose.##transpose_t#19091 in optimization pass ParallelAccelerator.Driver.toCGen with error ErrorException("failed process: Process(`g++ -O3 -fopenmp -std=c++11 -g -fpic -c -o /tmp/tmpfzUEWv/cgen_output63.o /tmp/tmpfzUEWv/cgen_output63.cpp`, ProcessExited(1)) [1]")
Done testing transpose.
testing vecnorm...
Done testing vecnorm.
Testing broadcast...
test3 C = [1 2 3
 8 10 12]
Done testing broadcast.
INFO: Recompiling stale cache file /home/jhseo/.julia/lib/v0.4/DocOpt.ji for module DocOpt.
WARNING: eval from module J2CArray to Main:    
Expr(:block, # line 69 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:function, Expr(:call, :j2c_array_size, Expr(:::, :arr, Expr(:curly, :Ptr, :Void)::Any)::Any, Expr(:::, :dim, :Int)::Any)::Any, Expr(:block, # line 70 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, :l = Expr(:ccall, Expr(:tuple, Expr(:quote, :j2c_array_size)::Any, "/home/jhseo/.julia/v0.4/ParallelAccelerator/src/../deps/libj2carray.so.1.0")::Any, :Cuint, Expr(:tuple, Expr(:curly, :Ptr, :Void)::Any, :Cuint)::Any, :arr, Expr(:call, :convert, :Cuint, :dim)::Any)::Any, # line 72 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:return, Expr(:call, :convert, :Int, :l)::Any)::Any)::Any)::Any, # line 77 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:function, Expr(:call, :j2c_array_to_pointer, Expr(:::, :arr, Expr(:curly, :Ptr, :Void)::Any)::Any, Expr(:::, :own, :Bool)::Any)::Any, Expr(:block, # line 78 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:ccall, Expr(:tuple, Expr(:quote, :j2c_array_to_pointer)::Any, "/home/jhseo/.julia/v0.4/ParallelAccelerator/src/../deps/libj2carray.so.1.0")::Any, Expr(:curly, :Ptr, :Void)::Any, Expr(:tuple, Expr(:curly, :Ptr, :Void)::Any, :Bool)::Any, :arr, :own)::Any)::Any)::Any, # line 84 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:function, Expr(:call, :j2c_array_get, Expr(:::, :arr, Expr(:curly, :Ptr, :Void)::Any)::Any, Expr(:::, :idx, :Int)::Any, Expr(:::, :T, :Type)::Any)::Any, Expr(:block, # line 85 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, :nbytes = Expr(:if, Expr(:call, :is, :T, Expr(:curly, :Ptr, :Void)::Any)::Any, 0, Expr(:call, :sizeof, :T)::Any)::Any, # line 86 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, :_value = Expr(:call, :Array, :T, 1)::Any, # line 87 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:ccall, Expr(:tuple, Expr(:quote, :j2c_array_get)::Any, "/home/jhseo/.julia/v0.4/ParallelAccelerator/src/../deps/libj2carray.so.1.0")::Any, :Void, Expr(:tuple, :Cint, Expr(:curly, :Ptr, :Void)::Any, :Cuint, Expr(:curly, :Ptr, :Void)::Any)::Any, Expr(:call, :convert, :Cint, :nbytes)::Any, :arr, Expr(:call, :convert, :Cuint, :idx)::Any, Expr(:call, :convert, Expr(:curly, :Ptr, :Void)::Any, Expr(:call, :pointer, :_value)::Any)::Any)::Any, # line 89 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:return, Expr(:ref, :_value, 1)::Any)::Any)::Any)::Any, # line 94 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:function, Expr(:call, Expr(:curly, :j2c_array_set, :T)::Any, Expr(:::, :arr, Expr(:curly, :Ptr, :Void)::Any)::Any, Expr(:::, :idx, :Int)::Any, Expr(:::, :value, :T)::Any)::Any, Expr(:block, # line 95 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, :nbytes = Expr(:if, Expr(:call, :is, :T, Expr(:curly, :Ptr, :Void)::Any)::Any, 0, Expr(:call, :sizeof, :T)::Any)::Any, # line 96 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, :_value = Expr(:if, Expr(:comparison, :nbytes, :==, 0)::Any, :value, Expr(:call, :convert, Expr(:curly, :Ptr, :Void)::Any, Expr(:call, :pointer, Expr(:ref, :T, :value)::Any)::Any)::Any)::Any, # line 97 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:ccall, Expr(:tuple, Expr(:quote, :j2c_array_set)::Any, "/home/jhseo/.julia/v0.4/ParallelAccelerator/src/../deps/libj2carray.so.1.0")::Any, :Void, Expr(:tuple, :Cint, Expr(:curly, :Ptr, :Void)::Any, :Cuint, Expr(:curly, :Ptr, :Void)::Any)::Any, Expr(:call, :convert, :Cint, :nbytes)::Any, :arr, Expr(:call, :convert, :Cuint, :idx)::Any, :_value)::Any)::Any)::Any, # line 107 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:function, Expr(:call, :j2c_array_delete, Expr(:::, :arr, Expr(:curly, :Ptr, :Void)::Any)::Any)::Any, Expr(:block, # line 108 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:ccall, Expr(:tuple, Expr(:quote, :j2c_array_delete)::Any, "/home/jhseo/.julia/v0.4/ParallelAccelerator/src/../deps/libj2carray.so.1.0")::Any, :Void, Expr(:tuple, Expr(:curly, :Ptr, :Void)::Any)::Any, :arr)::Any)::Any)::Any, # line 115 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:function, Expr(:call, :j2c_array_deref, Expr(:::, :arr, Expr(:curly, :Ptr, :Void)::Any)::Any)::Any, Expr(:block, # line 116 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:ccall, Expr(:tuple, Expr(:quote, :j2c_array_deref)::Any, "/home/jhseo/.julia/v0.4/ParallelAccelerator/src/../deps/libj2carray.so.1.0")::Any, :Void, Expr(:tuple, Expr(:curly, :Ptr, :Void)::Any)::Any, :arr)::Any)::Any)::Any, # line 120 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:function, Expr(:call, :to_j2c_array, Expr(:::, :inp, :AbstractString)::Any, :ptr_array_dict, :mapAtypeKey, :j2c_array_new)::Any, Expr(:block, # line 121 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, :arr = Expr(:call, :to_j2c_array, Expr(:., :inp, :data)::Any, :ptr_array_dict, :mapAtypeKey, :j2c_array_new)::Any, # line 122 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:ccall, Expr(:tuple, Expr(:quote, :new_ascii_string)::Any, "/home/jhseo/.julia/v0.4/ParallelAccelerator/src/../deps/libj2carray.so.1.0")::Any, Expr(:curly, :Ptr, :Void)::Any, Expr(:tuple, Expr(:curly, :Ptr, :Void)::Any)::Any, :arr)::Any)::Any)::Any, # line 126 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:function, Expr(:call, :from_ascii_string, Expr(:::, :str, Expr(:curly, :Ptr, :Void)::Any)::Any, :ptr_array_dict)::Any, Expr(:block, # line 127 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, :data = Expr(:ccall, Expr(:tuple, Expr(:quote, :from_ascii_string)::Any, "/home/jhseo/.julia/v0.4/ParallelAccelerator/src/../deps/libj2carray.so.1.0")::Any, Expr(:curly, :Ptr, :Void)::Any, Expr(:tuple, Expr(:curly, :Ptr, :Void)::Any)::Any, :str)::Any, # line 128 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, :arr = Expr(:call, :_from_j2c_array, :data, :UInt8, 1, :ptr_array_dict)::Any, # line 129 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:ccall, Expr(:tuple, Expr(:quote, :delete_ascii_string)::Any, "/home/jhseo/.julia/v0.4/ParallelAccelerator/src/../deps/libj2carray.so.1.0")::Any, :Void, Expr(:tuple, Expr(:curly, :Ptr, :Void)::Any)::Any, :str)::Any, # line 130 /home/jhseo/.julia/v0.4/ParallelAccelerator/src/j2c-array.jl, Expr(:return, :arr)::Any)::Any)::Any)::Any
  ** incremental compilation may be broken for this module **

unlink: no such file or directory (ENOENT)
iterations = 10000000
SELFPRIMED 1.505702726
checksum: 2.0954821257116845e8
rate = 4.244766460823367e6 opts/sec
SELFTIMED 2.35584221
points= 10000000
SELFPRIMED 1.085033019
pi = 3.1414788
SELFTIMED 0.234130163
nframes = 2
filenames = Union{ASCIIString,UTF8String}["small_001.dat","small_002.dat"]
checksums = Float32[80751.35f0,80818.02f0]
Image size: 584x388
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/../examples/opt-flow/opt-flow.jl:230
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/../examples/opt-flow/opt-flow.jl:230
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/../examples/opt-flow/opt-flow.jl:230
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/../examples/opt-flow/opt-flow.jl:230
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/../examples/opt-flow/opt-flow.jl:230
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/../examples/opt-flow/opt-flow.jl:230
in typeToStr at /home/jhseo/.julia/v0.4/ParallelAccelerator/src/cgen.jl
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/../examples/opt-flow/opt-flow.jl:230
in typeToStr at /home/jhseo/.julia/v0.4/ParallelAccelerator/src/cgen.jl
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /home/jhseo/.julia/v0.4/ParallelAccelerator/test/../examples/opt-flow/opt-flow.jl:230
in typeToStr at /home/jhseo/.julia/v0.4/ParallelAccelerator/src/cgen.jl
SELFPRIMED 6.245919733
checksum: -286095.5 -210069.86
SELFTIMED 5.212706647
iterations = 30
centers= 5
number of points = 50000
SELFPRIMED 2.66550081
result = [0.4788077228474492 0.5730107328083639 0.4860341064229645 0.4803855075087451 0.47891013945090805
 0.4314638758968112 0.5420553227845041 0.5100991605248298 0.5107538845940884 0.5046112427810487
 0.5730640602761506 0.5181740592693553 0.5243758919571658 0.439373301589063 0.447279733117861
 0.5092949713607742 0.4929567586117675 0.5026261796595854 0.505883658649835 0.4955307786635739
 0.4390171688688224 0.5573619788909651 0.5302403203924703 0.47851673584722365 0.49290378327747075
 0.6793939321976394 0.4523935369163886 0.5791473345600782 0.4076502489328411 0.4100639580250773
 0.6658682084408081 0.6761834318865452 0.29908122033635837 0.6674678146383156 0.2320972729253651
 0.4229476615369599 0.5870344391325921 0.5307211718257074 0.4934931253343178 0.4702426611231926
 0.48406196122783113 0.540874478528426 0.5119194158842992 0.47291757694494735 0.485780184527081
 0.5903257186458972 0.48823594193840436 0.5237678113743577 0.4466804266493879 0.4511194302857016
 0.5102402570015653 0.5030317044895332 0.5261567409669926 0.49026833073508497 0.47214680458576214
 0.4806348839342997 0.4912522474565213 0.5194814128359302 0.5002130532642606 0.505370387512137
 0.4130387899559149 0.5639515745517114 0.45813072274057465 0.5605393979798909 0.5044791415452825
 0.4260717301238441 0.5591724071158801 0.5130297148600081 0.5155987551040662 0.488172301445556
 0.37244522207555747 0.30703332535540445 0.7405991025395219 0.7463625996558662 0.296501635255536
 0.40550109980467175 0.5981498011278468 0.5385240308595642 0.4569227378656412 0.48837887168037386
 0.5690511253617941 0.4275970078833428 0.5116545068656316 0.49537890911136107 0.49598389609255294
 0.4992101811604972 0.6446226835450695 0.6793522898926071 0.31220286077483567 0.37769839443733777
 0.6422841028215768 0.3719178900024485 0.5087560547855441 0.46284866634800687 0.512895329058997
 0.5787141891402519 0.4209732025810915 0.4626036634351428 0.5084041835814532 0.5392695123203943]
rate = 16.941170561507946 iterations/sec
SELFTIMED 1.770833951
iterations = 50
SELFPRIMED 1.79848346
result = [1665.1649437306014 1598.483862702849 1659.1029898124739 1623.8434303209517 1652.967562930335 1658.0068085557007 1575.2334294461048 1650.0558882065218 1617.5108022915153 1666.518974098198]
rate = 112.17671260355397 iterations/sec
SELFTIMED 0.44572531
in -3Hello world!INFO: ParallelAccelerator tests passed
INFO: Removing Cairo v0.2.33
INFO: Removing ColorTypes v0.2.5
INFO: Removing ColorVectorSpace v0.1.5
INFO: Removing Colors v0.6.6
INFO: Removing Dates v0.4.4
INFO: Removing DocOpt v0.1.3
INFO: Removing FileIO v0.1.0
INFO: Removing FixedPointNumbers v0.1.4
INFO: Removing Graphics v0.1.3
INFO: Removing ImageMagick v0.1.7
INFO: Removing Images v0.5.7
INFO: Removing IniFile v0.2.5
INFO: Removing Rmath v0.1.2
INFO: Removing SIUnits v0.0.6
INFO: Removing StatsBase v0.9.0
INFO: Removing StatsFuns v0.3.0
INFO: Removing TexExtensions v0.0.3
INFO: Removing Tk v0.3.8
INFO: Removing Winston v0.11.13
INFO: Removing Zlib v0.1.12
unlink: no such file or directory (ENOENT)

julia> 
DrTodd13 commented 8 years ago

Would you paste the contents of ParallelAccelerator/deps/generated/config.jl here please.

jihoonseo commented 8 years ago

Here is what you requested:

backend_compiler = USE_GCC
mkl_lib = ""
openblas_lib = ""
sys_blas = 1

For your information:

1) I don't have Intel MKL. (I wanted to get but I had not bought one yet.)

2) I already installed OpenBLAS with Ubuntu apt:

apt-get install libopenblas-base libopenblas-dev
jhseo@u1604d:/usr/include/openblas$ ls -alh
total 112K
drwxr-xr-x  2 root root 4.0K  7월 18 17:21 .
drwxr-xr-x 38 root root 4.0K  7월 21 18:55 ..
-rw-r--r--  1 root root  45K  4월 19 20:19 cblas.h
-rw-r--r--  1 root root  47K  4월 19 20:19 f77blas.h
-rw-r--r--  1 root root 4.7K  4월 19 20:19 openblas_config.h
jhseo@u1604d:/usr/lib/openblas-base$ ls -alh
total 6.3M
drwxr-xr-x   2 root root 4.0K  7월 18 17:21 .
drwxr-xr-x 139 root root 4.0K  7월 19 11:20 ..
lrwxrwxrwx   1 root root   16  4월 19 20:19 libblas.a -> ../libopenblas.a
lrwxrwxrwx   1 root root   12  4월 19 20:19 libblas.so -> libblas.so.3
-rw-r--r--   1 root root 387K  4월 19 20:19 libblas.so.3
lrwxrwxrwx   1 root root   16  4월 19 20:19 liblapack.a -> ../libopenblas.a
lrwxrwxrwx   1 root root   14  4월 19 20:19 liblapack.so -> liblapack.so.3
-rw-r--r--   1 root root 5.9M  4월 19 20:19 liblapack.so.3

and it seems that ParallelAccelerator detected BLAS:

   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
   _ _   _| |_  __ _   |  Type "?help" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.4.7-pre+3 (2016-07-10 08:08 UTC)
 _/ |\__'_|_|_|\__'_|  |  Commit eb322c0* (23 days old release-0.4)
|__/                   |  x86_64-linux-gnu

julia> Pkg.build("ParallelAccelerator")
INFO: Building ParallelAccelerator
ParallelAccelerator: build.jl begin.
ParallelAccelerator: Building j2c-array shared library
System installed BLAS found
Using g++ to build ParallelAccelerator array runtime.
ParallelAccelerator: build.jl done.

julia> 

but the environment variable LD_LIBRARY_PATH is not set. (and I don't know this matters or not.)

jhseo@u1604d:~$ echo $LD_LIBRARY_PATH

jhseo@u1604d:~$