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
1 vote
0 answers
42 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 ...
user avatar
  • 1,436
0 votes
0 answers
15 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 ...
user avatar
  • 1,941
1 vote
0 answers
57 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/...
user avatar
3 votes
0 answers
41 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 ...
user avatar
  • 2,160
1 vote
0 answers
219 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? ...
user avatar
  • 111
1 vote
0 answers
32 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 ...
user avatar
  • 988
1 vote
0 answers
33 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 ...
user avatar
  • 341
1 vote
0 answers
74 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 ...
user avatar
3 votes
1 answer
601 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 ...
user avatar
1 vote
0 answers
83 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 ...
user avatar
0 votes
0 answers
42 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 ...
user avatar
4 votes
1 answer
399 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 ...
user avatar
  • 1,019
1 vote
0 answers
89 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 ...
user avatar
1 vote
0 answers
27 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 ...
user avatar
  • 2,975
2 votes
0 answers
139 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 ...
user avatar
  • 1,269
2 votes
0 answers
34 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 ...
user avatar
  • 1,801
2 votes
0 answers
39 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 ...
user avatar
  • 2,975
0 votes
0 answers
162 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. ...
user avatar
  • 1
14 votes
1 answer
890 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: ...
user avatar
  • 7,085
1 vote
0 answers
92 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 -> ...
user avatar
  • 8,217
7 votes
1 answer
180 views

Executing local functions remotely

The following ...
user avatar
  • 2,975
2 votes
0 answers
115 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 ...
user avatar
  • 1,269
3 votes
1 answer
103 views

Improving a Remote Wolfram Execution Function

The following function allows me to remotely execute Wolfram code on another machine that has wolframscript installed: ...
user avatar
  • 2,975
1 vote
0 answers
83 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 ...
user avatar
1 vote
0 answers
50 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 ...
user avatar
  • 3,603
3 votes
0 answers
73 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 ...
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 ...
user avatar
  • 21
3 votes
1 answer
475 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: ...
user avatar
  • 3,428
1 vote
0 answers
49 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 ...
user avatar
  • 397
2 votes
1 answer
70 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 ...
user avatar
  • 3,603
6 votes
1 answer
174 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. ...
user avatar
  • 988
1 vote
0 answers
51 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 ...
user avatar
  • 363
1 vote
0 answers
160 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 ...
user avatar
2 votes
1 answer
336 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 ...
user avatar
  • 917
1 vote
2 answers
190 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 ...
user avatar
3 votes
1 answer
378 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 ...
user avatar
5 votes
0 answers
113 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 ...
user avatar
  • 17.9k
2 votes
0 answers
72 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 ...
user avatar
6 votes
0 answers
329 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 ...
user avatar
3 votes
0 answers
35 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 ...
user avatar
0 votes
0 answers
89 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 ...
user avatar
  • 159
8 votes
1 answer
168 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 ...
user avatar
  • 3,679
5 votes
0 answers
383 views

Connect to remote kernels with ssh in MMA 11.2.0

I used these code in this post remote kernel through SSH ...
user avatar
  • 988
2 votes
0 answers
116 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: ...
user avatar
  • 291
1 vote
0 answers
55 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 ...
user avatar
  • 291
0 votes
0 answers
46 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 ...
user avatar
  • 291
3 votes
0 answers
376 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 ...
user avatar
  • 493
1 vote
1 answer
161 views

ParallelTable fail to distribute computation to local kernels and remote kernels

Recently I'm trying to process some experiment data, my PC with OS Win10 (mathematica v10.4) is not enough, so I connect to another PC with OS Ubuntu 16.04 (mathematica 11.0) by the way supported here....
user avatar
5 votes
0 answers
106 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 ...
user avatar
  • 1,125
7 votes
2 answers
575 views

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

For example,in windows machine there is a variable testData ...
user avatar
  • 6,666