MATLAB wont start on Linux. It did yesterday.

조회 수: 113 (최근 30일)
dormant
dormant 2024년 7월 19일
편집: dormant 2024년 7월 19일
I use MATLAB on Linux every day. It wouldn't start this morning, reporting a memory problem. I rebooted which didn't fix anything. I then updated to R2024a (I was on R2023b) and still it wont start. Here's what I see when I run it from the command line:
$ matlab
MATLAB is selecting SOFTWARE rendering.
library initialization failed - unable to allocate file descriptor table - out of memory
MATLAB is exiting because of fatal error
Killed
$ free -m
total used free shared buff/cache available
Mem: 31531 4149 23394 32 4490 27381
Swap: 975 0 975
$ uname -a
Linux opsproc3 6.6.13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.6.13-1 (2024-01-20) x86_64 GNU/Linux
Any suggestions as to what the problem might be? I didn't make any changes to my computer.
  댓글 수: 2
dormant
dormant 2024년 7월 19일
Here's an update. (I posted the original question before looking at my notes.)
As root, I tried to free some memory with this command:
$ echo 1 > /proc/sys/vm/overcommit_memory
I then ran matlab from the command line and got these messages:
$ matlab
MATLAB is selecting SOFTWARE rendering.
MESA-LOADER: failed to open nouveau: /usr/lib/dri/nouveau_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
MESA-LOADER: failed to open kms_swrast: /usr/lib/dri/kms_swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
The MATLAB window then opened, but does not give me the prompt in the command window (10 minutes so far).
dormant
dormant 2024년 7월 19일
Update 2. I got the >> prompt in the command window after about 20 minutes.

댓글을 달려면 로그인하십시오.

답변 (1개)

Image Analyst
Image Analyst 2024년 7월 19일
  댓글 수: 1
dormant
dormant 2024년 7월 19일
편집: dormant 2024년 7월 19일
Many thanks. I'll contact support as suggested in the FAQ.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

태그

제품


릴리스

R2024a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by