A Python library for network dynamics modeling and HPC simulation.

pip install --user cortix
if updating to a new version, you may need to specify the version
pip install --user cortix=="<version>"
NB: this will not install the GraphViz executables but only the python wrapper. Install the GraphViz library on your system by yourself.
In a Anaconda environment (MacOS terminal conda, or Windows Anaconda powershell) do:
pip install cortix
conda install graphviz
if updating to a new version, you may need to specify the version
pip install cortix=="<version>"
git clone https://github.com/dpploy/cortix.git
requirements.txtpip install --user -r cortix/requirements.txt
cortix's parent path to your $PYTHONPATH variableexport PYTHONPATH=$PYTHONPATH:$(pwd)
Note: you may want to add this line to your .bashrc in order for it to be persistent
mpiexec -n xx examples/run_droplet_swirl.py
where xx is the number of MPI processes which must match the number of modules plus 1. If there are
10 droplets and 1 vortex, use
Testing is facilitated by PyTest. Tests can be run locally from within the tests directory
cd tests && py.test
Please refer to the documentation for more on getting started!
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
Cortix Group
c/o UMass Innovation Hub
110 Canal St., 3rd Floor
Lowell, MA 01852