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.

65 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
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
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
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
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
0 answers
215 views

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 ...
Phani Raj's user avatar
  • 151
4 votes
0 answers
1k views

Remote kernel shuts down after several seconds

I have Mathematica 9 installed on two Windows Server 2008 R2 machines. Now i want to try using one of them as a frontend with local kernels and the other one for remote kernels. OpenSSH 6.5 for ...
shda's user avatar
  • 253
3 votes
0 answers
63 views

Can someone recommend workflow for debugging RemoteBatchSubmit jobs on AWS

I am trying to troubleshoot using an external service (AWS: Amazon Web Service) for NetTrain with a GPU. My RemoteBatchSubmit has been stuck at "Runable" for about 10 hours as described in ...
Craig Carter's user avatar
  • 3,968
3 votes
0 answers
86 views

Problem exporting vector graphics (PDF) in Mathematica Notebook Front-End using remote kernel on linux

I'm not being able to export vector graphics images (especially PDF) in a Mathematica Notebook Front-End in Windows 8.1 using a remote kernel on a Linux server. I can, however, export Raster Image ...
Eleteroboltz's user avatar
3 votes
0 answers
36 views

Evaluating a single expression on a remote machine

I have Mathematica installed on my MacBook. I also have access to a remote Linux server with many more nodes and virtually unlimited disk space and memory and Mathematica installed. I can in principle ...
freevillage's user avatar
3 votes
0 answers
384 views

Instructions on how to setup remote kernel on Win 10

I'd like to use my home PC to help make calculations when I use my laptop at work. Both are Win 10 machines (Mathematica version: home - v11 / work - v10). I couldn't find a tutorial on how to setup a ...
A. Vieira's user avatar
  • 503
3 votes
0 answers
155 views

Launching Mathematica 11 kernel through double SSH

I'm trying to connect to a server in my university to do some computations. The problem is that I first need to login to one server through SSH and then from this one go to the "computation" server (I ...
Caims's user avatar
  • 432
3 votes
0 answers
117 views

Wolfram math on windows using PBSPro cluster

A user wishes to use math application running on our PBSPpro cluster. Our cluster is accessible to linux users, running qsub to submit their jobs. We have math10.4 for our cluster users, with ...
Dvory's user avatar
  • 31
3 votes
0 answers
156 views

Resuming SSH evaluation with XMing

I am re-asking this question since it exactly applies to my situation and it had received no answers earlier: I currently run my Mathematica on a linux computer through Putty and Xming. Xming ...
Char259's user avatar
  • 31
3 votes
0 answers
141 views

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 ...
Rho Phi's user avatar
  • 1,410
3 votes
0 answers
620 views

Launching Remote Kernels takes a lot of time

I recently played around with establishing a remote kernel setup without using mathematica grid. To do this I use the LaunchKernels[] command and ...
Wizard's user avatar
  • 2,700
2 votes
0 answers
82 views

How can we call Mathematica functions from another server using the `wolframscript` Python library?

How can we use the wolframclient Python library to call Mathematica functions when Mathematica is running in an another server? For example, if we have Mathematica ...
GarouDan's user avatar
  • 1,536
2 votes
0 answers
164 views

Connect Raspberry pi front end to remote kernel(s) (Ubuntu, the free Wolfram engine)

I am trying to connect a Raspberry pi front end (notebook) to a remote kernel running Ubuntu with the free Wolfram engine. I have researched this answer but it never worked. Using the code below I ...
Ray Troy's user avatar
  • 1,289
2 votes
0 answers
38 views

Remote kernel lost internet connection

I'm running a calculation on a remote kernel and the internet connection is interrupted. When it recovered, all definitions were lost on the front end. Does the kernel on the remote machine ...
arax's user avatar
  • 1,831
2 votes
0 answers
133 views

Launch Kernels on Windows 10 from Raspberry Pi (linux) over SSH

I am trying to launch remote kernels on a Windows 10 PC (remote) from a Raspberry Pi 4 (Master or local). Both machines have V12 installed. On the Windows machine, I have installed OpenSSH per ...
Ray Troy's user avatar
  • 1,289
2 votes
0 answers
37 views

How can I avoid typing the password again when I select a new remote kernel?

From the menu "Evaluation" -> "Kernel Configuration Options...", I can setup a new remote kernel, but I find it too much trouble to type the password again and again when I select a new remote kernel ...
chenxh's user avatar
  • 21
2 votes
0 answers
78 views

Using Mathematica notebooks with no local back end

