Installation
Downloading and Installing q3dfit
q3dfit is currently tested in python v3.11. It can be installed
directly from GitHub or via pip:
pip install q3dfit
Optional multi-processing capability
q3dfit has the optional capability to parallelize fitting across multiple processor cores using the Message Passing Interface (MPI) standard. This is accomplished using the mpich package and its python wrapper mpi4py. Installation instructions for mpich vary dependending on the user’s system configurations. Some common methods include:
Install via Macports:
sudo port install mpich sudo port select --set mpi mpich-mp-fortranInstall via Brew:
brew install mpichInstall via Conda:
conda install mpich
If mpich is successfully installed, you should be able to locate the path to its main executable by typing which mpiexec.
The final step is to install mpi4py, the mpich wrapper for the multi-processor mode. This can be done by
conda install mpi4py
or
pip install mpi4py