Skip to content

Commit 4e7b33a

Browse files
committed
Update MUMPS install instructions for Mac and Linux
1 parent 33641b5 commit 4e7b33a

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,16 +52,17 @@ Amigo's interior-point optimizer requires [MUMPS](https://mumps-solver.org/) for
5252
### Linux
5353

5454
```bash
55-
sudo apt install gfortran libopenblas-dev libmetis-dev libscotch-dev make autoconf automake libtool
55+
sudo apt install build-essential cmake gfortran libopenmpi-dev libopenblas-dev
5656
git clone https://github.com/coin-or-tools/ThirdParty-Mumps.git && cd ThirdParty-Mumps
57-
./get.Mumps && ./configure --prefix=/usr/local && make -j$(nproc) && sudo make install
57+
./get.Mumps && ./configure --prefix=$HOME/mumps-coinor && make -j$(nproc) && make install
5858
```
5959

6060
### macOS
6161

6262
```bash
63-
brew tap brewsci/num
64-
brew install brewsci-mumps
63+
brew install gcc open-mpi openblas
64+
git clone https://github.com/coin-or-tools/ThirdParty-Mumps.git && cd ThirdParty-Mumps
65+
./get.Mumps && ./configure --prefix=$HOME/mumps-coinor FC=gfortran && make -j$(sysctl -n hw.ncpu) && make install
6566
```
6667

6768
### Windows

0 commit comments

Comments
 (0)