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.

Filter by
Sorted by
Tagged with
26 votes
3 answers
4k views

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 ...
Rohan's user avatar
  • 261
23 votes
3 answers
9k views

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 ...
xslittlegrass's user avatar
22 votes
2 answers
911 views

How to connect to EC2?

I have Mathematica 10.2 installed on an Ubuntu 14 machine in Amazon web services's elastic computer cloud. I have dido access and I'm connected to the instance though ssh on the terminal. I have an ...
M.R.'s user avatar
  • 31.2k
21 votes
1 answer
2k views

How do you use ssh-keys instead of a password to run a remote-kernel over ssh?

On all of the servers that I regularly interact with, I have ssh-keys setup for passwordless access via ssh. Yet, every time I attempt to start a remote-kernel over ssh, I get asked for a password ...
rcollyer's user avatar
  • 33.8k
20 votes
3 answers
1k views

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 ...
andy269's user avatar
  • 418
18 votes
2 answers
675 views

Are later versions of the Front-End compatible with older Kernels?

At my graduate school, all of the clusters still use version-6, and I only have version-7 and version-8 installed on my computer. I would like to use those machines remotely. Are either of the ...
rcollyer's user avatar
  • 33.8k
17 votes
5 answers
2k views

Connecting to and disconnecting from a continuously running kernel, on demand

