High CPU usage when evaluating Mathematica notebooks with large matrices

  • Context: Mathematica 
  • Thread starter Thread starter ILens
  • Start date Start date
  • Tags Tags
    Mathematica Time
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
4 replies · 5K views
ILens
Messages
12
Reaction score
0
Hello!
I am interested whether it is normal for the program Mathematica to eat 99% from my CPU when evaluating a notebook. Well, it is not just some notebook, but a notebook that contains five matrices, 63 520 entries each.
It would be grate, if somebody has some information on this topic.
 
Physics news on Phys.org
ILens said:
Hello!
I am interested whether it is normal for the program Mathematica to eat 99% from my CPU when evaluating a notebook. Well, it is not just some notebook, but a notebook that contains five matrices, 63 520 entries each.
It would be grate, if somebody has some information on this topic.
If you are running evaluations on these matrices that then doesn't sound too unlikely. If you aren't then it shouldn't eat up any processor power once they have been loaded, but would probably take up a chunk of ram.
 
I had the same thing happen on my computer. It's probably fairly normal.

Alex
 
Thank you!
I spent some time yesterday reading posts and articles about Mathematica, and there was a guy who claimed to had waited for a notebook evaluation about 20 min. :bugeye:
 
... if you for example start building longer scripts in mathematica it's not that uncommon and using Mathematica efficiently becomes important. Personally for example when doing post-processing of PDEs solved numerically we queue the drives as server batch jobs to appropriate hardware since notebooks can't really handle them.