{"action":"created","issue":{"url":"https://api.github.com/repos/CoolProp/CoolProp/issues/542","labels_url":"https://api.github.com/repos/CoolProp/CoolProp/issues/542/labels{/name}","comments_url":"https://api.github.com/repos/CoolProp/CoolProp/issues/542/comments","events_url":"https://api.github.com/repos/CoolProp/CoolProp/issues/542/events","html_url":"https://github.com/CoolProp/CoolProp/issues/542","id":62589715,"number":542,"title":"Julia on linux is broken for me","user":{"login":"ibell","id":1859947,"avatar_url":"https://avatars.githubusercontent.com/u/1859947?v=3","gravatar_id":"","url":"https://api.github.com/users/ibell","html_url":"https://github.com/ibell","followers_url":"https://api.github.com/users/ibell/followers","following_url":"https://api.github.com/users/ibell/following{/other_user}","gists_url":"https://api.github.com/users/ibell/gists{/gist_id}","starred_url":"https://api.github.com/users/ibell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibell/subscriptions","organizations_url":"https://api.github.com/users/ibell/orgs","repos_url":"https://api.github.com/users/ibell/repos","events_url":"https://api.github.com/users/ibell/events{/privacy}","received_events_url":"https://api.github.com/users/ibell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-03-18T05:01:10Z","updated_at":"2015-03-19T15:37:35Z","closed_at":null,"body":"@JonWel - It seems something is broken on linux, I can't run Julia code with CoolProp.  Can you replicate?\r\n\r\n```\r\nian@ian-VirtualBox:~/Desktop$ julia runme.jl \r\nOpenBLAS : Your OS does not support AVX instructions. OpenBLAS is using Nehalem kernels as a fallback, which may give poorer performance.\r\nPropSI: \r\nelapsed time: 16.239165108 seconds (2 MB allocated)\r\nAbstract Class: \r\nERROR: LoadError: ccall: could not find function AbstractState_factory in library CoolProp\r\n in AbstractState_factory at /home/ian/Desktop/CoolProp.jl:85\r\n in AC at /home/ian/Desktop/runme.jl:53\r\n in include at ./boot.jl:250\r\n in include_from_node1 at loading.jl:129\r\n in process_options at ./client.jl:318\r\n in _start at ./client.jl:402\r\nwhile loading /home/ian/Desktop/runme.jl, in expression starting on line 62\r\n```\r\nJulia:\r\n```\r\nian@ian-VirtualBox:~/Desktop$ julia\r\nOpenBLAS : Your OS does not support AVX instructions. OpenBLAS is using Nehalem kernels as a fallback, which may give poorer performance.\r\n               _\r\n   _       _ _(_)_     |  A fresh approach to technical computing\r\n  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org\r\n   _ _   _| |_  __ _   |  Type \"help()\" for help.\r\n  | | | | | | |/ _` |  |\r\n  | | |_| | | | (_| |  |  Version 0.4.0-dev+3864 (2015-03-17 19:48 UTC)\r\n _/ |\\__'_|_|_|\\__'_|  |  Commit 09604d6 (0 days old master)\r\n|__/                   |  x86_64-linux-gnu\r\n```"},"comment":{"url":"https://api.github.com/repos/CoolProp/CoolProp/issues/comments/83637380","html_url":"https://github.com/CoolProp/CoolProp/issues/542#issuecomment-83637380","issue_url":"https://api.github.com/repos/CoolProp/CoolProp/issues/542","id":83637380,"user":{"login":"ibell","id":1859947,"avatar_url":"https://avatars.githubusercontent.com/u/1859947?v=3","gravatar_id":"","url":"https://api.github.com/users/ibell","html_url":"https://github.com/ibell","followers_url":"https://api.github.com/users/ibell/followers","following_url":"https://api.github.com/users/ibell/following{/other_user}","gists_url":"https://api.github.com/users/ibell/gists{/gist_id}","starred_url":"https://api.github.com/users/ibell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibell/subscriptions","organizations_url":"https://api.github.com/users/ibell/orgs","repos_url":"https://api.github.com/users/ibell/repos","events_url":"https://api.github.com/users/ibell/events{/privacy}","received_events_url":"https://api.github.com/users/ibell/received_events","type":"User","site_admin":false},"created_at":"2015-03-19T15:37:35Z","updated_at":"2015-03-19T15:37:35Z","body":"Interesting.  I'll try again this weekend, where did you get the .so from?\n\nOn Thu, Mar 19, 2015 at 9:32 AM, JonWel <notifications@github.com> wrote:\n\n> I do not have your runme.jl file to test but usage of the abstract class\n> still work on Julia 0.4 for me:\n>\n>                _\n>    _       _ _(_)_     |  A fresh approach to technical computing\n>   (_)     | (_) (_)    |  Documentation: http://docs.julialang.org\n>    _ _   _| |_  __ _   |  Type \"help()\" for help.\n>   | | | | | | |/ _` |  |  | | |_| | | | (_| |  |  Version 0.4.0-dev+3888 (2015-03-18 19:42 UTC) _/ |\\__'_|_|_|\\__'_|  |  Commit 5762a5d (0 days old master)|__/                   |  x86_64-linux-gnu\n>\n> julia> errcode = Ref{Clong}(0);\n>\n> julia> const buffer_length = 255;\n>\n> julia> message_buffer = Array(UInt8, buffer_length);\n>\n> julia> function AbstractState_factory(backend::String, fluids::String)\n>          AbstractState = ccall( (:AbstractState_factory, \"CoolProp\"), Clong, (Ptr{UInt8},Ptr{UInt8},Ref{Clong},Ptr{UInt8},Clong), backend,fluids,errcode,message_buffer::Array{Uint8,1},buffer_length)\n>          if errcode[] != 0\n>            if errcode[] == 1\n>              error(\"CoolProp: \", bytestring(convert(Ptr{UInt8}, pointer(message_buffer))))\n>            elseif errcode[] == 2\n>              error(\"CoolProp: message buffer too small\")\n>            else # == 3\n>              error(\"CoolProp: unknown error\")\n>            end\n>          end\n>          return AbstractState\n>        end\n> AbstractState_factory (generic function with 1 method)\n>\n> julia> AbstractState_factory(\"TTSE&HEOS\", \"Water\")\n> Loading table: /home/johndoe/.CoolProp/Tables/HelmholtzEOSBackend(Water)/single_phase_logph.bin.z\n> Loaded table: /home/johndoe/.CoolProp/Tables/HelmholtzEOSBackend(Water)/single_phase_logph.bin.z in 0.107356 sec.\n> Loading table: /home/johndoe/.CoolProp/Tables/HelmholtzEOSBackend(Water)/single_phase_logpT.bin.z\n> Loaded table: /home/johndoe/.CoolProp/Tables/HelmholtzEOSBackend(Water)/single_phase_logpT.bin.z in 0.102261 sec.\n> Loading table: /home/johndoe/.CoolProp/Tables/HelmholtzEOSBackend(Water)/pure_saturation.bin.z\n> Loaded table: /home/johndoe/.CoolProp/Tables/HelmholtzEOSBackend(Water)/pure_saturation.bin.z in 0.001572 sec.0\n>\n> julia>\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/CoolProp/CoolProp/issues/542#issuecomment-83634273>.\n>\n"}}