Giter Club home page Giter Club logo

Comments (6)

aamaricci avatar aamaricci commented on July 27, 2024

from scifortran.

WangYun1995 avatar WangYun1995 commented on July 27, 2024

Hi, this is error message from Cmake which, in order, - informs you that you're using a too old version of Cmake and - informs you that MPI can not be found in your system. By default SciFortran uses MPI, so if you do not want to use it you should set the cmake variable USE_MPI=False. This is done using the option -D: $cmake .. -DUSE_MPI=False this will analyze your system without checking for MPI. If everything goes well a suitable Makefile is created and you can compile/install the library as usual: $make $make install $make post-install Cheers. A

On Mon, Nov 30, 2020 at 2:47 PM WangYun1995 @.***> wrote: Hi aamaricci, The information returned after that I input cmake .. is shown below CMake Deprecation Warning at CMakeLists.txt:4 (CMAKE_MINIMUM_REQUIRED): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The Fortran compiler identification is GNU 6.3.1 -- Detecting Fortran compiler ABI info -- Detecting Fortran compiler ABI info - done -- Check for working Fortran compiler: /usr/bin/f95 - skipped -- Checking whether /usr/bin/f95 supports Fortran 90 -- Checking whether /usr/bin/f95 supports Fortran 90 - yes -- OS: Linux 4.11.12-100.fc24.x86_64 -- BUILD_TYPE=RELEASE -- Fortran Compiler id = GNU -- Could NOT find MPI_Fortran (missing: MPI_Fortran_LIB_NAMES MPI_Fortran_F77_HEADER_DIR MPI_Fortran_MODULE_DIR MPI_Fortran_WORKS) CMake Error at /usr/local/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:218 (message): Could NOT find MPI (missing: MPI_Fortran_FOUND) Reason given by package: MPI component 'C' was requested, but language C is not enabled. MPI component 'CXX' was requested, but language CXX is not enabled. Call Stack (most recent call first): /usr/local/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:577 (_FPHSA_FAILURE_MESSAGE) /usr/local/share/cmake-3.19/Modules/FindMPI.cmake:1721 (find_package_handle_standard_args) CMakeLists.txt:52 (FIND_PACKAGE) -- Configuring incomplete, errors occurred! See also "/home/wangy/downloads/scifor/build/CMakeFiles/CMakeOutput.log". See also "/home/wangy/downloads/scifor/build/CMakeFiles/CMakeError.log". Does it mean that the installation fail? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#3>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARRDWBNDUD6IPWYCWB5WTDSSOO6HANCNFSM4UHTDF2A .

But my cmake version is the latest release , i.e. "CMake 3.19.1".

from scifortran.

aamaricci avatar aamaricci commented on July 27, 2024

Check that the version you are using is actually the one you are invoking $cmake --version
Anyway this is only a warning, the error message comes from missing MPI.

from scifortran.

WangYun1995 avatar WangYun1995 commented on July 27, 2024

Actually, I checked the version by invoking cmake --version.
QQ图片20201201201026

So I didn't understand why this warning appears.

from scifortran.

aamaricci avatar aamaricci commented on July 27, 2024

from scifortran.

WangYun1995 avatar WangYun1995 commented on July 27, 2024

Thank you so much for your help 👍

from scifortran.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.