Emirge is a repository with some tools that captures a set of dependencies for mirgecom, as well as mirgecom itself.
The mirgecom dependencies that emirge installs are:
- Miniforge/Conda and conda packages (e.g., pocl)
- Pip packages (e.g., pyopencl)
In most cases, running ./install.sh
should be sufficient to install all packages and their dependencies.
./install.sh
takes several arguments:
--install-prefix=DIR
: Install mirgecom and git pip packages toDIR
instead of the default (./).--conda-prefix=DIR
: Install conda inDIR
instead of the default directory (./miniforge3
).--env-name=NAME
: Create conda environment namedNAME
instead of the default (ceesd).--modules
: Install a modules.zip file that contains a copy of all python packages that are installed through git (see below for details).--branch=NAME
: Install theNAME
d branch of mirgecom instead of the default branch (main).--fork=NAME
: Install mirgecom from a fork (default=illinois-ceesd).--conda-pkgs=FILE
: Install additional conda packages from the list of package names specified inFILE
.--conda-env=FILE
: Obtain conda package versions from conda environment file FILE.--pip-pkgs=FILE
: Install additional pip packages from the pip requirements file specified inFILE
.--git-ssh
: Use SSH-based URL to clone mirgecom.--debug
: Show debugging output of this script (set -x).--skip-clone
: Skip cloning mirgecom, assume it will be manually copied to the selected installation prefix.--py-ver=VERSION
: Replace the Python version specified in the conda environment file withVERSION
(e.g.,--py-ver=3.10
).--help
: Print this help text.
Testing can be done by:
$ mirgecom/examples/run_examples.sh mirgecom/examples/