Comments (6)
from scifortran.
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.
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.
Actually, I checked the version by invoking cmake --version
.
So I didn't understand why this warning appears.
from scifortran.
from scifortran.
Thank you so much for your help 👍
from scifortran.
Related Issues (19)
- Documentation HOT 5
- Incompatibility of mentioned Licenses HOT 3
- Windows 10 Installation
- compilation not working on ubuntu 20.04.2 HOT 3
- A few questions about SciFortran and it's packaging HOT 3
- typos "platoforms" HOT 1
- We should better define the min versions of `CMake` and `ninja` HOT 8
- We state that MPI is optional but `-DUSE_MPI=false` fails HOT 3
- What should I do with this cmake error? HOT 2
- Are there some fortran exmaples used to show how to use ```SciFortran```? HOT 8
- A problem in making the GAUSS_QUADRATURE.f90.o HOT 2
- Add support for dynamic lib and tests with CMake HOT 2
- Segfault when using system-provided lapack HOT 3
- undefined reference to `integrate_quad_func_' HOT 13
- Another issue with failed to compile with ```mpif90 $(pkg-config --cflags --libs scifor) test.f95``` HOT 1
- Issues about FFT HOT 4
- Does SciFortran offer an interface of K-D tree? HOT 1
- Error applying patch zdotc.patch HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scifortran.