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
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
26 votes
3 answers
4k views

How can I connect to a remote machine?

My friend and I are trying to set up remote kernels. He has a server at home running 1 kernel off of a Linux-based server. We're both on 8.0. I manually set ...
Rohan's user avatar
  • 261
21 votes
1 answer
2k views

How do you use ssh-keys instead of a password to run a remote-kernel over ssh?

On all of the servers that I regularly interact with, I have ssh-keys setup for passwordless access via ssh. Yet, every time I attempt to start a remote-kernel over ssh, I get asked for a password ...
rcollyer's user avatar
  • 33.8k
15 votes
1 answer
8k views

How to run a Mathematica program using command line on windows?

I have to run some Mathematica programs on a remote computer running the Windows XP operating system. However, I do not know how to run the program using the command line on this system. What do I ...
wxg's user avatar
  • 443
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 ...
Rho Phi's user avatar
  • 1,410
18 votes
2 answers
675 views

Are later versions of the Front-End compatible with older Kernels?

At my graduate school, all of the clusters still use version-6, and I only have version-7 and version-8 installed on my computer. I would like to use those machines remotely. Are either of the ...
rcollyer's user avatar
  • 33.8k
17 votes
5 answers
2k views

Connecting to and disconnecting from a continuously running kernel, on demand

I realized that there are lots of advantages to driving C/C++/FORTRAN code directly from Mathematica as LibraryLink functions (instead of running them from the command line or a shell script, as I ...
Szabolcs's user avatar
  • 233k
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 ...
Jagra's user avatar
  • 14.3k
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 ...
user1832237'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
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
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
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
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(...
xslittlegrass's user avatar
5 votes
1 answer
506 views

generating pdf using UseFrontEnd

I run mathematica on a remote server and run it in batch mode using /math -noprompt -script 'scriptname.m' & Now, I use ssh -X to connect to the server. The server is linux based and my computer ...
preeti's user avatar
  • 833
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
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,611
12 votes
2 answers
3k views

Can I evaluate a notebook using Mathematica in text mode on remote machine?

I have a Mathematica notebook file called "my.nb". It was prepared using Mathematica 7.0 on my local machine running the Linux OS. Now, I want to evaluate it on the remote machine, which also has ...
Chris's user avatar
  • 121
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
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
7 votes
1 answer
1k views

Accessing data on local machine from remote kernel

I have a remote kernel on a server that I would like to use to process some data. The connection works, i.e, I'm able to use the local front end and the remote kernel. However, I cannot figure out how ...
VLC's user avatar
  • 9,798
7 votes
1 answer
538 views

Operations on online files via public URL access

I need Mathematica to access an online public directory via some URL (fake in this case) http://example.com/images and perform operations similar to those Mathematica can do on OS directories and ...
Vitaliy Kaurov's user avatar
7 votes
1 answer
211 views

Executing local functions remotely

The following ...
George's user avatar
  • 3,115
6 votes
4 answers
3k views

Remote Mathkernel: SSH encountered a networking error while launching kernel Error code = 1

I have a problem concerning the connection to a remote kernel via ssh on a vpn. I found a working configuration in this question: Connection to remote kernel can not be established - No specific ...
hreimer's user avatar
  • 191
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
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
4 votes
1 answer
1k views

Connection to remote kernel can not be established - No specific error shown

I was trying to set up a remote kernel using Mathematica 8, a Debian server and a Mac OSX 10.8 client. First I configured a VPN connection between server and client and went through all the basic ...
user871784's user avatar
3 votes
2 answers
1k views

Launching remote kernels - will it help RAM needs?

Given the exasperating RAM needs of my Mathematica program, I contemplated launching remote kernels to run my Mathematica script. This is a two part question: Part 1 If I launch a remote kernel(s), ...
dearN's user avatar
  • 5,321
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
1 answer
725 views

Connecting to a remote machine

The simple answer is ssh username@hostname Enter your password and you are set. My problem is that I wish to connect to a computer in my university. There are ...
jmlopez's user avatar
  • 6,450
3 votes
1 answer
453 views

How to correctly disconnect from the kernel?

I'm connecting to and disconnecting from the kernel but I'm doing something wrong. I crash the text formatting in the terminal and got some warnings. There are some instructions to connecting to the ...
ybeltukov's user avatar
  • 43.5k
2 votes
0 answers
123 views

Can I evaluated a cell in a notebook in a background process?

I currently run my Mathematica on a linux computer through Putty and Xming. Xming provides a graphical display for Mathematica windows running on a remote linux computer. But recently, the network ...
matheorem's user avatar
  • 17k
2 votes
1 answer
497 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
2 votes
1 answer
446 views

Export data from remote kernel onto a local machine

I can not access the directory on my remote kernel these days. Therefore, I want to export the output of the computations to my local machine. Some details: My remote kernel is on a Tyan TX46 with ...
cesm's user avatar
  • 449
1 vote
0 answers
483 views

Save open Mathematica Notebook from command line or second Notebook to avoid data loss

I was executing a long Mathematica Notebook over night. The Mathematica instance is running on a Linux workstation (in a vnc server session to be precise). Now I cannot access this session anymore, ...
highsciguy's user avatar
  • 1,660