I realized that there are lots of advantages to driving C/C++/FORTRAN code directly from Mathematica as LibraryLink functions (instead of running them from the command line or a shell script, as I ...
Szabolcs's user avatar
  • 233k
15 votes
1 answer
8k views

How to run a Mathematica program using command line on windows?

I have to run some Mathematica programs on a remote computer running the Windows XP operating system. However, I do not know how to run the program using the command line on this system. What do I ...
wxg's user avatar
  • 443
15 votes
1 answer
1k views

Connecting notebook to remote kernel

I'm trying to connect my FrontEnd session to remote kernel. Manual connection works by creating LinkObject like so: ...
swish's user avatar
  • 7,611
14 votes
2 answers
867 views

Specifying the ports used by LinkCreate or LinkLaunch

Whenever a Link is created using LinkCreate or LinkLaunch with ...
rcollyer's user avatar
  • 33.8k
14 votes
2 answers
4k views

Remote Kernel - Error = MLECONNECT

Configuring a remote kernel with the Kernel Configuration Basic Options I manage to have a new kernel in the list of the kernel that I can open. However when I start the new kernel I get asked for the ...
Rho Phi's user avatar
  • 1,410
13 votes
2 answers
3k views

Connecting to Raspberry Pi's Wolfram Language kernel from a PC's Mathematica front end

Recently I bought a Raspberry Pi and I installed the Wolfram Language on it. Comparing WL 10.0's commands with Mathematica 9.0.1.0's commands, I found 328 additional commands and variables. I ...
tchronis's user avatar
  • 2,435
12 votes
2 answers
3k views

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 ...
Chris's user avatar
  • 121
11 votes
1 answer
3k views

Wolfram Light Weight Grid and parallel computing

I have attempted to set up and use the Wolfram Lightweight Grid Manager so I can do parallel computing from Mathematica using 2 remote processors on another machine on my local network. My ...
Jagra's user avatar
  • 14.3k
10 votes
4 answers
3k views

Failed to connect remote Mathematica kernel using J/Link

I'm trying to connect to a remote Mathematica 8 kernel (on a Windows machine) using J/Link. On the client machine, I put the JLinkNativeLibrary.dll file in ...
user1832237's user avatar
10 votes
0 answers
804 views

Configuring remote access when using a VPN

To address some of the responsiveness issues, I use the Mathematica front end (v9 or v10) to access a remote kernel on a Raspberry Pi. The (advanced) kernel configuration used is this: Arguments to ...
bobthechemist's user avatar
8 votes
1 answer
176 views

How to use a remote windows laptop for NetTrain?

I have a windows 10 laptop (with a gpu) at home and a macbook at my office, both with v11.3. What are steps to use the windows machine remotely for training? That is, I want to launch and run ...
user5601's user avatar
  • 3,621
8 votes
0 answers
199 views

Remote kernels, Neural Networks and formatting of Dynamic content

Bug fixed in 11.2 I have a few GPU/CPU 'loaded' Linux boxes in my lab, used largely for rendering. I want to compare the new 11.1 Neural Network stuff to some Tensorflow things we do here. Of course, ...
flip's user avatar
  • 1,800
8 votes
0 answers
280 views

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 ...
Scott Morrison's user avatar
7 votes
1 answer
1k views

Accessing data on local machine from remote kernel

I have a remote kernel on a server that I would like to use to process some data. The connection works, i.e, I'm able to use the local front end and the remote kernel. However, I cannot figure out how ...
VLC's user avatar
  • 9,798
7 votes
1 answer
538 views

Operations on online files via public URL access

I need Mathematica to access an online public directory via some URL (fake in this case) http://example.com/images and perform operations similar to those Mathematica can do on OS directories and ...
Vitaliy Kaurov's user avatar
7 votes
1 answer
268 views

Connecting Mathematica on Windows to a kernel running on WSL

Suppose I want to run Mathematica on a WSL kernel, but use a Windows installation of Mathematica as its front end. (For any purpose that requires a Mathematica installation on Linux, there are still ...
linkhyrule5's user avatar
7 votes
1 answer
211 views

Executing local functions remotely

The following ...
George's user avatar
  • 3,115
7 votes
2 answers
656 views

How to copy some variables from one notebook to another using different kernel?

For example,in windows machine there is a variable testData ...
partida's user avatar
  • 6,776
7 votes
1 answer
344 views

Remote Raspberry Pi Kernel from 2nd Raspberry Pi Front End

I've reviewed the following posts: Connecting two Raspberry Pi's using MathLink remote kernel through SSH How to connect the front end of one raspberry pi with the kernel of another But have been ...
Young's user avatar
  • 7,485
7 votes
1 answer
1k views

Remote Kernel configuration works in v9 but not in v10

I have both v9 and v10 currently installed on my computer (Windows 7). For reasons that are not entirely clear, if I create a new remote kernel in one version, it is accessible to the other; however, ...
bobthechemist's user avatar
7 votes
1 answer
644 views

Using "Raw MathLink Connections" to create a "Kernel Object"

Mathematica 8.0.0: I am stuck trying to get a Mathematica Mathlink connection from my Windows computer working that should connects to Linux over network (or vice versa) and then launches a Kernel on ...
user1766767's user avatar
7 votes
1 answer
1k views

make mathematica recognize CCompiler and compile CUDA code on remote Windows machine

I have set up a Mathematica remote kernel on a Windows 7 64 bit machine, which has Microsoft Visual Studio 2010 installed. When I start Mathematica on the windows machine Mathematica recognizes the C-...
Wizard's user avatar
  • 2,700
7 votes
2 answers
368 views

Error occurred while connecting to remote kernel.Can't use dynamic

When Open Mathematica using remote kernel,it throws LinkConnect error.But normal command can evaluate.Like Range@5,...
partida's user avatar
  • 6,776
6 votes
4 answers
3k views

Remote Mathkernel: SSH encountered a networking error while launching kernel Error code = 1

I have a problem concerning the connection to a remote kernel via ssh on a vpn. I found a working configuration in this question: Connection to remote kernel can not be established - No specific ...
hreimer's user avatar
  • 191
6 votes
2 answers
367 views

Mathematica ncurses support

I occasionally ssh into machines that have Mathematica installed. I then operate Mathematica through the command-line interface. Often, the command-line interface ...
William's user avatar
  • 7,575
6 votes
1 answer
194 views

MathLink: How to change the default listening IP address?

I have multiple VPNs, one gives local IP address 10.8.0.6 and another is 10.2.3.2. Now I wish to access machines in 10.2.3.x but Mathematica listens in 10.8.0.6 which is not known for those machines. ...
Turgon's user avatar
  • 1,040
6 votes
1 answer
1k views

How to change front end setting "Parallel Kernel Configuration" in the code?

I'm trying to run Mathematica parallel on multiple nodes on a HPC, and I use the remote kernel tab in the "Parallel Kernel Configuration" settings to set the communication between different nodes(...
xslittlegrass's user avatar
6 votes
1 answer
937 views

Setting up parallel remote kernels

I'm having trouble setting-up a parallel remote kernel. I have correctly set-up remote kernels and can use them instead of the local kernels, by executing tunnel.sh ...
sekisushai's user avatar
6 votes
0 answers
359 views

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 ...
somebody's user avatar
6 votes
0 answers
338 views

How to use notebooks on remote machines?

I need to use a notebook (the command line mathematica can't debug image stuff) and it has to be in EC2 (because of hardware needs). I managed to do this on a remote machine in aws using X11 windows ...
M.R.'s user avatar
  • 31.2k
5 votes
1 answer
1k views

How to connect the front end of one raspberry pi with the kernel of another

I followed the instructions in this howto from wolfram, but I keep getting the error: ...
yippy_yay's user avatar
  • 243
5 votes
1 answer
493 views

gridMathematica on cluster with PBS Pro

I'm running my script (say "cluster.m") on the University cluster with PBS Pro installed. The script uses simple Parallelize like this: ...
Andrey Gelash's user avatar
5 votes
1 answer
665 views

Why is $ProcessorCount different than the selected number of cores in PBS?

By using ParallelTable and submitting my Mathematica code to a cluster, I noticed that it was enhancing the speed even when I selected a single core in a single ...
fcpenha's user avatar
  • 738
5 votes
1 answer
506 views

generating pdf using UseFrontEnd

I run mathematica on a remote server and run it in batch mode using /math -noprompt -script 'scriptname.m' & Now, I use ssh -X to connect to the server. The server is linux based and my computer ...
preeti's user avatar
  • 833
5 votes
1 answer
615 views

Reconnecting to remote kernels through SSH tunnelling

This is a follow up question to How can I connect to a remote machine? and the excellent answer provided by ybeltukov. My system is now configured as described in the answer with my MacBook running ...
Calchas's user avatar
  • 241
5 votes
0 answers
125 views

Is there any way to change the port used by RemoteConnect?

It looks like the new RemoteConnect and RemoteRunProcess functions have the potential to dramatically simplify one of my ...
Pillsy's user avatar
  • 18.3k
5 votes
0 answers
392 views

Connect to remote kernels with ssh in MMA 11.2.0

I used these code in this post remote kernel through SSH ...
Turgon's user avatar
  • 1,040
5 votes
0 answers
112 views

Bug? NotebookDirectory[] crashes frontend in case of external kernel

Bug introduced in 11.2.0 Calling NotebookDirectory[] on a remote machine crashes Mathematica. I do understand that calling ...
Frank Martin's user avatar
  • 1,145
5 votes
0 answers
188 views

Mathematica Kernels in a remote machine via port forwarding and no public password

I would like to launching Mathematica kernels on a remote machine. Port forwarding is required to connect to this machine. I usually need to connect to a machine via ssh port forwarding and then in ...
Galuoises's user avatar
  • 523
5 votes
0 answers
1k views

Get::noopen: Cannot open CloudObjectLoader` error when running Mathematica on remote cluster

I have been running Mathematica on a remote cluster for quite sometime. Recently, any jobs that call LaunchKernels[] for parallelization return the error Get::...
Phil K.'s user avatar
  • 51
4 votes
1 answer
1k views

Connection to remote kernel can not be established - No specific error shown

I was trying to set up a remote kernel using Mathematica 8, a Debian server and a Mac OSX 10.8 client. First I configured a VPN connection between server and client and went through all the basic ...
user871784's user avatar
4 votes
1 answer
592 views

How to set up Wolfram Language cluster with only the command line interface

I'd like to set up a cluster of WL nodes without using the notebook user interface. Everything I've seen about how to set up a WL remote kernel talks about how to configure the remote kernel by going ...
Sean Lynch's user avatar
  • 1,079
4 votes
1 answer
135 views

How to evaluate an expression via `LinkWrite` when the expression is only known at runtime?

*** Here's the original post... I'm setting up a secondary kernel in sandbox mode with LinkLaunch, and need to pass various expressions to it for evaluation. These ...
ibeatty's user avatar
  • 2,533
4 votes
1 answer
1k views

Mathematica remote kernel on ubuntu

I want to evaluate an expression on a server where it has a kernel. I totally searched on the internet but still I am not able to connect to the remote kernel. I am looking for a clear and a direct ...
heaven-of-intensity's user avatar