SuiteSparse Installation: Cannot open include file: 'regex.h'
조회 수: 19 (최근 30일)
이전 댓글 표시
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월 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일
Why would you need SuiteSparse in MATLAB?
I though MATLAB uses SuiteSparse to begin with.
댓글 수: 6
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?
참고 항목
카테고리
Help Center 및 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!