problem glpk matlab for linux

View: New views
2 Messages — Rating Filter:   Alert me  

problem glpk matlab for linux

by paololetto@libero.it :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,
I have tried to compile my glpkmex.cpp file on matlab 2008Ra for linux(ubuntu) using gcc. After this step I used the mex file in a matlab routine but routine stop its running with this error:

??? Error using ==> glpkmex
Function "mxGetJc_700" is obsolete in file "compat32.cpp", line 307.
(64-bit mex files using sparse matrices must be rebuilt with the
"-largeArrayDims" option.  See the R2006b release notes for more details.)


I have also tried to re-compile the file using the option "-largeArrayDims" but in this way is not possible to complete the compiling because in this case appears a new error:


/home/paolo/Documenti/LOB_2/Optimization/Optimization/glpkmex/cppfiles/glpkmex.cpp: In function `void mexFunction(int, mxArray**, int, const mxArray**)´:
/home/paolo/Documenti/LOB_2/Optimization/Optimization/glpkmex/cppfiles/glpkmex.cpp:672: error: cannot convert `mwIndex*´ to `int*´ in initialization
/home/paolo/Documenti/LOB_2/Optimization/Optimization/glpkmex/cppfiles/glpkmex.cpp:673: error: cannot convert `mwIndex*´ to `int*´ in initialization

    mex: compile of ' "/home/paolo/Documenti/LOB_2/Optimization/Optimization/glpkmex/cppfiles/glpkmex.cpp"' failed.

Is there someone that can help me? The problem is due to the 64bit architecture?

Paolo L.



_______________________________________________
Help-glpk mailing list
Help-glpk@...
http://lists.gnu.org/mailman/listinfo/help-glpk

Re: problem glpk matlab for linux

by xypron :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Paolo,

glpkmex is hosted at
https://sourceforge.net/projects/glpkmex/

Please, email one of the project administrators. You can find the contact information at
http://sourceforge.net/project/memberlist.php?group_id=199722

Best regards

Xypron

paololetto@libero.it wrote:
Hi all,
I have tried to compile my glpkmex.cpp file on matlab 2008Ra for linux(ubuntu) using gcc. After this step I used the mex file in a matlab routine but routine stop its running with this error:

??? Error using ==> glpkmex
Function "mxGetJc_700" is obsolete in file "compat32.cpp", line 307.
(64-bit mex files using sparse matrices must be rebuilt with the
"-largeArrayDims" option.  See the R2006b release notes for more details.)


I have also tried to re-compile the file using the option "-largeArrayDims" but in this way is not possible to complete the compiling because in this case appears a new error:


/home/paolo/Documenti/LOB_2/Optimization/Optimization/glpkmex/cppfiles/glpkmex.cpp: In function `void mexFunction(int, mxArray**, int, const mxArray**)´:
/home/paolo/Documenti/LOB_2/Optimization/Optimization/glpkmex/cppfiles/glpkmex.cpp:672: error: cannot convert `mwIndex*´ to `int*´ in initialization
/home/paolo/Documenti/LOB_2/Optimization/Optimization/glpkmex/cppfiles/glpkmex.cpp:673: error: cannot convert `mwIndex*´ to `int*´ in initialization

    mex: compile of ' "/home/paolo/Documenti/LOB_2/Optimization/Optimization/glpkmex/cppfiles/glpkmex.cpp"' failed.

Is there someone that can help me? The problem is due to the 64bit architecture?

Paolo L.



_______________________________________________
Help-glpk mailing list
Help-glpk@gnu.org
http://lists.gnu.org/mailman/listinfo/help-glpk