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
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 ...
7 votes
1 answer
265 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 ...
1 vote
0 answers
38 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 ...
1 vote
1 answer
79 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 ...
3 votes
1 answer
174 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 ...
0 votes
0 answers
128 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 ...
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 ...
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, ...
1 vote
2 answers
313 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 ...
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 ...
0 votes
0 answers
42 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 ...
1 vote
0 answers
197 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/...
3 votes
0 answers
62 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 ...
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? ...
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 ...
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 ...
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 ...
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 ...
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 ...
4 votes
1 answer
779 views

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 ...
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 ...
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 ...
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 ...
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: ...
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 ...
3 votes
1 answer
439 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 ...
0 votes
0 answers
53 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 ...
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 ...
1 vote
0 answers
139 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 ...
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 ...
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 ...
1 vote
0 answers
66 views

Launching specific remote kernels in parallel

For some reason I found that my numerical integration runs much faster on Mathematica 9 than on Mathematica 10. Since I sent my calculation to a cluster with 24 cores with the following command <...
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: ...
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(...
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: ...
0 votes
0 answers
54 views

Reading a .m file from the terminal in an HPC

I've written a Mathematica notebook and subsequently saved it as a .m file, so that I can run it on an HPC. When I opened it, the ...
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 ...
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 ...
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 ...
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 ...
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 ...
0 votes
0 answers
235 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. ...
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 ...
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 ...
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 -> ...
7 votes
1 answer
211 views

Executing local functions remotely

The following ...
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: ...
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 ...
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 ...
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 ...