4
$\begingroup$
LinkLaunch["MathKernel -mathlink"]
LinkLaunch["MathKernel"]

The both code line above can launch a MathKernel. What's the difference of them? what's the meaning of "-mathlink"?

$\endgroup$

1 Answer 1

3
$\begingroup$

The legacy documentation says:

enter image description here

In version 10 MathLink was replaced with WSTP. The equivalent flag is now -wstp.


If I run MathKernel.exe from the command line without any flags I get this:

enter image description here

However if I run MathKernel.exe -wstp (equivalent to the old -mathlink flag I believe) I get only:

enter image description here

$\endgroup$
5
  • $\begingroup$ Except mathlink, we can set it to communicate via something else? $\endgroup$
    – yyteen
    Commented Oct 29, 2014 at 6:49
  • $\begingroup$ @yyteen I assume the command line interface. $\endgroup$
    – Mr.Wizard
    Commented Oct 29, 2014 at 7:08
  • $\begingroup$ but if I cut the "-mathlink" off, it is also worked. Is there any difference? $\endgroup$
    – yyteen
    Commented Oct 29, 2014 at 7:13
  • $\begingroup$ @yyteen I added screen captures of the behavior I observe. I am not sure what further answer you are looking for. $\endgroup$
    – Mr.Wizard
    Commented Oct 29, 2014 at 21:06
  • $\begingroup$ I don't know how it will be acting in MMA10. But in MMA8, either LinkLaunch["MathKernel"] or LinkLaunch[MathKernel -mathlink] are the same. It seems no difference. $\endgroup$
    – yyteen
    Commented Oct 30, 2014 at 13:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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