Installing Pardiso on Julia (Mac)

You have somehow installed a very old version of Ipopt that is not actually using Ipopt_jll.

Do you have lots of other packages in your environment? You should use a new environment for each project. Don’t install a bunch of packages into the default environment; bad things can happen like this that lead to version conflicts.

You can work with projects like this:

(base) oscar@Oscars-MBP /tmp % julia                
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.6.7 (2022-07-19)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

(@v1.6) pkg> activate /Users/Oscar/Documents/julia-projects/ipopt
  Activating new environment at `/Users/Oscar/Documents/julia-projects/ipopt/Project.toml`

(ipopt) pkg> st
      Status `~/Documents/julia-projects/ipopt/Project.toml` (empty project)

(ipopt) pkg> add Ipopt JuMP

... lots of stuff omitted ...

julia> exit()
(base) oscar@Oscars-MBP /tmp % julia
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.6.7 (2022-07-19)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

(@v1.6) pkg> st
      Status `~/.julia/environments/v1.6/Project.toml` (empty project)

(@v1.6) pkg> activate /Users/Oscar/Documents/julia-projects/ipopt
  Activating environment at `/Users/Oscar/Documents/julia-projects/ipopt/Project.toml`

(ipopt) pkg> st
      Status `~/Documents/julia-projects/ipopt/Project.toml`
  [b6b21f68] Ipopt v1.1.0
  [4076af6c] JuMP v1.4.0
1 Like