A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

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
2
votes
0answers
27 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
0answers
41 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. ...
10
votes
0answers
161 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: ...
1
vote
0answers
53 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 -> ...
5
votes
1answer
109 views

Executing local functions remotely

The following ...
2
votes
0answers
71 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 ...
3
votes
1answer
92 views

Improving a Remote Wolfram Execution Function

The following function allows me to remotely execute Wolfram code on another machine that has wolframscript installed: ...
1
vote
0answers
57 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 ...
1
vote
0answers
45 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 ...
2
votes
0answers
44 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 ...
2
votes
0answers
31 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 ...
2
votes
1answer
158 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: ...
1
vote
0answers
46 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 ...
2
votes
1answer
64 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 ...
6
votes
1answer
112 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. ...
1
vote
0answers
45 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 ...
1
vote
0answers
95 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 ...
1
vote
0answers
26 views

Cell wierdly auto evaluated when mouse-selecting code through VNC viewer

I have Mathematica 11.3 installed on a Mac. I connect to it from a Windows machine via VNC viewer. Very strangely, whenever I select any piece of code in a cell by clicking and holding my mouse button,...
2
votes
1answer
181 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 ...
1
vote
2answers
121 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 ...
3
votes
1answer
131 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 ...
5
votes
0answers
89 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 ...
2
votes
0answers
66 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 ...
6
votes
0answers
208 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 ...
3
votes
0answers
32 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 ...
0
votes
0answers
54 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 ...
8
votes
1answer
157 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 ...
5
votes
0answers
268 views

Connect to remote kernels with ssh in MMA 11.2.0

I used these code in this post remote kernel through SSH ...
2
votes
0answers
65 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: ...
1
vote
0answers
41 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 ...
0
votes
0answers
30 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 ...
3
votes
0answers
283 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 ...
1
vote
1answer
132 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....
5
votes
0answers
88 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 ...
6
votes
2answers
307 views

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

For example,in windows machine there is a variable testData ...
4
votes
1answer
154 views

Remote parallel processing

(The problem has been narrowed down, and solved to a more simple one described at the end of the post beside UPDATE 3) I'm doing some numerical work that takes quite a long time to run on my computer ...
4
votes
1answer
613 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 ...
8
votes
0answers
153 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, ...
3
votes
0answers
131 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 ...
3
votes
1answer
69 views

Is it possible to recover remote subkernels if Internet connection is lost?

I was wondering if it is somehow possible to start a parallel calculation (where each part that is run in parallel takes about an hour) on remote subkernels, then disconnect the Internet connection, ...
6
votes
2answers
252 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,...
1
vote
1answer
205 views

LinkConnect errors while connecting to remote kernel. Interactive commands fail

For a while I have a set-up running a Mathematica front-end on a Macbook and a remote kernel on a Linux (CentOS) computer. Recently something changed and I have issues with the remote kernel but I ...
2
votes
0answers
118 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 ...
4
votes
0answers
723 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::...
5
votes
1answer
362 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: ...
4
votes
0answers
157 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 ...
1
vote
0answers
70 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 ...
3
votes
0answers
91 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 ...
7
votes
1answer
278 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 ...
3
votes
0answers
137 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 ...