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

cmake could not find mpi #4

Open
linghu114 opened this issue May 22, 2023 · 1 comment
Open

cmake could not find mpi #4

linghu114 opened this issue May 22, 2023 · 1 comment

Comments

@linghu114
Copy link

Hi,

(I have cmake installed; and I'm using Windows 10)
I run in Git to install Asteroid with ./install.sh, but I modified the generator (otherwise it goes to Visual Studio 2022 somehow), so line 4 is: cmake -G "MinGW Makefiles" ..
Then the results came out with cmake configured, but could not find MPI. The result codes are:

$ ./install.sh
-- The C compiler identification is GNU 8.1.0
-- The CXX compiler identification is GNU 8.1.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: D:/+phylogenetics/CodeBlocks/MinGW/bin/gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: D:/+phylogenetics/CodeBlocks/MinGW/bin/c++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test CXX_STANDARD_14_SUPPORT
-- Performing Test CXX_STANDARD_14_SUPPORT - Success
-- SSE enabled. To disable it, run cmake with -DENABLE_SSE=false
-- AVX enabled. To disable it, run cmake with -DENABLE_AVX=false
-- AVX2 enabled. To disable it, run cmake with -DENABLE_AVX2=false
-- coraxlib libraries: corax_static
-- Could NOT find MPI_C (missing: MPI_C_LIB_NAMES MPI_C_HEADER_DIR MPI_C_WORKS)
-- Could NOT find MPI_CXX (missing: MPI_CXX_LIB_NAMES MPI_CXX_HEADER_DIR MPI_CXX_WORKS)
-- Could NOT find MPI (missing: MPI_C_FOUND MPI_CXX_FOUND)
-- Configuring done (15.4s)
-- Generating done (0.3s)
-- Build files have been written to: D:/+phylogenetics/Asteroid/build
./install.sh: line 5: make: command not found
Now running unit tests...
PLEASE RUN THIS SCRIPT FROM THE ASTEROID ROOT DIRECTORY
./run_tests.sh: line 3: build/bin/test_stepwise_induced: No such file or directory
./run_tests.sh: line 4: build/bin/test_bitvector: No such file or directory
./run_tests.sh: line 5: build/bin/test_mappings: No such file or directory
./run_tests.sh: line 6: build/bin/test_unrooted_trees: No such file or directory
./run_tests.sh: line 7: build/bin/test_internode_distance: No such file or directory

Could you help to figure out the problem? Thanks

@BenoitMorel
Copy link
Owner

BenoitMorel commented May 22, 2023 via email

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

2 participants