Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Failed building wheel for mpi4py #93

Closed
pachequin1 opened this issue Nov 21, 2021 · 4 comments
Closed

Failed building wheel for mpi4py #93

pachequin1 opened this issue Nov 21, 2021 · 4 comments

Comments

@pachequin1
Copy link

Hi everyone,

I'm trying to install gmx_MMPBSA on a centos machine using:

amber.python -m pip install gmx_MMPBSA

unfortunately, i got the following error:

###################################
/home/cmp/software/amber20_src/build/CMakeFiles/miniconda/install/compiler_compat/ld: _configtest.c:(.text.startup+0x1a): undefined reference to `MPI_Finalize'
collect2: error: ld devolvi? el estado de salida 1
failure.
removing: _configtest.c _configtest.o
error: Cannot link MPI programs. Check your configuration!!!

ERROR: Failed building wheel for mpi4py
Failed to build mpi4py
ERROR: Could not build wheels for mpi4py which use PEP 517 and cannot be installed directly
###################################

Does anyone know how to fix this error?

I really appreciated.

Cesar

@Valdes-Tresanco-MS
Copy link
Owner

Did you install ambertools and compilers as indicated in amber documentation?

The installation of mpi4py must be done before compilers because this package modifies the mpi4py compilation environment.

@pachequin1
Copy link
Author

pachequin1 commented Nov 21, 2021 via email

@Valdes-Tresanco-MS
Copy link
Owner

Follow these steps and tell me if it was resolved:

  • Uninstall the compilers package (conda remove compilers)
  • Install mpi4py (conda install -c conda-forge mpi4py)
  • install compilers (conda install -c conda-forge compilers)
  • install gmx_MMPBSA (python -m pip install gmx_MMPBSA)

Make sure you have the correct conda environment active

Cheers!
Mario S

@pachequin1
Copy link
Author

pachequin1 commented Nov 21, 2021 via email

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants