From 11b149d2c3099d421e51c2208d697cd46349d3d9 Mon Sep 17 00:00:00 2001 From: Cameron Rutherford Date: Mon, 16 Dec 2024 16:46:15 -0500 Subject: [PATCH] Add spack install instructions to README.md --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index b334bd581..0ccbade8f 100644 --- a/README.md +++ b/README.md @@ -148,6 +148,16 @@ Metis is usually detected automatically and needs not be specified under normal UMFPACK (part of SuiteSparse) and METIS need to be provided as shown above. +## Install with Spack + +If you would like to use our public [`package.py`](https://github.com/spack/spack/blob/develop/var/spack/repos/builtin/packages/hiop/package.py): + +```bash +spack install hiop@develop +``` + +Additional information about using Spack can be found at [spack.readthedocs.io](https://spack.readthedocs.io/en/latest/) or within HiOp's [`package.py`]((https://github.com/spack/spack/blob/develop/var/spack/repos/builtin/packages/hiop/package.py)). + # Interfacing with HiOp HiOp supports three types of optimization problems, each with a separate input formats in the form of the C++ interfaces `hiopInterfaceDenseConstraints`,`hiopInterfaceSparse` and `hiopInterfaceMDS`. These interfaces are specified in [hiopInterface.hpp](src/Interface/hiopInterface.hpp) and documented and discussed as well in the [user manual](doc/hiop_usermanual.pdf).