My laptop is a Windows 10 Asus netbook with very little (32GB) storage space. I currently use an Ubuntu 18.04 computer for Mathematica, but I would like to be able to use it on my netbook instead. (I ...
speedstyle's user avatar
2 votes
0 answers
147 views

How to sync parallel kernels across multiple nodes on an HPC

I'm hoping to parallelise my Mathematica script across multiple nodes on an HPC, but I can't get it to work. My code has the following schematic form: ...
user35305's user avatar
  • 291
2 votes
0 answers
93 views

Call Remote Kernel from NETLink

Is it possible to run a remote kernel from NETLink in some way as suggested by the second method below: DoRemoteMathCommand? (...
Chris Degnen's user avatar
  • 30.8k
2 votes
0 answers
100 views

How to start a remote kernel on a machine with two ip addresses?

Suppose I have a local machine with ip address 204.XX.40.10 and a remote machine. And the remote machine has two network card, so it has two ip addresses: 204.XX.40.21 and 192.0.2.100, and only the ...
xslittlegrass's user avatar
2 votes
0 answers
180 views

How to configure Linux Remote Kernel in V10?

I have read couple of posts and it seems that Mathematica has changed some settings over the years. So I will make the title explicit, so it is clear I want to setup remote kernels in V10. My local(...
Chen Stats Yu's user avatar
2 votes
0 answers
123 views

Can I evaluated a cell in a notebook in a background process?

I currently run my Mathematica on a linux computer through Putty and Xming. Xming provides a graphical display for Mathematica windows running on a remote linux computer. But recently, the network ...
matheorem's user avatar
  • 17k
2 votes
0 answers
314 views

Remote access to notebook is very slow

I am using Mathematica at work remotely from a computer in my building and I can edit notebooks by opening them from terminal via ssh without problem (a little slow if there is a figure with many ...
pikamathematica's user avatar
1 vote
0 answers
45 views

How to configure and acess Remote Kernel step-by-step?

I want to access a kernel from another computer. However, I have no idea how to set up the remote kernel and how to access it. I have gone through a lot of articles on this website and others, but ...
user84456's user avatar
  • 1,544
1 vote
0 answers
70 views

In version 13, WSTPServer cannot execute LaunchKernels[]

When I execute LaunchKernels[] or Kernels[], I get the following errors.The output of Kernels[] is {}. "WSTPServer" is not among the known evaluation environments {Session, RemoteSession, ...
Mather's user avatar
  • 11
1 vote
0 answers
198 views

Using a Remote Kernel

I'm trying to connect the front end on Mac OS (version 13.0) use a remote (also 13.0) kernel running on an Ubuntu machine. I've followed the basic steps here (https://reference.wolfram.com/language/...
user2757771's user avatar
1 vote
0 answers
368 views

Problem Using Remote Kernel

Problem The success rate of connecting to a remote kernel is only 30%. And no matter success or not, it takes 5 mins for Mathematica to give me a result! Is there anyone who has tried this function? ...
Youran's user avatar
  • 111
1 vote
0 answers
58 views

Remote kernel running on wsl dies after sleep/hibernation

I'm using a Windows MMA frontend along with a remote WSL (Windows Subsystem for linux) kernel connecting via ssh. Every time I put my laptop to sleep or hibernation for a while, after wake up, the ...
Turgon's user avatar
  • 1,040
1 vote
0 answers
37 views

Running ParallelTable[] with ssh

I have a ParallelTable[] code, that runs perfectly fine on my local machine, but to speed things up a notch, I want to run it on a remote server. I configured everything in Evaluation>> Parallel ...
ghost's user avatar
  • 371
1 vote
0 answers
153 views

Kernel failing to connect to the frontend

I've been using Sakra's tunnel https://github.com/sakra to try to connect my mathematica in Linux to the server of my university. The problem being that even though the SSH connection works well in ...
Yannick Gullentops's user avatar
1 vote
0 answers
168 views

What does it mean when $MaxLicenseProcesses returns Infinity?

I am learning how to use Mathematica on a cluster, and a lot of this stuff is still way over my head. Please let me know if I am missing any crucial details. The cluster uses Linux and uses Lmod to ...
BioPhysicist's user avatar
1 vote
0 answers
140 views

100% CPU usage at idle, on Local machine when using a Remote kernel

I'm using a remote kernel for evaluations. But after I run a few cells, which include Importing some data, some equation solving and plotting (all of which uses the remote CPU), the Mathematica ...
physkets's user avatar
1 vote
0 answers
30 views

RemoteConnect yields missing library error

Problem: In Linux, I recently upgraded from Wolfram Desktop 12.0 to Wolfram Desktop 12.1. When I attempt to use SSH functionality ...
George's user avatar
  • 3,115
1 vote
0 answers
104 views

How to configure remote kernel on a second windows laptop?

Lets say I have two windows laptop both with Mathematica installed on them: If I want to connect to another mathematica installation on the same machine using the front end I can go to Evaluation -> ...
user13892's user avatar
  • 9,113
1 vote
0 answers
54 views

Command line session Linux from Mathematica

Using RemoteConnect and RemoteRunProcess I can create a remote session such that successive commands are done in the same ...
Kvothe's user avatar
  • 4,197
1 vote
0 answers
51 views

Problem with ssh -Y

I ssh -Y to the remote Linux machine and run "nohup mathematica&" and use the frontend graphically for a long time. Then, it disconnected. I login back and see that the Mathematica and ...
XiaoaiX's user avatar
  • 397
1 vote
0 answers
54 views

Clustering different kernel versions

After a good bit of trial and error I have managed to cluster together two OS X machines. The master is running Mathematica 9.0 and the secondary 11.0. All was well and good, the remote command being ...
Nick's user avatar
  • 403
1 vote
0 answers
197 views

WSTP with an MPI application

I'm looking to use WSTP to make functions defined in a C MPI application available to a remote Mathematica kernel. I've got this working for a non-MPI version of the application, but now wish to have ...
Anti Earth's user avatar
  • 1,161
1 vote
0 answers
59 views

Trouble parallellising on HPC

I'm trying to carry out a parallel computation using Mathematica's inbuilt parallel functions, ParallelTable, etc. The problem is that the HPC doesn't seem to like ...
user35305's user avatar
  • 291
1 vote
0 answers
83 views

How to get remote access using a .m file?

I'm trying to use a .m file to remotely connect to a computer in my office and use its six processors in addition to the two on my laptop when running code. The code from the .m file works fine if ...
Max's user avatar
  • 1,040