Follow these steps to install and set up HOWARD on macOS.
First, create a dedicated Conda environment for HOWARD:
conda create --name howard python=3.10
conda activate howardThis ensures that HOWARD and its dependencies are isolated from other projects.
Install the required OpenMP and LLVM libraries using Homebrew:
brew install llvm
brew install libompThese libraries are necessary for compiling and running HOWARD efficiently.
Set the required environment variables to link the installed libraries:
export LDFLAGS="-L/opt/homebrew/opt/libomp/lib"
export CPPFLAGS="-I/opt/homebrew/opt/libomp/include"These flags ensure that the compiler can locate the OpenMP library and its headers.
Install HOWARD in editable mode using pip:
python -m pip install -e .Test the HOWARD installation to ensure everything is set up correctly:
howard --helpIf the installation is successful, this command will display the HOWARD help message.