Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

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,

share|improve this question
2  
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. –  Jepessen Sep 18 '13 at 8:57
    
@Jepessen thank you, I just figured out that I didn't close the channel after opening it. –  Loi.Luu Sep 18 '13 at 9:27
1  
@Jepessen please consider posting the answer :) –  Kuba Sep 18 '13 at 10:23
    
Ok, I've done it. –  Jepessen Sep 18 '13 at 11:18
add comment

1 Answer

up vote 5 down vote accepted

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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