eig did not converge/Matlab crashes for small systems

General CULA Dense (LAPACK & BLAS) support and troubleshooting. Use this forum if you are having a general problem or have encountered a bug.

eig did not converge/Matlab crashes for small systems

Postby omulm » Fri Sep 26, 2014 8:21 am

Dear all,

I would like to use cula with matlab on windows 7 64bit version.
I followed the instruction on
http://www.culatools.com/blog/category/interfaces/
to run matlab via the matlab_cula.bat file.

I can use eig ( just run eig(rand(n,n)) in the console) to diagonalize (random) matrices up to size 33x33. For matrix size 34x34 and 35x35 I get the following error message in matlab:
Error using eig
EIG did not converge.

For larger matrices matlab even crashes. For a matrix of size 38x38 I get a system error message, please see below.

For symmetric matrices the maximal size for which eig still works is 500x500. For larger matrices matlab also crashes.

I'am using matlab version R2014a and a GeForce GT 630 grafic card with 4GB.

Does anyone has an idea what the reason could be behind this error?

Thank you in advanced for your reply.

Oliver.

(Start error output for eig(rand(38,38)):

------------------------------------------------------------------------
std::terminate() detected at Fri Sep 26 16:57:23 2014
------------------------------------------------------------------------

Configuration:
Crash Decoding : Disabled
Default Encoding : windows-1252
MATLAB Architecture: win64
MATLAB Root : C:\MathWorks\MATLAB\R2014a
MATLAB Version : 8.3.0.532 (R2014a)
Operating System : Microsoft Windows 7 Home Premium
Processor ID : x86 Family 6 Model 60 Stepping 3, GenuineIntel
Virtual Machine : Java 1.7.0_11-b21 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
Window System : Version 6.1 (Build 7601: Service Pack 1)

Fault Count: 1


Abnormal termination:
std::terminate()

Register State (captured):
RAX = 00000000044dec01 RBX = 000000000401f840
RCX = 000000000401f200 RDX = 0000000000000000
RSP = 000000000401ed70 RBP = 000000000401fff0
RSI = 00000000044cebd8 RDI = 0000000000000000

R8 = 000007fffffdd000 R9 = 00000000044dec68
R10 = 00000000044dec30 R11 = 00000000044cec28
R12 = 0000000000000000 R13 = 0000000000000000
R14 = 0000000004022690 R15 = 000000000401fe08

RIP = 0000000004303eba EFL = 00000202

CS = 0033 FS = 0053 GS = 002b

Stack Trace (captured):
[ 0] 0x0000000004303eba C:\MathWorks\MATLAB\R2014a\bin\win64\libmwfl.dll+00081594 fl::diag::windows::context_base::capture_data+00000010
[ 1] 0x0000000004300692 C:\MathWorks\MATLAB\R2014a\bin\win64\libmwfl.dll+00067218 fl_diag_terminate+00004754
[ 2] 0x00000000043026b6 C:\MathWorks\MATLAB\R2014a\bin\win64\libmwfl.dll+00075446 fl_diag_terminate+00012982
[ 3] 0x00000000fd0d0435 C:\MathWorks\MATLAB\R2014a\bin\win64\mcr.dll+00328757 mnSetSegvServiceUrl+00009013
[ 4] 0x00000000fd0d6553 C:\MathWorks\MATLAB\R2014a\bin\win64\mcr.dll+00353619 mnRunPathDependentInitialization+00017507
[ 5] 0x00000000fd0d700b C:\MathWorks\MATLAB\R2014a\bin\win64\mcr.dll+00356363 mnRunPathDependentInitialization+00020251
[ 6] 0x00000000fd0d7113 C:\MathWorks\MATLAB\R2014a\bin\win64\mcr.dll+00356627 mnRunPathDependentInitialization+00020515
[ 7] 0x00000000fd0d7508 C:\MathWorks\MATLAB\R2014a\bin\win64\mcr.dll+00357640 mnRunPathDependentInitialization+00021528
[ 8] 0x0000000072bffaab C:\MathWorks\MATLAB\R2014a\bin\win64\MSVCR100.dll+00391851 terminate+00000023
[ 9] 0x0000000072bffafc C:\MathWorks\MATLAB\R2014a\bin\win64\MSVCR100.dll+00391932 _inconsistency+00000024
[ 10] 0x0000000072bffd23 C:\MathWorks\MATLAB\R2014a\bin\win64\MSVCR100.dll+00392483 _FrameUnwindFilter+00000195
[ 11] 0x0000000072bff5d2 C:\MathWorks\MATLAB\R2014a\bin\win64\MSVCR100.dll+00390610 SetThrowImageBase+00000182
[ 12] 0x0000000072c01366 C:\MathWorks\MATLAB\R2014a\bin\win64\MSVCR100.dll+00398182 _CxxExceptionFilter+00002838
[ 13] 0x0000000072bff66b C:\MathWorks\MATLAB\R2014a\bin\win64\MSVCR100.dll+00390763 _CxxFrameHandler3+00000119
[ 14] 0x0000000077649dad C:\Windows\SYSTEM32\ntdll.dll+00171437 RtlDecodePointer+00000301
[ 15] 0x0000000077638a4c C:\Windows\SYSTEM32\ntdll.dll+00100940 RtlUnwindEx+00001084
[ 16] 0x000000007743050e C:\Windows\system32\kernel32.dll+00197902 RtlUnwindEx+00000030
[ 17] 0x0000000072bffa69 C:\MathWorks\MATLAB\R2014a\bin\win64\MSVCR100.dll+00391785 FindAndUnlinkFrame+00000305
[ 18] 0x0000000072c00b10 C:\MathWorks\MATLAB\R2014a\bin\win64\MSVCR100.dll+00396048 _CxxExceptionFilter+00000704
[ 19] 0x0000000072c0111a C:\MathWorks\MATLAB\R2014a\bin\win64\MSVCR100.dll+00397594 _CxxExceptionFilter+00002250
[ 20] 0x0000000072c0144d C:\MathWorks\MATLAB\R2014a\bin\win64\MSVCR100.dll+00398413 _CxxExceptionFilter+00003069
[ 21] 0x0000000072bff66b C:\MathWorks\MATLAB\R2014a\bin\win64\MSVCR100.dll+00390763 _CxxFrameHandler3+00000119
[ 22] 0x0000000077649d2d C:\Windows\SYSTEM32\ntdll.dll+00171309 RtlDecodePointer+00000173
[ 23] 0x00000000776391cf C:\Windows\SYSTEM32\ntdll.dll+00102863 RtlUnwindEx+00003007
[ 24] 0x00000000776397c8 C:\Windows\SYSTEM32\ntdll.dll+00104392 RtlRaiseException+00000584
[ 25] 0x000007fefd47940d C:\Windows\system32\KERNELBASE.dll+00037901 RaiseException+00000061
[ 26] 0x0000000072c014f1 C:\MathWorks\MATLAB\R2014a\bin\win64\MSVCR100.dll+00398577 CxxThrowException+00000129
[ 27] 0x00000000fe144956 C:\MathWorks\MATLAB\R2014a\bin\win64\libmx.dll+00280918 matrix::detail::noninlined::mx_array_api::mxErrMsg+00002278
[ 28] 0x00000000fe1449d5 C:\MathWorks\MATLAB\R2014a\bin\win64\libmx.dll+00281045 matrix::detail::noninlined::mx_array_api::mxErrMsgIdAndTxt+00000053
[ 29] 0x00000000fe145625 C:\MathWorks\MATLAB\R2014a\bin\win64\libmx.dll+00284197 mxErrMsgId+00000117
[ 30] 0x0000000034828338 C:\MathWorks\MATLAB\R2014a\bin\win64\libmwmathlinalg.dll+00361272 UMFPACK_ComplexLUFactor::extractFactors+00020216
[ 31] 0x0000000200000472 <unknown-module>+00000000
[ 32] 0x00000001fc3d5030 <unknown-module>+00000000
[ 33] 0x0000000007b4b2a0 <unknown-module>+00000000
[ 34] 0x0402afb100000001 <unknown-module>+00000000
[ 35] 0x0402b07004604923 <unknown-module>+00000000
[ 36] 0x0888cb80348c5d8d <unknown-module>+00000000
[ 37] 0x0402ae40761f0cf0 <unknown-module>+00000000
[ 38] 0x0402b070fffffffe <unknown-module>+00000000
[ 39] 0x00000000347deb03 C:\MathWorks\MATLAB\R2014a\bin\win64\libmwmathlinalg.dll+00060163
[ 40] 0x00000000348c5d8d C:\MathWorks\MATLAB\R2014a\bin\win64\libmwmathlinalg.dll+01006989 isMatrixAllFinite+00000029
[ 41] 0x00000000347deb03 C:\MathWorks\MATLAB\R2014a\bin\win64\libmwmathlinalg.dll+00060163
[ 42] 0x000000000460c07f C:\MathWorks\MATLAB\R2014a\bin\win64\m_dispatcher.dll+00049279 Mfh_file::dispatch_fh+00001247
[ 43] 0x000000000460c637 C:\MathWorks\MATLAB\R2014a\bin\win64\m_dispatcher.dll+00050743 Mfunction_handle::dispatch+00000487
[ 44] 0x000000000475cdfe C:\MathWorks\MATLAB\R2014a\bin\win64\m_interpreter.dll+00577022 MathWorks::MException::MExceptionEnvelope::GetID+00371822
[ 45] 0x00000000047d68a7 C:\MathWorks\MATLAB\R2014a\bin\win64\m_interpreter.dll+01075367 inEachVisibleName+00016119
[ 46] 0x000000000475ab1a C:\MathWorks\MATLAB\R2014a\bin\win64\m_interpreter.dll+00568090 MathWorks::MException::MExceptionEnvelope::GetID+00362890
[ 47] 0x000000000477446f C:\MathWorks\MATLAB\R2014a\bin\win64\m_interpreter.dll+00672879 MathWorks::MException::MExceptionEnvelope::GetID+00467679
[ 48] 0x00000000047745b8 C:\MathWorks\MATLAB\R2014a\bin\win64\m_interpreter.dll+00673208 MathWorks::MException::MExceptionEnvelope::GetID+00468008
[ 49] 0x0000000004764a2d C:\MathWorks\MATLAB\R2014a\bin\win64\m_interpreter.dll+00608813 MathWorks::MException::MExceptionEnvelope::GetID+00403613
[ 50] 0x000000000476192c C:\MathWorks\MATLAB\R2014a\bin\win64\m_interpreter.dll+00596268 MathWorks::MException::MExceptionEnvelope::GetID+00391068
[ 51] 0x00000000047711c9 C:\MathWorks\MATLAB\R2014a\bin\win64\m_interpreter.dll+00659913 MathWorks::MException::MExceptionEnvelope::GetID+00454713
[ 52] 0x000000000460c00e C:\MathWorks\MATLAB\R2014a\bin\win64\m_dispatcher.dll+00049166 Mfh_file::dispatch_fh+00001134
[ 53] 0x000000000460c77a C:\MathWorks\MATLAB\R2014a\bin\win64\m_dispatcher.dll+00051066 Mfunction_handle::dispatch+00000810
[ 54] 0x00000000047e4a0e C:\MathWorks\MATLAB\R2014a\bin\win64\m_interpreter.dll+01133070 inValidateLoadedObject+00003486
[ 55] 0x00000000047ebd95 C:\MathWorks\MATLAB\R2014a\bin\win64\m_interpreter.dll+01162645 inResetInterpreter+00005029
[ 56] 0x00000000047f0a05 C:\MathWorks\MATLAB\R2014a\bin\win64\m_interpreter.dll+01182213 MathWorks::MException::MExceptionEnvelope::Copy+00010997
[ 57] 0x00000000047f09d2 C:\MathWorks\MATLAB\R2014a\bin\win64\m_interpreter.dll+01182162 MathWorks::MException::MExceptionEnvelope::Copy+00010946
[ 58] 0x00000000047f0997 C:\MathWorks\MATLAB\R2014a\bin\win64\m_interpreter.dll+01182103 MathWorks::MException::MExceptionEnvelope::Copy+00010887
[ 59] 0x0000000004bde89c C:\MathWorks\MATLAB\R2014a\bin\win64\m_interpreter.dll+05302428 inMexPutVariable+00004204
[ 60] 0x0000000004bdebf6 C:\MathWorks\MATLAB\R2014a\bin\win64\m_interpreter.dll+05303286 inMexPutVariable+00005062
[ 61] 0x0000000004bdf02e C:\MathWorks\MATLAB\R2014a\bin\win64\m_interpreter.dll+05304366 inMexPutVariable+00006142
[ 62] 0x0000000004bdf36c C:\MathWorks\MATLAB\R2014a\bin\win64\m_interpreter.dll+05305196 inMexPutVariable+00006972
[ 63] 0x0000000004af0161 C:\MathWorks\MATLAB\R2014a\bin\win64\m_interpreter.dll+04325729 inEvalCmdWithLocalReturn+00000065
[ 64] 0x000000000417becd C:\MathWorks\MATLAB\R2014a\bin\win64\libmwbridge.dll+00048845 mnDebugPrompt+00000109
[ 65] 0x000000000417cfaf C:\MathWorks\MATLAB\R2014a\bin\win64\libmwbridge.dll+00053167 mnParser+00000735
[ 66] 0x00000000fd0afae4 C:\MathWorks\MATLAB\R2014a\bin\win64\mcr.dll+00195300 mcrInstance::mnParser_on_interpreter_thread+00000036
[ 67] 0x00000000fd093af0 C:\MathWorks\MATLAB\R2014a\bin\win64\mcr.dll+00080624 mcr::runtime::setInterpreterThreadToCurrent+00029488
[ 68] 0x00000000fd093b50 C:\MathWorks\MATLAB\R2014a\bin\win64\mcr.dll+00080720 mcr::runtime::setInterpreterThreadToCurrent+00029584
[ 69] 0x00000000fab6e026 C:\MathWorks\MATLAB\R2014a\bin\win64\uiw.dll+00581670 UIW_IsUserMessage+00000086
[ 70] 0x00000000fab6e705 C:\MathWorks\MATLAB\R2014a\bin\win64\uiw.dll+00583429 UIW_SetGLIMUserMsg+00000117
[ 71] 0x00000000fab6e789 C:\MathWorks\MATLAB\R2014a\bin\win64\uiw.dll+00583561 UIW_SetGLIMUserMsg+00000249
[ 72] 0x00000000775487fe C:\Windows\system32\USER32.dll+00165886 GetMenuBarInfo+00000638
[ 73] 0x000000007752f5fb C:\Windows\system32\USER32.dll+00062971 SystemParametersInfoW+00000235
[ 74] 0x0000000077534895 C:\Windows\system32\USER32.dll+00084117 IsProcessDPIAware+00000465
[ 75] 0x00000000776711f5 C:\Windows\SYSTEM32\ntdll.dll+00332277 KiUserCallbackDispatcher+00000031
[ 76] 0x000000007753908a C:\Windows\system32\USER32.dll+00102538 PeekMessageW+00000186
[ 77] 0x00000000775350fe C:\Windows\system32\USER32.dll+00086270 GetKeyState+00000238
[ 78] 0x0000000077533a6f C:\Windows\system32\USER32.dll+00080495 PeekMessageA+00000087
[ 79] 0x00000000fab1bd4b C:\MathWorks\MATLAB\R2014a\bin\win64\uiw.dll+00245067 UIW_SetCurrentDialog+00000731
[ 80] 0x00000000fab6fbe2 C:\MathWorks\MATLAB\R2014a\bin\win64\uiw.dll+00588770 ws_FreeSystemFont+00000482
[ 81] 0x00000001000e2ed0 C:\MathWorks\MATLAB\R2014a\bin\win64\libmwservices.dll+00995024 services::system_events::PpeDispatchHook::~PpeDispatchHook+00053488
[ 82] 0x00000001000e36a5 C:\MathWorks\MATLAB\R2014a\bin\win64\libmwservices.dll+00997029 services::system_events::PpeDispatchHook::~PpeDispatchHook+00055493
[ 83] 0x00000001000e4330 C:\MathWorks\MATLAB\R2014a\bin\win64\libmwservices.dll+01000240 services::system_events::PpeDispatchHook::~PpeDispatchHook+00058704
[ 84] 0x00000001000ed4c6 C:\MathWorks\MATLAB\R2014a\bin\win64\libmwservices.dll+01037510 sysq::removeProcessPendingEventsHook+00011030
[ 85] 0x00000001000ed7ca C:\MathWorks\MATLAB\R2014a\bin\win64\libmwservices.dll+01038282 svWS_ProcessPendingEvents+00000138
[ 86] 0x00000000fd094b6d C:\MathWorks\MATLAB\R2014a\bin\win64\mcr.dll+00084845 mcr::runtime::setInterpreterThreadToCurrent+00033709
[ 87] 0x00000000fd094e3b C:\MathWorks\MATLAB\R2014a\bin\win64\mcr.dll+00085563 mcr::runtime::setInterpreterThreadToCurrent+00034427
[ 88] 0x00000000fd088b75 C:\MathWorks\MATLAB\R2014a\bin\win64\mcr.dll+00035701 mcrInstantiationError::operator=+00003221
[ 89] 0x00000000fd08bea2 C:\MathWorks\MATLAB\R2014a\bin\win64\mcr.dll+00048802 mcr_invoke_on_interpreter_thread+00001602
[ 90] 0x00000000fa7e6e5d C:\MathWorks\MATLAB\R2014a\bin\win64\MVMLocal.dll+00159325 mvm_server::inproc::LocalFactory::createMVM+00040653
[ 91] 0x00000000051cafaa C:\MathWorks\MATLAB\R2014a\bin\win64\mvm.dll+00569258 mvm::detail::SessionImpl::privateSession+00001754
[ 92] 0x00000000051cd32a C:\MathWorks\MATLAB\R2014a\bin\win64\mvm.dll+00578346 mvm::detail::SessionImpl::privateSession+00010842
[ 93] 0x00000000051cce85 C:\MathWorks\MATLAB\R2014a\bin\win64\mvm.dll+00577157 mvm::detail::SessionImpl::privateSession+00009653
[ 94] 0x0000000140004f79 C:\MathWorks\MATLAB\R2014a\bin\win64\MATLAB.exe+00020345
[ 95] 0x0000000140006a07 C:\MathWorks\MATLAB\R2014a\bin\win64\MATLAB.exe+00027143
[ 96] 0x00000000774159ed C:\Windows\system32\kernel32.dll+00088557 BaseThreadInitThunk+00000013
[ 97] 0x000000007764c541 C:\Windows\SYSTEM32\ntdll.dll+00181569 RtlUserThreadStart+00000033


If this problem is reproducible, please submit a Service Request via:
http://www.mathworks.com/support/contact_us/

A technical support engineer might contact you with further information.

Thank you for your help.

end error output)
omulm
 
Posts: 1
Joined: Thu Sep 25, 2014 10:25 am

Return to CULA Dense Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron