Skip to content

Latest commit

 

History

History
43 lines (35 loc) · 1.14 KB

README.md

File metadata and controls

43 lines (35 loc) · 1.14 KB

pylibROM

Python Interface for LLNL libROM

Installation

  1. Pull repository and all sub-module dependencies:
git clone --recurse-submodules https://github.com/llnl/pylibROM.git
  1. Compile and build pylibROM (from top-level pylibROM repo):
pip install ./

To speed up the build if libROM has been compiled:

pip install ./ --global-option="--librom_dir=/path/to/pre-installed-libROM"

If you want to build static ScaLAPACK for libROM,

pip install ./ --global-option="--install_scalapack"
  1. Test python package (from top-level pylibROM repo):
cd tests
pytest test_pyVector.py

Using PyMFEM

pylibROM is often used together with PyMFEM. Check the repository for detailed instruction for PyMFEM installation. For serial version of PyMFEM, the following simple pip command works:

pip install mfem

License

pylibROM is distributed under the terms of the MIT license. All new contributions must be made under the MIT. See LICENSE-MIT

LLNL Release Nubmer: LLNL-CODE- 852921