Skip to main content

Cortix is a Python library for system-level module coupling, execution, and analysis.

Project description

Cortix

A Python library for system-level module coupling, execution, and analysis.

Website Build Status PyPI version Repo Size PyPI - Python Version

What is Cortix?

  • Cortix is a massively parallel Python library for system-level module coupling, execution, and analysis of dynamical system models that exchange time-dependent data.
  • Cortix takes as input a collection of computational modules and provides an environment for the coupling of these modules into a single simulation.
  • Cortix supports:
    • Module decoupling
    • Communication between modules
    • Data visualization
  • Cortix runs on top of MPI and scales across many cores.

Installation: start by installing MPI

Installing via PyPI

pip install --user cortix

Installing from source

  1. Clone this repository to install the latest version of Cortix
git clone https://github.com/dpploy/cortix.git
  1. Install the required dependencies listed in requirements.txt
pip install --user -r cortix/requirements.txt
  1. Add cortix's parent path to your $PYTHONPATH variable
export PYTHONPATH=$PYTHONPATH:$(pwd)

Note: you may want to add this line to your .bashrc in order for it to be persistent

Verify your Cortix install by running the Droplet example

mpirun -np 12 examples/droplet_run.py

Testing

Testing is facilitated by PyTest. Tests can be run locally from within the tests directory

cd tests && py.test

Using Cortix

Please refer to the documentation for more on getting started!

Team

Contributing

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.

Location

Cortix Group

c/o UMass Innovation Hub

110 Canal St., 3rd Floor

Lowell, MA 01852

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cortix-1.0.2.tar.gz (79.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cortix-1.0.2-py3-none-any.whl (92.7 kB view details)

Uploaded Python 3

File details

Details for the file cortix-1.0.2.tar.gz.

File metadata

  • Download URL: cortix-1.0.2.tar.gz
  • Upload date:
  • Size: 79.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4

File hashes

Hashes for cortix-1.0.2.tar.gz
Algorithm Hash digest
SHA256 7699876e2c7246ee3ee63eba64306c6eb72849ec4a00d54a03aa144f099668cb
MD5 0b8c938d91b3a22b30ee065d1e1bea40
BLAKE2b-256 7cbd9ed0b44009c2e69c25b9bd3bcecf95c83061ec5ca69ef628637cf5bb7f09

See more details on using hashes here.

File details

Details for the file cortix-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: cortix-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 92.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4

File hashes

Hashes for cortix-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d81ee3dcc1e966677f2c43a595a3ae0ec21db57c13a54d8bdbbefb95c5fb7837
MD5 2db1c61dc03fc64678db50c29d348a52
BLAKE2b-256 a91484d700217239b0312c15d8ee574aa1258f199a1a966ac8070d2ae78d8fda

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page