-
-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to install mpi4py with Intel MPI? #67
Comments
Making that possible was the whole point of adding the build variant. To install mpi4py with Intel MPI you have to:
Please note you can also reuse Intel MPI installed externally, and then install the MPICH external variant (and mpi4py and other MPI packages) in your environment. Just check the conda-forge docs for further details. |
@dalcinl, when doing Found conflicts! Looking for incompatible packages.
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Output in format: Requested package -> Available versions
Package mpi conflicts for:
mpi4py -> openmpi[version='>=4.1.6,<5.0a0'] -> mpi==1.0[build='mpich|openmpi']
impi_rt -> mpi==1.0=impi
The following specifications were found to be incompatible with your system:
- feature:/linux-64::__glibc==2.35=0
- feature:|@/linux-64::__glibc==2.35=0
- mpi4py -> libgcc-ng[version='>=10.3.0'] -> __glibc[version='>=2.17']
Your installed version is: 2.35 My system version is the following. $ cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.3 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy |
Do you get that error when creating an environment from scratch or with an empty environment? Sorry, I cannot test myself on Linux right now. |
My steps are the following. conda create -n intel-mpi python=3.9
conda activate intel-mpi
conda install -c conda-forge impi_rt mpi4py
# and here error I mentioned above |
@dalcinl The issue appears to be that conda packages built for impi variants were not uploaded to the conda channel:
There are there for mpich and openmpi:
I can see that @conda-forge/core could you help investigate, please? |
I see the packages https://anaconda.org/conda-forge/mpi4py/3.1.5/download/linux-64/mpi4py-3.1.5-py310h45b48a2_0.conda but they were marked broken for a reason I cannot quite recall. |
yes see these issues: We should bump the build number and rebuild and it will work. |
See this one: #69 |
This should be fixed, if not please kindly open a new issue, thanks! |
Comment:
@dalcinl, hi, I just saw you added Intel MPI build variant to the feedstock. I was wondering if it could be possible to install mpi4py with Intel MPI now from conda-forge?
The text was updated successfully, but these errors were encountered: