2
$\begingroup$

Is it possible to run a remote kernel from NETLink in some way as suggested by the second method below: DoRemoteMathCommand?

(Running a local kernel as shown in the first method works fine.)

using Wolfram.NETLink;

private void DoLocalMathCommand(string command)
    {
        MathKernel mathKernel = new MathKernel() { /* Setup */ };
        mathKernel.Compute(command);
        mathKernel.Dispose();
    }

    // or grid?
    private void DoRemoteMathCommand(string ipAddress, string command)
    {
        RemoteMathKernel mathKernel = new RemoteMathKernel(ipAddress) { /* Setup */ };
        mathKernel.Compute(command);
        mathKernel.Dispose();
    }
$\endgroup$

0

Your Answer

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