Under Windows, open a command window and type:
pip install smuthi
Depending on where pip will install the package, you might need administrator rights for that.
Under Ubuntu, type:
sudo pip3 install smuthi
Alternatively, you can download the Smuthi project folder manually from here or git fork the gitlab repository. Open a command prompt and change directory to the Smuthi project folder. Then, enter (Windows):
python setup.py install
sudo python3 setup.py install
If you plan to edit the Smuthi code, install in develop mode by (Windows):
python setup.py develop
python3 setup.py develop
Whenever you run a Smuthi simulation containing non-spherical particles, it will create a copy of the NFM-DS Fortran package into a temporary folder.
Alternatively, you can create an empty folder named
at your working path to keep the NFM-DS binary between simulations. This folder
will be used by Smuthi for a persistent installation of the NFM-DS package
that is used for all subsequent Smuthi simulations started from this working path.