3
$\begingroup$

My C program called Mathematica several times during the execution. However, after 4 or 5 times Mathematica stopped and then I got this message.

/home/sec/.Mathematica/Licensing/mathpass:3: The Mathematica license you are using has expired. Please contact Wolfram Research or an authorized Mathematica distributor to extend your license and obtain a new password. Error detected by MathLink: MathLink connection was lost..

Is this the licence problem or technical problem? I am using Mathematica 9 Student right now.

Thanks,

$\endgroup$
  • 2
    $\begingroup$ You create a new kernel every time without shutting down the previous one? maybe you have reached the maximum number of parallel kernel executions. When this message appears, check how many kernel instances you have. $\endgroup$ – Jepessen Sep 18 '13 at 8:57
  • $\begingroup$ @Jepessen thank you, I just figured out that I didn't close the channel after opening it. $\endgroup$ – Loi.Luu Sep 18 '13 at 9:27
  • 1
    $\begingroup$ @Jepessen please consider posting the answer :) $\endgroup$ – Kuba Sep 18 '13 at 10:23
  • $\begingroup$ Ok, I've done it. $\endgroup$ – Jepessen Sep 18 '13 at 11:18
6
$\begingroup$

You create a new kernel every time without shutting down the previous one? maybe you have reached the maximum number of parallel kernel executions. When this message appears, check how many kernel instances you have.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.