Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/src/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ pkg> add MadNLPHSL
To use Pardiso, the user needs to obtain the Pardiso shared libraries from
<https://panua.ch/>, provide the absolute path to the shared library:
```
julia> ENV["MADNLP_PARDISO_LIBRARY_PATH"] = "/usr/lib/libpardiso600-GNU800-X86-64.so"
julia> ENV["JULIA_PARDISO"] = "/path/to/pardiso/lib/"
```
and place the license file in the home directory.
After obtaining the library and the license file, run
Expand Down
2 changes: 1 addition & 1 deletion lib/MadNLPHSL/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
```julia
pkg> add MadNLPHSL
```
Obtain a license and download HSL_jll.jl from https://licences.stfc.ac.uk/products/Software/HSL/LibHSL.
Obtain a license and download HSL_jll.jl from [HSL](https://licences.stfc.ac.uk/products/Software/HSL/LibHSL).

Install this download into your current environment using:

Expand Down
20 changes: 5 additions & 15 deletions lib/MadNLPPardiso/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,14 @@ pkg> add MadNLPPardiso

## Build

To use Pardiso, the user needs to obtain the Paridso shared libraries from <https://www.pardiso-project.org/>, provide the absolute path to the shared library:
```
julia> ENV["MADNLP_PARDISO_LIBRARY_PATH"] = "/usr/lib/libpardiso600-GNU800-X86-64.so"
```
To use Pardiso, the user needs to obtain the Pardiso shared libraries from [Panua](),
and place the license file in the home directory.
After obtaining the libarary and the license file, run
```julia
pkg> build MadNLPPardiso
Then, the path to the shared library is specified via:
```

The build process requires a C compiler. If they are not installed, do:
```julia
shell> sudo apt install gcc # Ubuntu, Debian
shell> brew cask install gcc # MacOS
julia> ENV["JULIA_PARDISO"] = "/path/to/pardiso/lib/"
```
The compiler can be customized by:
After obtaining the library and the license file, run
```julia
julia> ENV["MADNLP_CC"] = "/usr/local/bin/gcc-9" # default is "gcc"
pkg> build MadNLPPardiso
```


Loading