Skip to content
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

Mac OS installation script seems broken #369

Open
aofarrel opened this issue Mar 4, 2024 · 0 comments
Open

Mac OS installation script seems broken #369

aofarrel opened this issue Mar 4, 2024 · 0 comments

Comments

@aofarrel
Copy link
Contributor

aofarrel commented Mar 4, 2024

When installing via ./install/installMacOS.sh, Homebrew will update open-mpi (if it's already installed) to 5.0.2. However, later down the line installation will fail us the script searches for open-mpi 5.0.0, which is not available. ls /usr/local/Cellar/open-mpi/ indicates that the path to open-mpi is correct, it's just that 5.0.0 isn't there anymore. Rerunning after 5.0.2 was installed results in the same error.

open-mpi does not appear to support downgrading via brew install [email protected] so this might be tricky for users to work around. However, the Docker script works fine, so Mac users who can use Docker still have an alternative.

System information

  • Mac OS 13.4 (22F66)
  • Intel hardware, 2019 Macbook Pro

Partial log

-- 0.6.3
-- Using Protocol Buffers 4.25.3
CMake Error in /Users/aofarrel/github/usher/build/CMakeFiles/CMakeScratch/TryCompile-bk4ptX/CMakeLists.txt:
  Imported target "MPI::MPI_C" includes non-existent path

    "/usr/local/Cellar/open-mpi/5.0.0/include"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.



CMake Error at /usr/local/Cellar/cmake/3.28.3/share/cmake/Modules/FindMPI.cmake:1278 (try_compile):
  Failed to generate test project build system.
Call Stack (most recent call first):
  /usr/local/Cellar/cmake/3.28.3/share/cmake/Modules/FindMPI.cmake:1322 (_MPI_try_staged_settings)
  /usr/local/Cellar/cmake/3.28.3/share/cmake/Modules/FindMPI.cmake:1645 (_MPI_check_lang_works)
  CMakeLists.txt:38 (find_package)


-- Configuring incomplete, errors occurred!
/usr/local/Cellar/cmake/3.28.0/bin/cmake -S/Users/aofarrel/github/usher -B/Users/aofarrel/github/usher/build --check-build-system CMakeFiles/Makefile.cmake 0
make: /usr/local/Cellar/cmake/3.28.0/bin/cmake: No such file or directory
make: *** [cmake_check_build_system] Error 1
receiving incremental file list
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

No branches or pull requests

1 participant