cjlin1 / libsvm

LIBSVM -- A Library for Support Vector Machines
https://www.csie.ntu.edu.tw/~cjlin/libsvm/
BSD 3-Clause "New" or "Revised" License
4.52k stars 1.64k forks source link

MATLAB Crashes when trying to run "svmtrain" on CentOS #215

Closed tk27182 closed 1 month ago

tk27182 commented 2 months ago

I'm trying to run some feature selection and classification models using libsvm-3.17 on my university's supercomputer. I haven't had issues in the past running these functions and libsvm-3.17 has been properly made on my system. But recently, the code will start running and then crash once it tries to use "svmtrain". It generates the attached segment violation and crash dump. I've tried re-compiling libsvm, running on a different cluster, increasing memory, but I still get this report. I reached out to MATLAB support and based on what they read in the crash report, there may be a bug in the C/C++ code. I've attached the error report here.

Is this a known issue with CentOS or Rocky8?

matlab_error_report.txt

cjlin1 commented 2 months ago

We need more information. Can you give us your whole code?

tk27182 commented 1 month ago

I'm sorry, this was user error. It works fine.