ut-padas / rchol

directory for randomized cholesky
Other
17 stars 3 forks source link

Unable to build for Matlab on MacOSX #1

Open jennloe opened 2 years ago

jennloe commented 2 years ago

Hi, Is it possible to build rchol for MATLAB on MacOSX? In /rchol/matlab/ I run "make," and I get the following errors:

rchol/matlab/rchol_lap/rchol_lap.cpp:97:5: error: unknown type name 'cpu_set_t'
    cpu_set_t cpuset; 
    ^
/rchol/matlab/rchol_lap/rchol_lap.cpp:265:8: error: use of undeclared identifier 'sched_getcpu'
    if(sched_getcpu() != core_begin)
       ^

and similar. At the beginning, my compiler says:

Building with 'Xcode Clang++'.
xcrun: error: SDK "macosx10.14.6" cannot be located

I have Matlab installation 2019b. Thanks!

Charles-Chao-Chen commented 2 years ago

Hi Jennifer,

I am afraid we never tested the installation on MacOSX, unfortunately. If you have access to a Linux machine, I feel that would be the fastest way to build the code. Otherwise, it may take some time before we support MacOSX.