Contribute#

Installation for development#

Install poetry#

Clone repo#

Clone the git repo (see ssh links below), and then make sure that you switch to the development branch:

git switch develop

This branch is protected, so create a feature branch before pushing to the repo.

hpcflow#

git clone git@github.com:hpcflow/hpcflow-new.git

matflow#

git clone git@github.com:hpcflow/matflow-new.git

Install python dependencies with poetry#

You should be able to simply run:

poetry install

from the hpc-flow folder and poetry will take care of everything for you.

Troubleshooting#

If for some reason the install failed, try the following:

Delete the virtualenv. You first need to find the version you are using with:

poetry env info

then use it to remove the virtual environment with:

poetry env remove 3.10.6

Clear all cache in list with:

poetry cache clear --all PyPI

Check if there is no cache with:

poetry cache list

Reinstall dependencies:

poetry install

Working from the source#

Open the virtual enviroment with:

poetry shell

hpcflow#

CLI#

You can interact with the CLI by calling:

python3 hpcflow/cli/cli.py --help

matflow#

CLI#

You can interact with the CLI by calling:

python3 matflow/cli.py --help