We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Since #913, I get the following error with CMake. Any idea what the problem is.
CMake
~/stdlib$ FC=ifort CC=icx CXX=icpc FFLAGS=-O3 cmake -B build -DCMAKE_MAXIMUM_RANK:String=4 -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=off -DCMAKE_VERBOSE_MAKEFILE=off -- The Fortran compiler identification is Intel 2021.0.0.20240602 -- Detecting Fortran compiler ABI info -- Detecting Fortran compiler ABI info - done -- Check for working Fortran compiler: /software1/intel/oneapi_llvm/compiler/2024.2/bin/ifort - skipped -- Performing Test WITH_CBOOL -- Performing Test WITH_CBOOL - Success -- Performing Test WITH_QP -- Performing Test WITH_QP - Success -- Performing Test WITH_XDP -- Performing Test WITH_XDP - Failed -- Performing Test f18errorstop -- Performing Test f18errorstop - Failed -- Performing Test f03rank -- Performing Test f03rank - Success -- Performing Test f03real128 -- Performing Test f03real128 - Success -- Configuring done (2.8s) -- Generating done (0.1s) -- Build files have been written to: /home/jvandenp/stdlib/build ~/stdlib$ cmake --build build [ 0%] Generating stdlib_version.f90 [ 0%] Generating blas/stdlib_blas.F90 error: Failed to open file '/home/jvandenp/stdlib/build/src/blas/stdlib_blas.F90' for write [FyppFatalError] error: [Errno 2] No such file or directory: '/home/jvandenp/stdlib/build/src/blas/stdlib_blas.F90' [FileNotFoundError] gmake[2]: *** [src/CMakeFiles/fortran_stdlib.dir/build.make:394: src/blas/stdlib_blas.F90] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:128: src/CMakeFiles/fortran_stdlib.dir/all] Error 2 gmake: *** [Makefile:136: all] Error 2
@perazz @jalvesz
It should compile with CMake
master
Linux (Fedora) + Intel OneAPI + Cmake 3.31.1
No response
The text was updated successfully, but these errors were encountered:
The issue is that the directory blas is not created by cmake, and therefore, fypp fails to create the F90 files.
blas
cmake
fypp
F90
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Description
Since #913, I get the following error with
CMake
. Any idea what the problem is.@perazz @jalvesz
Expected Behaviour
It should compile with CMake
Version of stdlib
master
Platform and Architecture
Linux (Fedora) + Intel OneAPI + Cmake 3.31.1
Additional Information
No response
The text was updated successfully, but these errors were encountered: