Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@mihaic
Copy link
Member

@mihaic mihaic commented Dec 9, 2024

No description provided.

@mihaic mihaic enabled auto-merge (squash) December 9, 2024 20:03
@mihaic mihaic requested a review from davidt0x December 9, 2024 20:25
MPI
---

On Linux and macOS, there are no MPI4PY binaries in PyPI, so you need to install MPI separately, e.g., following the BrainIAK `source installation instructions <#requirements>`_.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can get wheels for mpi4py on linux and macos (see here). You need to add the extra index argument though. Some on linux, a one-line install looks like this:

pip install brainiak[matnormal]==0.12.a5 impi-rt --extra-index-url https://pypi.anaconda.org/mpi4py/simple

I just tested this in WSL and it worked for me, all tests passed. For windows, its even simpler since there are mpi4py wheels already on PyPI. Just this works:

pip install brainiak[matnormal]==0.12.a5 impi-rt

For MacOS, you can get the wheels similar to linux but I believe you still need to brew install or macports install opemmpi or mpich.


We support Linux and MacOS with Python version 3.5 or higher. Most of the
dependencies will be installed automatically. However, a few need to be
We support Linux, MacOS, and Windows with Python version 3.9 or higher. Most of
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't support 3.13 at the moment, tensorflow is the problem I think.

@mihaic mihaic merged commit 69d7158 into brainiak:master Dec 9, 2024
12 checks passed
@mihaic mihaic deleted the fix-install-docs branch December 9, 2024 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants