Group Abstract Group Abstract

Message Boards Message Boards

0
|
1.8K Views
|
5 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Remote kernel hangs and quietly quits

Posted 8 months ago

Hello everyone

I have trouble using Mathematica remotely...

My local machine is a Windows using Mathematica 14.0. The remote machine is a Linux also using Mathematica 14.0. The connection between both machines is via private/public keys so no password is needed.

If I do "ssh user@machine MathKernel" in a terminal, it works and I have the Mathematica prompt.

In Mathematica on the local machine, I have configured the remote kernel using the basic options.

If I try to execute a cell remotely :

  • the cell is marked as "executing"
  • I see in a "top" command on the remote machine that a MathKernel process has launched but then stays at 0% cpu
  • It hangs like this for 30-40 seconds and then it quits with the message "The remote process for kernel 'kernel name' has unexpectedly terminated with error 2. Output from stderr: None"

Any help would be appreciated :)

POSTED BY: Romain Guerout
5 Replies
Posted 8 months ago

Yes, Mathematica works perfectly locally on each machine. In fact, this is an issue with this particular local Windows machine : i have another local computer, a Mac, which can use the remote Linux machine without any problem...

POSTED BY: Romain Guerout

Another question, does Mathematica kernel work on both machines independently?

Posted 8 months ago

It happens with any cell, no matter its content it seems...

POSTED BY: Romain Guerout

Does that happen any cell or just one with a specific command?

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard