Open linghu114 opened 1 year ago
Hi Ling Hu, I forgot to write in the documentation that we only support UNIX systems (Linux and Mac). There might be a way to make Asteroid compile on Windows, but I am not sure that it's possible. I would rather recommend using another machine or a linux subsystem. Regarding the specific error that you get: MPI not found means that you should install MPI (the Message Passing Interface) if you plan to use parallelization. But this is optional. The real problem is "make: command not found". The cmake command prepares a Makefile, which can be then parsed with the command "make" to compile the program. But as I said, I think that the simplest solution is to use a UNIX machine or subsystem ;-) Best, Benoit
Le lun. 22 mai 2023 à 06:13, Ling Hu @.***> a écrit :
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
— Reply to this email directly, view it on GitHub https://github.com/BenoitMorel/Asteroid/issues/4, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADJJ3UIVCHX7TKRN2JH7DATXHLRYFANCNFSM6AAAAAAYJ3RZ6E . You are receiving this because you are subscribed to this thread.Message ID: @.***>
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