Hello,
I have encountered a problem running CasADi with Ipopt through Matlab in a Linux computer. The issue occurs when I use the HSL library ma97. I have no problems running CasADi with the other HSL libraries (e.g., ma57, ma86). The error seems to be related to a mex file:
This error was detected while a MEX-file was running. If the MEX-file
is not an official MathWorks function, please examine its source code
for errors. Please consult the External Interfaces Guide for information
on debugging MEX-files.
The segmentation error is similar to what other members have reported in the forum (crash report attached):
--------------------------------------------------------------------------------
Segmentation violation detected at 2021-08-31 22:04:45 -0400
--------------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : UTF-8
Deployed : false
GNU C Library : 2.17 stable
Graphics Driver : Unknown software
Graphics card 1 : 0x102b ( 0x102b ) 0x534 Version 0.0.0.0 (0-0-0)
Java Version : Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
MATLAB Architecture : glnxa64
MATLAB Entitlement ID : 1014664
MATLAB Root : /x86_64_linux/m/matlab/R2020b
MATLAB Version : 9.9.0.1570001 (R2020b) Update 4
OpenGL : software
Operating System : "Red Hat Enterprise Linux Server release 7.9 (Maipo)"
Process ID : 17783
Processor ID : x86 Family 6 Model 63 Stepping 2, GenuineIntel
Session Key : 64861b60-f93d-45dc-8a03-a9efcc738a38
Static TLS mitigation : Disabled: Unnecessary
Window System : No active display
I am wondering if someone sees the connection with HSL ma97. Any help or advice will be greatly appreciated. I have used CasADi before in a Mac computer without any problems. Also, ma97 has shown to be the best for my implementation, so I would like to continue using it.
Thank you in advance.
Best regards,
Gabriel