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
7 votes
1 answer
219 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
1 vote
0 answers
34 views

Remote kernel cache memory bug [closed]

I have a remote kernel (university cluster) that I can use to evaluate my Mathematica files. However, I put the wrong login details a few times, and now once I open the Mathematica, it somehow has ...
Shamina's user avatar
  • 583
1 vote
1 answer
68 views

Issue loading SubKernels`RemoteKernels` package for remote kernels in Mathematica

I am encountering a problem when trying to load the SubKernels`RemoteKernels package in Mathematica. The purpose of loading this package is to set up remote kernels ...
Canonical's user avatar
3 votes
1 answer
161 views

Direct Import Remote File via SSH without Copying in Windows

Is there any option to directly import to a Windows-driven Mathematica kernel a file from a remote server without copying it on hard drive? Right now I'm using ...
Lechuu's user avatar
  • 392
0 votes
0 answers
104 views

Mathematica remote running: MathKernel cannot find a valid password

I'm recently trying to use a Linux server to remotely run Mathematica calculations. Without administrator root, I installed the Mathematica software in my user directory at ...
holywhat's user avatar
1 vote
0 answers
43 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,492
1 vote
0 answers
63 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
2 answers
239 views

Execute .nb from command prompt on Windows 10

I have a file script.nb which outputs a .png that I need to run regularly from command prompt on Windows 10. From searching ...
diomedesdata's user avatar
2 votes
0 answers
73 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
0 votes
0 answers
41 views

Remote kernel works in terminal but not in Notebook

I am using a Mac OS 12.2.1 computer that's trying to connect to a remote kernel in a Windows 10 computer. I am able to connect to that computer via ssh in terminal. Inside the terminal, I can launch a ...
t-smart's user avatar
  • 1,993
1 vote
0 answers
174 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
3 votes
0 answers
59 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,916
1 vote
0 answers
354 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
57 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
  • 361
1 vote
0 answers
146 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
3 votes
1 answer
1k views

Running Mathematica on a Remote Machine (using frontend and ssh)

I've been trying to run my Mathematica code on a remote machine. I'm using Windows and the remote machine is a Linux machine. I write a notebook on my local machine, convert it to a .m file, and use ...
Tbone Willsone's user avatar
1 vote
0 answers
154 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
0 votes
0 answers
50 views

Procedures needed to be followed to run Mathematica remotely on a presently physically inaccessible machine

I have a computer (iMAC), on which I log in and run Mathematica, located on campus. However, due to present circumstances--familiar to all of us--I do not have physical access to it. (I do have a home ...
Paul B. Slater's user avatar
4 votes
1 answer
553 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,069
1 vote
0 answers
132 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,095
2 votes
0 answers
163 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,279
2 votes
0 answers
36 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
42 views

Using CopyFile with RemoteFile + SSH [closed]

If I have a file at address /path/to/file with SSH address 192.168.0.11, username user and ...
George's user avatar
  • 3,095
0 votes
0 answers
223 views

Edit and run Mathematica notebook on remote from local machine

I have a labtop and high performance desktop machine, and mathematica is installed in both of them. I'm looking for the way to use mathematica with remote file and remote machine as if local machine. ...
mac's user avatar
  • 1
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,591
1 vote
0 answers
101 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,013
7 votes
1 answer
210 views

Executing local functions remotely

The following ...
George's user avatar
  • 3,095
2 votes
0 answers
132 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,279
3 votes
1 answer
106 views

Improving a Remote Wolfram Execution Function

The following function allows me to remotely execute Wolfram code on another machine that has wolframscript installed: ...
George's user avatar
  • 3,095
1 vote
0 answers
84 views

Using WSTP to connect a C process to local and remote kernels simultaneously [closed]

Is it possible for a C program to communicate (via WSTP) with both a Mathematica kernel running on its machine, and a remote one? For context: I use a local Mathematica kernel which talks to a remote ...
Anti Earth's user avatar
  • 1,151
1 vote
0 answers
53 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,137
3 votes
0 answers
85 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
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
3 votes
1 answer
552 views

Launching remote kernel--increase timeout time

When launching several remote kernels manually on a cluster (as described in here under `Remote Kernels/Manual Launching') I see quite frequently the following error: ...
mmal's user avatar
  • 3,488
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
2 votes
1 answer
73 views

How do I find open RemoteConnect Objects?

The manual explains how you should close the connection if opened with remote = RemoteConnect["host.example.com"] with ...
Kvothe's user avatar
  • 4,137
6 votes
1 answer
192 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
1 vote
0 answers
53 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
195 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,151
2 votes
1 answer
409 views

Tunnel a Mathematica command through SSH

I am trying to access a resource that is only available via SSH using a Mathematica notebook on my local computer, however I am not sure how I could tunnel a Mathematica command in such a way. I ...
a20's user avatar
  • 927
1 vote
2 answers
218 views

How can I effectively achieve remote access to Mathematica output?

I will be away from my home institution for an extended period. I plan to leave programs running on machines there. These programs periodically (every several hours) output updated results (improved ...
Paul B. Slater's user avatar
3 votes
1 answer
430 views

How do I launch a remote kernel on one Win 10 system from another Win 10 sys?

I have two win 10 computers and I have enabled the built-in windows 10 OpenSSH Client and OpenSSH serve in both of them. I can use one of the computers to run programs on another computer. I have also ...
Hallow_Juan's user avatar
5 votes
0 answers
123 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.2k
2 votes
0 answers
77 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
6 votes
0 answers
356 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
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
0 votes
0 answers
102 views

How to keep remote Mathematica GUI running when the connection is lost

I am running Mathematica on a remote Linux cluster using X11/SSH. I'm using the GUI and not the kernels in remote because this is the only way they let me use it. I have a long notebook that I open ...
Rby's user avatar
  • 159
8 votes
1 answer
175 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,561