Effacer les filtres
Effacer les filtres

MATLAB wont start on Linux. It did yesterday.

29 vues (au cours des 30 derniers jours)
dormant
dormant le 19 Juil 2024 à 12:04
Modifié(e) : dormant le 19 Juil 2024 à 17:24
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 commentaires
dormant
dormant le 19 Juil 2024 à 12:26
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 le 19 Juil 2024 à 12:35
Update 2. I got the >> prompt in the command window after about 20 minutes.

Connectez-vous pour commenter.

Réponses (1)

Image Analyst
Image Analyst le 19 Juil 2024 à 15:24
  1 commentaire
dormant
dormant le 19 Juil 2024 à 17:22
Modifié(e) : dormant le 19 Juil 2024 à 17:24
Many thanks. I'll contact support as suggested in the FAQ.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Install Products dans Help Center et File Exchange

Produits


Version

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by