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$

Your Answer

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

Browse other questions tagged or ask your own question.