Comments (4)
with Intel oneAPI on Windows and Visual Studio 17.1, using
cmake -B build -Dopenmp=true -Dparallel=off -G Ninja
cmake --build build
I get configure text including
-- Building for: Ninja
-- The C compiler identification is IntelLLVM 2022.0.0 with MSVC-like command-line
-- The Fortran compiler identification is IntelLLVM 2022.0.0 with MSVC-like command-line
the "build" directory contains:
dmumps.lib
mpiseq.lib
mumps_common.lib
pord.lib
smumps.lib
from mumps.
I don't use a toolchain file for CMake with oneAPI, I just use the oneAPI command prompt for Intel 64 for Visual Studio {2019,2022}
from mumps.
Hi @scivision
I followed your steps but the compilation failed, here the log file
Thanks for helping.
PS : I used the Intel oneAPI command promp
F:\Work\mumps>cmake -B build -Dopenmp=true -Dparallel=off -G Ninja
-- The C compiler identification is IntelLLVM 2022.0.0 with MSVC-like command-line
-- The Fortran compiler identification is IntelLLVM 2022.0.0 with MSVC-like command-line
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Intel/oneAPI/compiler/latest/windows/bin/icx.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Check for working Fortran compiler: C:/Program Files (x86)/Intel/oneAPI/compiler/latest/windows/bin/ifx.exe - skipped
-- checking that C and Fortran compilers can link
-- checking that C and Fortran compilers can link - OK
-- Populating mumps
-- Configuring done
-- Generating done
-- Build files have been written to: F:/Work/mumps/build/_deps/mumps-subbuild
[1/8] Creating directories for 'mumps-populate'
[1/8] Performing download step (download, verify and extract) for 'mumps-populate'
-- Downloading...
dst='F:/Work/mumps/build/_deps/mumps-subbuild/mumps-populate-prefix/src/MUMPS_5.4.1.tar.gz'
timeout='none'
inactivity timeout='15 seconds'
-- Using src='http://mumps.enseeiht.fr/MUMPS_5.4.1.tar.gz'
-- [download 0% complete]
-- ...
-- [download 100% complete]
-- verifying file...
file='F:/Work/mumps/build/_deps/mumps-subbuild/mumps-populate-prefix/src/MUMPS_5.4.1.tar.gz'
-- Downloading... done
-- extracting...
src='F:/Work/mumps/build/_deps/mumps-subbuild/mumps-populate-prefix/src/MUMPS_5.4.1.tar.gz'
dst='F:/Work/mumps/build/_deps/mumps-src'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean up]
-- extracting... done
[3/8] No patch step for 'mumps-populate'
[4/8] No configure step for 'mumps-populate'
[5/8] No build step for 'mumps-populate'
[6/8] No install step for 'mumps-populate'
[7/8] No test step for 'mumps-populate'
[8/8] Completed 'mumps-populate'
-- Looking for pthread.h
-- Looking for pthread.h - not found
-- Found Threads: TRUE
-- Performing Test LAPACK_s_links
-- Performing Test LAPACK_s_links - Success
-- Performing Test LAPACK_d_links
-- Performing Test LAPACK_d_links - Success
-- Found LAPACK: C:/Program Files (x86)/Intel/oneAPI/mkl/latest/lib/intel64/mkl_intel_lp64.lib;C:/Program Files (x86)/Intel/oneAPI/mkl/latest/lib/intel64/mkl_sequential.lib;C:/Program Files (x86)/Intel/oneAPI/mkl/latest/lib/intel64/mkl_core.lib found components: MKL
-- The following features have been enabled:
* Openmp, OpenMP API https://www.openmp.org/
-- The following features have been disabled:
* Parallel, parallel MUMPS (using MPI and Scalapack)
* 64-bit-integer, use 64-bit integers in C and Fortran
* Scotch, Scotch graph partitioning https://www.labri.fr/perso/pelegrin/scotch/
* BuildScalapack, auto-build Scalapack
* BuildLapack, auto-build Lapack
-- Configuring done
-- Generating done
-- Build files have been written to: F:/Work/mumps/build
F:\Work\mumps>cmake --build build
[22/504] Generating ../mumps_io.c
FAILED: _deps/mumps-build/mumps_io.c F:/Work/mumps/build/_deps/mumps-build/mumps_io.c
cmd.exe /C "cd /D F:\Work\mumps\build\_deps\mumps-build\src && "C:\Program Files\CMake\bin\cmake.exe" -Din_file:FILEPATH=F:/Work/mumps/build/_deps/mumps-src/src/mumps_io.c -Dpatch_file:FILEPATH=F:/Work/mumps/cmake/mumps_io.c.patch -Dout_file:FILEPATH=F:/Work/mumps/build/_deps/mumps-build/mumps_io.c -P F:/Work/mumps/cmake/PatchFile.cmake"
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.33.0.windows.2")
'C:/Program Files/Git/usr/bin/patch.exe' 'F:/Work/mumps/build/_deps/mumps-src/src/mumps_io.c' '--input=F:/Work/mumps/cmake/mumps_io.c.patch' '--output=F:/Work/mumps/build/_deps/mumps-build/mumps_io.c' '--ignore-whitespace'
patching file F:/Work/mumps/build/_deps/mumps-build/mumps_io.c (read from F:/Work/mumps/build/_deps/mumps-src/src/mumps_io.c)
Hunk #1 FAILED at 13 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file F:/Work/mumps/build/_deps/mumps-build/mumps_io.c.rej
CMake Error at F:/Work/mumps/cmake/PatchFile.cmake:30 (message):
Failed to apply patch F:/Work/mumps/cmake/mumps_io.c.patch to
F:/Work/mumps/build/_deps/mumps-src/src/mumps_io.c with C:/Program
Files/Git/usr/bin/patch.exe
[23/504] Generating ../include/mumps_io_patched.h
FAILED: _deps/mumps-build/include/mumps_io_patched.h F:/Work/mumps/build/_deps/mumps-build/include/mumps_io_patched.h
cmd.exe /C "cd /D F:\Work\mumps\build\_deps\mumps-build\src && "C:\Program Files\CMake\bin\cmake.exe" -Din_file:FILEPATH=F:/Work/mumps/build/_deps/mumps-src/src/mumps_io.h -Dpatch_file:FILEPATH=F:/Work/mumps/cmake/mumps_io.h.patch -Dout_file:FILEPATH=F:/Work/mumps/build/_deps/mumps-build/include/mumps_io_patched.h -P F:/Work/mumps/cmake/PatchFile.cmake"
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.33.0.windows.2")
'C:/Program Files/Git/usr/bin/patch.exe' 'F:/Work/mumps/build/_deps/mumps-src/src/mumps_io.h' '--input=F:/Work/mumps/cmake/mumps_io.h.patch' '--output=F:/Work/mumps/build/_deps/mumps-build/include/mumps_io_patched.h' '--ignore-whitespace'
patching file F:/Work/mumps/build/_deps/mumps-build/include/mumps_io_patched.h (read from F:/Work/mumps/build/_deps/mumps-src/src/mumps_io.h)
Hunk #1 FAILED at 33 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file F:/Work/mumps/build/_deps/mumps-build/include/mumps_io_patched.h.rej
CMake Error at F:/Work/mumps/cmake/PatchFile.cmake:30 (message):
Failed to apply patch F:/Work/mumps/cmake/mumps_io.h.patch to
F:/Work/mumps/build/_deps/mumps-src/src/mumps_io.h with C:/Program
Files/Git/usr/bin/patch.exe
ninja: build stopped: subcommand failed.
from mumps.
try
cmake -B build -Dopenmp=true -Dparallel=off -G Ninja -DMUMPS_UPSTREAM_VERSION=5.3.5
cmake --build build
I have just emailed the MUMPS developers again asking them when they'll release MUMPS 5.4.2 that has a fix for MUMPS 5.4.0, 5.4.1. For now, using MUMPS 5.3.5 should work in the case where patching 5.4.x fails as you have experienced.
from mumps.
Related Issues (20)
- Using the BLAS extension GEMMT
- Find static MKL LAPACK and ScaLAPACK libraries on Linux HOT 15
- Link error windows oneapi HOT 4
- How to output the factor of matrix A into files
- How to build mumps in Windows 10 + VS2019 + intel Fortran 2020?
- 64-bit integer use of MUMPS always meet INFO(1)=-3 HOT 1
- Update to MUMPS 5.6.0 HOT 1
- ParMetis and scotch ordering options HOT 5
- The mingw version always produces NaN results when Out-Of-Core is enabled HOT 1
- Update to MUMPS 5.6.1
- Removing RUNPATHS from installed DSOs HOT 1
- Build fails on Windows HOT 3
- Rename SCALAPACK to ScaLAPACK
- Error: Type mismatch in argument āsā at (1); passed INTEGER(4) to LOGICAL(4) HOT 2
- How to compile with parmetis? HOT 1
- CMake can not determine linker language for target: mumpscfg HOT 1
- Missing variable is: CMAKE_Fortran_PREPROCESS_SOURCE HOT 1
- GEMMT disabled by default for oneAPI 2024 on Windows? HOT 1
- Can't find MPI HOT 2
- Can't build project with Metis and Scotch ON HOT 3
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 mumps.