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.

learn more… | top users | synonyms

20
votes
3answers
2k 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 ...
19
votes
1answer
831 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 ...
16
votes
2answers
427 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 ...
15
votes
5answers
1k 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 ...
11
votes
2answers
469 views

Specifying the ports used by LinkCreate or LinkLaunch

Whenever a Link is created using LinkCreate or LinkLaunch with ...
11
votes
0answers
58 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 ...
9
votes
2answers
926 views

Connecting to Raspberry Pi's Wolfram Language kernel from a PC's Mathematica front end

Recently I bought a Raspberry Pi and I installed the Wolfram Language on it. Comparing WL 10.0's commands with Mathematica 9.0.1.0's commands, I found 328 additional commands and variables. I ...
9
votes
1answer
2k 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 ...
8
votes
1answer
3k 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 ...
7
votes
3answers
1k 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 ...
7
votes
1answer
483 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 ...
7
votes
0answers
143 views

What range of ports do remote kernels use?

I'm trying to run a remote kernel, but my local system administrator is wary of opening up ports for incoming connections. Is there are particular range of ports that Mathematica uses for remote ...
6
votes
2answers
289 views

Mathematica ncurses support

I occasionally ssh into machines that have Mathematica installed. I then operate Mathematica through the command-line interface. Often, the command-line interface ...
6
votes
2answers
2k 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 ...
6
votes
1answer
407 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 ...
6
votes
2answers
125 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 ...
6
votes
1answer
479 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 ...
6
votes
1answer
396 views

Using “Raw MathLink Connections” to create a “Kernel Object”

Mathematica 8.0.0: I am stuck trying to get a Mathematica Mathlink connection from my Windows computer working that should connects to Linux over network (or vice versa) and then launches a Kernel on ...
6
votes
1answer
338 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, ...
6
votes
0answers
421 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 ...
5
votes
3answers
1k 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 ...
5
votes
1answer
228 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 ...
5
votes
0answers
248 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 ...
4
votes
1answer
723 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 ...
4
votes
1answer
280 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 ...
4
votes
2answers
134 views

how to load packages on local computer when using remote kernels

I usually works remotely using kernels on our hpc and front-end on my local laptop. This enable me do relatively large computation within my laptop(IP address of my laptop may change frequently). But ...
3
votes
1answer
220 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 ...
3
votes
1answer
213 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: ...
3
votes
1answer
424 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 ...
3
votes
1answer
91 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 ...
3
votes
1answer
271 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
1answer
295 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 ...
3
votes
0answers
179 views

Launching Remote Kernels takes a lot of time

I recently played around with establishing a remote kernel setup without using mathematica grid. To do this I use the LaunchKernels[] command and ...
2
votes
1answer
152 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 ...
2
votes
1answer
213 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 ...
2
votes
0answers
41 views

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

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 ...
2
votes
0answers
34 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 ...
2
votes
1answer
80 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? ...
2
votes
0answers
131 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 ...
2
votes
0answers
383 views

Remote kernel shuts down after several seconds

I have Mathematica 9 installed on two Windows Server 2008 R2 machines. Now i want to try using one of them as a frontend with local kernels and the other one for remote kernels. OpenSSH 6.5 for ...
2
votes
0answers
69 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 ...
1
vote
2answers
280 views

Can I run calculations on an external ssh server that doesn't have Mathematica installed? [closed]

I am currently running some rather compilex Mathematica calculations on my laptop and sometimes run into an out-of-memory errors. However, I have access to some larger simulation servers via ssh, but ...
1
vote
1answer
121 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 ...
1
vote
1answer
103 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 (...
1
vote
0answers
45 views
+50

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 ...
1
vote
0answers
56 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 ...
1
vote
0answers
117 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: ...
1
vote
0answers
59 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 ...
1
vote
0answers
118 views

Remote access to notebook is very slow

I am using Mathematica at work remotely from a computer in my building and I can edit notebooks by opening them from terminal via ssh without problem (a little slow if there is a figure with many ...
1
vote
0answers
644 views

Configuring Remote Kernel via terminal in Linux

There's a server at work, which I would like to use as a remote kernel. I have access to it via terminal (server is running Red Hat, my client Windows 7). I don't know if the kernel is set up or not, ...