Īlso the path /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi is existing on my machine. Found MPI_C: /usr/bin/mpicc - Found MPI_CXX: /usr/bin/mpic++.
#INSTALL MPI ON UBUNTU INSTALL#
Call Stack (most recent call first): /usr/share/cmake-3.19/Modules/FindMPI.cmake:1265(_MPI_try_staged_settings) /usr/share/cmake-3.19/Modules/FindMPI.cmake:1530 (_MPI_check_lang_works) /home/schen/Desktop/code/debug/_deps/boost-src/libs/mpi.cmake:1 (find_package) How do configure your build?įor me this works on Ubuntu 20.04: sudo apt install petsc-dev cd ogs cmake -S. cmake: 1214 (try_compile) : Failed to generate test project build system. If available for your platform, this is likely the. For example, you can search for it using yum (on Fedora), apt (Debian/Ubuntu), pkgadd (FreeBSD) or port/brew (Mac OS). NOTE: MPICH binary packages are available in many UNIX distributions and for Windows. CMake Error at /usr/share/cmake-3.19/Modules/FindMPI. MPICH is distributed under a BSD-like license. This allows the simple use of libraries that make use of the MPI profiling interface and that are installed in the same directory as the MPI library. name can have two forms: A library in the same directory as the MPI library The name of a profile configuration file If name is a library, then this library is included before the MPI library. * The installation package was faulty and references files it does not provide. The -profilename argument allows you to specify an MPI profiling library to be used. * An install or uninstall procedure did not complete successfully. I recommend Linux Mint, Ubuntu, or CentOS. If you are running Windows or MacOS, you can use VirtualBox to run Linux in a virtual machine. Possible reasons include: * The path was deleted, renamed, or moved to another location. Note that you should still use the Linux cluster for testing, since it supports true parallel execution with up to 56 MPI processes. Make Error in /home/schen/Desktop/code/debug/CMakeFiles/CMakeTmp/CMakeLists.txt: Imported target "MPI:: MPI_C" includes non-existent path "/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi" in its INTERFACE_INCLUDE_DIRECTORIES. Ubuntu verions 16.04 and 18.04 are supported but not currently 20.04.
Check whether gcc, g++, gfortran have been installed and check the shell environment.
#INSTALL MPI ON UBUNTU CODE#
The installation package was faulty and references files it does not provide. Installing and Running on Ubuntu¶ Users interested to work with PFLOTRAN-OGS at code level, can proceed with the installation and build from source code. Ubuntu 18 installation MPI environment Environmental dependency check. Possible reasons include: * The path was deleted, renamed, or moved to another location.
The following is the extracted (from screenshot) error message send me via email: Imported target "MPI::MPI_C" includes non-existent path "/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi" in its INTERFACE_INCLUDE_DIRECTORIES.