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
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
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
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
0 votes
0 answers
53 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 ...
user35305's user avatar
  • 291
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
1 vote
1 answer
170 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....
Bettertomo's user avatar
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
7 votes
2 answers
656 views

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

For example,in windows machine there is a variable testData ...
partida's user avatar
  • 6,776
4 votes
1 answer
208 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 ...
Pierre's user avatar
  • 193
4 votes
1 answer
1k 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 ...
heaven-of-intensity's user avatar
8 votes
0 answers
198 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
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
3 votes
1 answer
85 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, ...
fifaltra's user avatar
  • 339
7 votes
2 answers
368 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,...
partida's user avatar
  • 6,776
2 votes
1 answer
543 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 ...
PeterB's user avatar
  • 423
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
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
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: ...
Andrey Gelash's user avatar
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
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
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
7 votes
1 answer
344 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 ...
Young's user avatar
  • 7,485
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
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 <...
Meng-Chieh's user avatar
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
4 votes
1 answer
492 views

How to let processes run after closing ssh connection

I need to run a long evaluation on my research group machines at university (Scientific Linux 6 , Mathematica 9). I just connect via ssh and work on math text-based environment. I can't find a way to ...
Domenico Guida's user avatar
1 vote
0 answers
139 views

Failure on simple remote kernel configuration

I have a remote machine in which I can run MathKernel and I want to use it to exploit its cpus on my front-end. Please note that this machine will run MathKernel using an interactive LSF queue, if ...
Rho Phi's user avatar
  • 1,410
3 votes
1 answer
514 views

Running remote kernel - free frontend license?

I was wondering, is there any way to remotely connect to a Mathematica kernel with some free front end software? I have one (home-use) license, so I have Mathematica installed on my main computer. ...
MicroClue's user avatar
4 votes
1 answer
135 views

How to evaluate an expression via `LinkWrite` when the expression is only known at runtime?

*** Here's the original post... I'm setting up a secondary kernel in sandbox mode with LinkLaunch, and need to pass various expressions to it for evaluation. These ...
ibeatty's user avatar
  • 2,533
5 votes
1 answer
615 views

Reconnecting to remote kernels through SSH tunnelling

This is a follow up question to How can I connect to a remote machine? and the excellent answer provided by ybeltukov. My system is now configured as described in the answer with my MacBook running ...
Calchas's user avatar
  • 241
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.7k
1 vote
0 answers
185 views

The module load only works for the first node, not all. Is there's a way to specify the full path to the math command when launching remote kernels

Running a Mathematica .m file in cluster for parallel computing. But get an error "bash: math: command not found". Is there's a way to specify the full path to the ...
santosh's user avatar
  • 603
22 votes
2 answers
911 views

How to connect to EC2?

I have Mathematica 10.2 installed on an Ubuntu 14 machine in Amazon web services's elastic computer cloud. I have dido access and I'm connected to the instance though ssh on the terminal. I have an ...
M.R.'s user avatar
  • 31.2k
2 votes
0 answers
75 views

Export on local machine results of a parallel computation using remote kernels [duplicate]

I've got a long calculus to do with Mathematica. I've Parallelized the code using local kernels and remote kernels. I'm using a ParallelDo loop with an ...
sekisushai's user avatar
6 votes
1 answer
936 views

Setting up parallel remote kernels

I'm having trouble setting-up a parallel remote kernel. I have correctly set-up remote kernels and can use them instead of the local kernels, by executing tunnel.sh ...
sekisushai's user avatar
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 ...
andy269's user avatar
  • 418
5 votes
1 answer
1k views

How to connect the front end of one raspberry pi with the kernel of another

I followed the instructions in this howto from wolfram, but I keep getting the error: ...
yippy_yay's user avatar
  • 243
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
3 votes
1 answer
602 views

Can you explain how the remote kernel work

I have use remote kernel almost every day, but I guess I never understand how it works. I have basically two questions: How do we manually setup and use one kernel as a remote kernel to the other? ...
xslittlegrass's user avatar
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
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
7 votes
1 answer
1k views

Remote Kernel configuration works in v9 but not in v10

I have both v9 and v10 currently installed on my computer (Windows 7). For reasons that are not entirely clear, if I create a new remote kernel in one version, it is accessible to the other; however, ...
bobthechemist's user avatar
1 vote
0 answers
341 views

What does this Java error mean? Why is it raised?

I want to launch some kernels on a cluster that uses SGE. The server's operating system is Linux Cent-OS. According to Mathematica documentation, I've added these commands inside my code: ...
Toughee's user avatar
  • 113
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 ...
xslittlegrass's user avatar
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
1 vote
1 answer
246 views

Connect to Windows kernel from Linux computer

I've seen many questions regarding the connection to a Linux machine from a Windows one, but I need to do the opposite. Situation: I have Mathematica on my Linux laptop (...
Prastt's user avatar
  • 381
2 votes
1 answer
305 views

How to connect to remote kernels inside home router?

How to use remote kernels inside a home router? My router has the demilitarized zone (DMZ) feature, which can expose my computer to the internet, and should be able to work, but I can't figure out how ...
xslittlegrass's user avatar
1 vote
0 answers
115 views

Manually launching remote kernel results local process frozen

I'm trying to launch a Linux (Ubuntu latest) machine as a slave of my local PC (Windows 8). Both machine have Mathematica 9 installed. However, I'm behind a router, so I think it's a little more ...
xzhu's user avatar
  • 694
7 votes
1 answer
1k views

make mathematica recognize CCompiler and compile CUDA code on remote Windows machine

I have set up a Mathematica remote kernel on a Windows 7 64 bit machine, which has Microsoft Visual Studio 2010 installed. When I start Mathematica on the windows machine Mathematica recognizes the C-...
Wizard's user avatar
  • 2,700
2 votes
1 answer
495 views

SSH known hosts in Windows (Error code = 124)

I had to re-install Raspbian OS and now it has new SSH key. SSH clients usually let ignore this fact and save the new key, but not now. Mathematica gives no way to go if the Host Key was changed. I ...
Himura's user avatar
  • 131