2
$\begingroup$

I sometimes use Mathematica to run very long calculations in the terminal (Debian). To do this I use the command:

math -script (filename)

Now after several hours of running, the kernel just randomly shuts down, without outputting any error message to the terminal. The problem persists in every Mathematica version I have tried: 9.0, 10.0 and 10.1.

Is there a way I can find out what causes the crash? Maybe some logging file or something? I have tried looking through my ~/.Mathematica/Logs folder but it's empty.

$\endgroup$

closed as off-topic by Mr.Wizard Feb 3 '17 at 23:01

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question cannot be answered without additional information. Questions on problems in code must describe the specific problem and include valid code to reproduce it. Any data used for programming examples should be embedded in the question or code to generate the (fake) data must be included." – Mr.Wizard
If this question can be reworded to fit the rules in the help center, please edit the question.

  • $\begingroup$ How reproducible is this? Does it happen every time? Could you put in commands to the script to write to a file at every step so that you can see what is happening when it crashes? $\endgroup$ – Jason B. Nov 4 '15 at 11:03
  • $\begingroup$ It happens everytime. The script does the same short calculation for randomly generated input paramters 10^5 times. After some time, it just crashes. Memory usage is small, so that is definitely not the problem. $\endgroup$ – Matthias Koenig Nov 4 '15 at 14:09

Browse other questions tagged or ask your own question.