Python >= 3.9 ideally with conda
.
Ubuntu:
sudo apt-get install build-essential libomp-dev -y
pip install -r setup-requirements.txt
pip install .
Docker:
# Build
docker build --platform linux/amd64 . -f docker/Dockerfile -t kuramoto
Profile time:
./bin/main -N 100 -K 2 -T 1000 -p
Profile memory:
mprof run ./bin/main -N 100 -K 2 -T 1000
mprof plot --flame
Docker:
docker run -p 8888:8888 kuramoto
Then navigate to localhost:8888