MATLAB Answers

0

SuiteSparse Installation: Cannot open include file: 'regex.h'

Dylan Zaluski 님이 질문을 제출함. 19 Oct 2018
최근 활동 Royi Avital 님이 답변함. 25 Apr 2019
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!

  댓글 수: 3

Hi Dylan,
I've the exact same problem. Have you managed to solve it so far?
Thanks,
Jorge
Hi Jorge,
Yes, I actually did get this resolved some time ago, after talking to Tim Davis (SuiteSparse's creator). The issue lies with the METIS package that is included with SuiteSparse. When you download a copy, before building the package, delete the entire folder named "METIS" (might be a version number along with the name), and then try building it again. That worked like a charm for me.
Hi Dylan,
Thanks for your reply :) I ended up doing the same and it worked.

로그인 to comment.

답변 수: 1

Royi Avital 님의 답변 25 Apr 2019

Whny would you need SuiteSparse in MATLAB?
I though MATLAB uses SuiteSparse to begin with.

  댓글 수: 0

로그인 to comment.



Translated by