Installation
This package has only been tested on macOS and Linux platforms. If you are interested in using this package on a Windows device we suggest installing the WSL. Please note that we have not tested using this package in this way.
Conda/Mamba
Use of a package manager is recommended for use of this program. This will help avoid potentialy library conflicts and ensure build instructions work. A robust manager is mamba this can be installed from the MOOSE website.
When installing mamba using these instructions you can stop after the instruction to restart you terminal is given.
Conda Package
There are several ways to download/install the PRISM parser for personal use. If you are only interested in using PRISM for input into your own modeling/analysis software the easiest way to make this happen is by installing it with the the available conda package. To install this you can use the following commands.
conda config --add channels gsgall
conda install prism
Building Directly
If you do not want to use PRISM via the conda package we suggest that you add prism as a submodule to the repository in which you are building your application.
git submodule add https://github.com/NCSU-ComPS-Group/prism.git
git submodule update --init prism
We also support a conda package to faciliate development work on PRISM. This package installs all of the required compilers, tools, and packages PRISM depends on. To download this use the following commands in your conda environment
This package adds a script to your conda environment which appends to the path where dynamically linkable libraries are searched for (LD_LIBRARY_PATH for macOS or DYLD_LIBRARY_PATH for Linux devices). This package also sets the environment variable (CXX)
conda config --add channels gsgall
conda install prism-dev