{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaSparse/Pardiso.jl/issues/21","repository_url":"https://api.github.com/repos/JuliaSparse/Pardiso.jl","labels_url":"https://api.github.com/repos/JuliaSparse/Pardiso.jl/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/JuliaSparse/Pardiso.jl/issues/21/comments","events_url":"https://api.github.com/repos/JuliaSparse/Pardiso.jl/issues/21/events","html_url":"https://github.com/JuliaSparse/Pardiso.jl/issues/21","id":246674714,"number":21,"title":"Pkg.build(\"PARDISO\") - PARDISO 5.0 is not installed","user":{"login":"SingingKim","id":24790600,"avatar_url":"https://avatars1.githubusercontent.com/u/24790600?v=4","gravatar_id":"","url":"https://api.github.com/users/SingingKim","html_url":"https://github.com/SingingKim","followers_url":"https://api.github.com/users/SingingKim/followers","following_url":"https://api.github.com/users/SingingKim/following{/other_user}","gists_url":"https://api.github.com/users/SingingKim/gists{/gist_id}","starred_url":"https://api.github.com/users/SingingKim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SingingKim/subscriptions","organizations_url":"https://api.github.com/users/SingingKim/orgs","repos_url":"https://api.github.com/users/SingingKim/repos","events_url":"https://api.github.com/users/SingingKim/events{/privacy}","received_events_url":"https://api.github.com/users/SingingKim/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-07-31T08:02:43Z","updated_at":"2017-07-31T08:26:25Z","closed_at":null,"body":"Hi, I'm having hard time to **install PARDISO package** on Julia.\r\nIt would be great if someone can give me some advice.\r\n\r\nHere's where I am now.\r\n\r\n```\r\njulia> Pkg.build(\"Pardiso\")\r\nINFO: Building Pardiso\r\ndid not find libpardiso, assuming PARDISO 5.0 is not installed\r\nfound MKLROOT key, using it\r\n```\r\n\r\n**My work environment:** \r\n```\r\n- MacBook Pro (macOS Sierra 10.12.6)\r\n- Processor 2.6 Ghz Intel Core i7\r\n- Memory 16GB 2133 MHz LPDDR3\r\n- Julia 0.6\r\n```\r\n\r\n\r\n**Pkg.status:**\r\n```\r\n - Ipopt                         0.2.6\r\n - JuMP                          0.17.1\r\n - Pardiso                       0.2.0              7d9a7a35 (dirty)\r\n - Juno                          0.3.0\r\n```\r\n\r\n\r\n\r\n**Files that I prepared:**\r\n**1) PARDISO 5.0:**  libpardiso500-MACOS-X86-64.dylib (http://www.pardiso-project.org/download)\r\n**2) Intel Math Kernel Library for macOS:** m_mkl_2017.3.181.dmg (https://software.intel.com/en-us/mkl)\r\n\r\n\r\n\r\n**Terminal Command Result(open -e ~/.bash_profile):**\r\n```\r\nPATH=\"/Library/Frameworks/Python.framework/Versions/3.6/bin:${PATH}\"\r\nexport PATH\r\nexport LD_LIBRARY_PATH=$LD_LIBRARY_PATH:\"/Users/SingingKim/Applications/IBM/ILOG/CPLEX_Studio1271/cplex/bin/x86-64_osx/\"\r\nexport MKLROOT=“/opt/intel/mkl/bin/“\r\nexport PARDISO_PATH=”/Users/SingingKim/.julia/v0.6/Pardiso/deps“\r\nexport PATH=\"/Users/SingingKim/anaconda/bin:$PATH\"\r\n```\r\n\r\n\r\n\r\nI've read all the past issues but I couldn't get a right answer for me.\r\nHere's what I want to know.\r\n\r\n**1. Where should I put \"libpardiso500-MACOS-X86-64.dylib\" file?**\r\nI currently located it in dir: \"/Users/[Username]/.julia/v0.6/Pardiso/deps\".\r\n\r\n\r\n**2. Where and how should I set MKLROOT / PARDISO_PATH environment variables?**\r\nFor now, I've changed .bash_profile as below:\r\n```\r\nexport MKLROOT=“/opt/intel/mkl/bin/“\r\nexport PARDISO_PATH=”/Users/SingingKim/.julia/v0.6/Pardiso/deps“\r\n```\r\n\r\n**3. Should I edit \"deps.jl\" or \"build.jl\" in Pardiso directory?**\r\n-If so, where should I add the following expressions?\r\n\r\n```\r\nconst PARDISO_PATH = [\"/Users/SingingKim/.julia/v0.6/Pardiso/deps/\"]\r\n@static if is_apple() begin\r\n  const LIBPARDISONAMES = [ \"libpardiso500-MACOS-X86-64.dylib\" ]\r\n\r\nend\r\n```\r\n\r\n**4. Where should I put MKL license file that I downloaded from Intel webpage?**\r\n\r\n**5. Where should I put Pardiso license key that I obtained from the webpage?**\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/JuliaSparse/Pardiso.jl/issues/comments/319001822","html_url":"https://github.com/JuliaSparse/Pardiso.jl/issues/21#issuecomment-319001822","issue_url":"https://api.github.com/repos/JuliaSparse/Pardiso.jl/issues/21","id":319001822,"user":{"login":"SingingKim","id":24790600,"avatar_url":"https://avatars1.githubusercontent.com/u/24790600?v=4","gravatar_id":"","url":"https://api.github.com/users/SingingKim","html_url":"https://github.com/SingingKim","followers_url":"https://api.github.com/users/SingingKim/followers","following_url":"https://api.github.com/users/SingingKim/following{/other_user}","gists_url":"https://api.github.com/users/SingingKim/gists{/gist_id}","starred_url":"https://api.github.com/users/SingingKim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SingingKim/subscriptions","organizations_url":"https://api.github.com/users/SingingKim/orgs","repos_url":"https://api.github.com/users/SingingKim/repos","events_url":"https://api.github.com/users/SingingKim/events{/privacy}","received_events_url":"https://api.github.com/users/SingingKim/received_events","type":"User","site_admin":false},"created_at":"2017-07-31T08:26:25Z","updated_at":"2017-07-31T08:26:25Z","body":"Thanks for the quick response. It doesn't work as below.\r\n\r\n```\r\njulia> using Pardiso\r\nWARNING: MKL Pardiso did not manage to load, error thrown was: ErrorException(\"could not load library \\\"libgomp\\\"\\ndlopen(libgomp.dylib, 9): image not found\")\r\n```\r\n\r\n\r\n```\r\njulia> MKLPardisoSolver()\r\nERROR: mkl library was not loaded, unable to create solver\r\nStacktrace:\r\n [1] Pardiso.MKLPardisoSolver() at /Users/jipkim/.julia/v0.6/Pardiso/src/mkl_pardiso.jl:17\r\n\r\n```"}}
{"actor":{"display_login":"SingingKim"}}