Questions tagged [remote-access]

For questions about accessing a kernel on a remote/different computer either directly from the front-end or as a slave kernel to a locally running master kernel.

As the front-end runs separately from the kernel, the running kernel does not have to reside on the same machine as the front-end. These remote kernels can be started in one of two ways:

  1. directly communicating with the front-end, or
  2. as a slave kernel communicating with a master kernel.

This enables the harnessing the power of multiple computers in your calculations.

138 questions
26
votes
3 answers

How can I connect to a remote machine?

My friend and I are trying to set up remote kernels. He has a server at home running 1 kernel off of a Linux-based server. We're both on 8.0. I manually set $RemoteCommand to "ssh `3`@`1`-l `3` \"math -mathlink -linkmode Connect `4` -linkname \ `2`…
Rohan
  • 261
  • 3
  • 3
24
votes
4 answers

Remote kernel through SSH

Is it possible to setup connection to remote kernels through ssh? I'm able to SSH into the remote server(linux) and start a kernel in the terminal, but it can't connect back to my local front end. I asked the network administrator and he says that…
xslittlegrass
  • 27,549
  • 9
  • 97
  • 186
21
votes
3 answers

Is there a way to detach/reattach the Frontend from a running Mathematica Kernel?

I perform long calculations on a fast remote machine running the Mathematica kernel, where I followed the very useful guide Remote Kernel Strategies to establish the connection. I wonder, however, if there is a way to detach the Frontend from the…
andy269
  • 428
  • 2
  • 10
12
votes
2 answers

Can I evaluate a notebook using Mathematica in text mode on remote machine?

I have a Mathematica notebook file called "my.nb". It was prepared using Mathematica 7.0 on my local machine running the Linux OS. Now, I want to evaluate it on the remote machine, which also has Mathematica 7.0 running on Linux, but this is a…
Chris
  • 121
  • 1
  • 3
8
votes
0 answers

What range of ports do remote kernels use?

I'm trying to run a remote kernel, but my local system administrator is wary of opening up ports for incoming connections. Is there are particular range of ports that Mathematica uses for remote kernels? Even if it's a wide range (e.g. 40000-70000),…
Scott Morrison
  • 1,251
  • 8
  • 14
7
votes
1 answer

Executing local functions remotely

The following Attributes[remoteExecute] = {HoldAllComplete}; remoteExecute[expr_] := Module[{compressed, ubuntuBox = RemoteConnect[ip, "username", "password"]}, compressed = Compress[Unevaluated[expr]]; ToExpression[ …
George
  • 3,145
  • 7
  • 21
6
votes
0 answers

Remote Kernel over ssh - Timeout

For a long time I've been using remote Kernels in Mathematica 10 & 11. But since some time ago I cannot connect to my remote machines on 11.3 anymore. I always get the error message General::time: Operation LaunchKernels timed out after 10.`…
somebody
  • 61
  • 1
5
votes
0 answers

Connect to remote kernels with ssh in MMA 11.2.0

I used these code in this post remote kernel through SSH Needs["SubKernels`RemoteKernels`"] Parallel`Settings`$MathLinkTimeout = 100 user = "user"; ssh = "export LD_LIBRARY_PATH=;ssh";(*ssh program name.If you install \ GOW on Windows,then this…
Turgon
  • 1,040
  • 8
  • 15
4
votes
1 answer

Connecting to remote kernel on iMac from a MacBook Pro client

I am having trouble setting up a remote kernel connection between my two Mac computers. The kernel on my iMac runs much faster than on my MacBook Pro, so I would like to run computations through my iMac when I am out of town. I have set up ssh on my…
crr
  • 91
  • 2
4
votes
0 answers

Accessing Mathematica remotely

I am trying to access Mathematica(graphical version) of my institute remotely. We setup the remote server and able to login via ssh. The problem I am facing is that Mathematica is very unresponsive even while typing. The speed of my computer…
Phani Raj
  • 151
  • 3
4
votes
1 answer

How to let processes run after closing ssh connection

I need to run a long evaluation on my research group machines at university (Scientific Linux 6 , Mathematica 9). I just connect via ssh and work on math text-based environment. I can't find a way to let MathKernel processes go on when I log-out the…
3
votes
1 answer

Can you explain how the remote kernel work

I have use remote kernel almost every day, but I guess I never understand how it works. I have basically two questions: How do we manually setup and use one kernel as a remote kernel to the other? Suppose we have a two machines and for each…
xslittlegrass
  • 27,549
  • 9
  • 97
  • 186
3
votes
0 answers

Getting a remote kernel from a machine not directly reachable

I have a machine capable of running Mathematica on 24 cores which I would like to take advantage of :) The only problem is that this is a remote machine to which I cannot connect directly, I have to pass through a front-end machine first. My…
Rho Phi
  • 1,420
  • 11
  • 21
3
votes
1 answer

Connecting to a remote machine

The simple answer is ssh username@hostname Enter your password and you are set. My problem is that I wish to connect to a computer in my university. There are several machines which everyone can access but before doing so we have to go through the…
jmlopez
  • 6,470
  • 4
  • 28
  • 48
3
votes
0 answers

Using CopyFile with RemoteFile + SSH

If I have a file at address /path/to/file with SSH address 192.168.0.11, username user and password password, then how can I do something like a = RemoteFile["192.168.0.11:/path/to/file", Authentication -> <|"Username" -> "user", "Password" ->…
George
  • 3,145
  • 7
  • 21
1
2