SuiteSparse Installation: Cannot open include file: 'regex.h'
显示 更早的评论
I am having issues installing SuiteSparse in Matlab. I am using the 5.3 version, downloaded from http://faculty.cse.tamu.edu/davis/suitesparse.html, and using the Visual Studio 2017 C++ compiler. When I run SuiteSparse_install, I get the following error:
c:\users\dylan\documents\school\masters\suitesparse\metis-5.1.0\gklib\GKlib.h(68): fatal error C1083: Cannot open include file: 'regex.h': No such file or directory
And UMFPACK, KLU, CHOLMOD, SuiteSparseQR fail to install. Has anyone got any experience with this, or could point me in the right direction for assistance? I need the sparse2 and spqr functions for my code, as I have a very large over-determined, sparse system to solve, and it is giving Matlab's mldivide a rough time. Thanks!
4 个评论
Jorge Barrasa Fano
2019-3-4
Hi Dylan,
I've the exact same problem. Have you managed to solve it so far?
Thanks,
Jorge
Dylan Zaluski
2019-3-4
Jorge Barrasa Fano
2019-3-6
Hi Dylan,
Thanks for your reply :) I ended up doing the same and it worked.
Humberto Brambila de Salles
2020-9-22
Dylan, you are the real MVP! I've been trying this for so long! Thank you so much!!
回答(1 个)
Royi Avital
2019-4-25
编辑:Royi Avital
2020-5-16
0 个投票
Why would you need SuiteSparse in MATLAB?
I though MATLAB uses SuiteSparse to begin with.
6 个评论
Petros Bogiatzis
2020-5-15
SuiteSparce has a lot (really a lot) more functionalities that are note included in the embended Matlab versions of the functions.
Royi Avital
2020-5-16
Could you elaborate on that? Such as?
Dylan Zaluski
2020-5-16
Royi Avital
2020-5-16
Interesting. Does it have an equivalent of \ which is faster? Does it have iterative solver as well? Does it handle Mat Vec / Mat Mat multiplication as well?
Dylan Zaluski
2020-5-16
Royi Avital
2020-5-31
Dylan, MATLAB uses SuiteSparse for QR of Sprase Matrices to begin with (It's built in). It also uses MKL for BLAS things. Could you show a sample code you get improvement from?
类别
在 帮助中心 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!