KNOWN PROBLEMS WITH INSTALLING SUITESPARSE AND SOLUTIONS TO THEM There are some problems with installing SuiteSparse for 64bit Linux, Matlab 7.8 (or newer). The problem can be fixed as follows - Compiling SuiteSparse seems to finish allright. However, when running demos you will end up in segmentation fault. - The problem occurs with CHOLMOD, UMFPACK, and SPQR packages and can be prevented with the following steps: * Open file SuiteSparse/CHOLMOD/MATLAB/cholmod_make.m * Go to the line 46 * Replace the following lines (46) if (~isempty (strfind (computer, '64'))) (47) % 64-bit MATLAB (48) d = '-largeArrayDims' ; (49) end with the following ones if (~isempty (strfind (computer, '64'))) % 64-bit MATLAB d = '-largeArrayDims' ; % The next three lines are added by jarno.vanhatalo@iki.fi (-09). % These options are needed for some reason in Matlab 7.8 or newer. if v >= 7.8 d = [d ' -DLONG -D''LONGBLAS=UF_long''']; end end * Open file SuiteSparse/SPQR/MATLAB/spqr_make.m * Go to the line 58 * Replace the following lines (58) if (is64) (59) % 64-bit MATLAB (60) d = '-largeArrayDims' ; (61) end with the following ones if (is64) % 64-bit MATLAB d = '-largeArrayDims' ; % The next three lines are added by jarno.vanhatalo@iki.fi (-09). % These options are needed for some reason in Matlab 7.8 or newer. if v >= 7.8 d = [d ' -DLONG -D''LONGBLAS=UF_long''']; end end * Open file SuiteSparse/UMFPACK/MATLAB/umfpack_make.m * Go to the line 21 * replace the following lines (21) if (~isempty (strfind (computer, '64'))) (22) d = ' -largeArrayDims' ; (23) end with the following ones v = getversion ; % Added by jarno.vanhatalo@iki.fi (-09). if (~isempty (strfind (computer, '64'))) d = ' -largeArrayDims' ; % The next three lines are added by jarno.vanhatalo@iki.fi (-09). % These options are needed for some reason in Matlab 7.8 or newer. if v >= 7.8 d = [d ' -DLONG -D''LONGBLAS=UF_long''']; end end