Opened 22 months ago

Closed 3 months ago

#285 closed defect (migrated)

MatLab interface crashes Ipopt (R2017a and ubuntu 16.04 LTS)

Reported by: alexho Owned by: ipopt-team
Priority: normal Component: Ipopt
Version: 3.12 Severity: normal
Keywords: Cc:



I'm trying to configure Ipopt (v. 3.12.4) to run with MatLab? 2017a. I have downloaded the correct compilers for MatLab? (2017a) (gnu compiler collection v. 4.9.4) and I'm using a ubuntu 16.04 LTS distribution.

I make a directory for building Ipopt (as instructed in the guide) and run the configure script (with my selected compiler as):

../configure CC=/usr/local/gcc/4.9.4/bin/gcc CXX=/usr/local/gcc/4.9.4/bin/g++ F77=/usr/local/gcc/4.9.4/bin/gfortran ADD_CXXFLAGS="-fPIC -fexceptions" ADD_CFLAGS="-fPIC -fexceptions" ADD_FFLAGS="-fPIC -fexceptions" --disable-shared

I then run "make", "make test" and "make install" all succesfully executing. Finally, I want to build the MatLab? interface. I ensure that the makefile in the source folder is correctly setup and "make install" it. It outputs "MEX completed succesfully".

When I then try to run the MatLab? examples, MatLab? waits a while and then crashes with the error "Segmentation violation". I suspect that the problem lies with the compilation of the thirdparty packages, but im not sure.

I'm seemingly able to compile the mex file correctly, but then it crashes, am What am I doing wrong? Any help is appreciated!

Thanks, Alexander.

Attachments (1)

matlab_crash_dump.25116-4 (11.9 KB) - added by alexho 22 months ago.
MatLab? crash dump

Download all attachments as: .zip

Change History (2)

Changed 22 months ago by alexho

MatLab? crash dump

comment:1 Changed 3 months ago by stefan

  • Resolution set to migrated
  • Status changed from new to closed

This ticket has been migrated to GitHub and will be followed up there:

Note: See TracTickets for help on using tickets.