All Sites & Public Resources...
Products & Services
Data Science Platform
Personal Analytics for Facebook
Products for Education
Wolfram|Alpha for Mobile
Course Assistant Apps
Paid Project Support
All Products & Services »
Revolutionary knowledge-based programming language.
Central infrastructure for Wolfram's cloud products & services.
Technology-enabling science of the computational universe.
Computable Document Format
Computation-powered interactive documents.
Software engine implementing the Wolfram Language.
Wolfram Natural Language Understanding System
Knowledge-based broadly deployed natural language.
Wolfram Data Framework
Semantic framework for real-world data.
Wolfram Universal Deployment System
Instant deployment across cloud, desktop, mobile, and more.
Curated computable knowledge powering Wolfram|Alpha.
All Technologies »
Aerospace & Defense
All Solutions for Education
Web & Software
Authoring & Publishing
Finance, Statistics & Business Analysis
Financial Risk Management
Internet of Things
All Solutions »
Support & Learning
Find an Answer
Ask for Help
Post a Question
Videos & Screencasts
Conferences & Seminars
All Support & Learning »
Work with Us
A New Kind of Science
Wolfram + Raspberry Pi
Wolfram Innovator Awards
All Company »
Mark as an Answer
Multiple "Raspberry Pi" remote kernels
I want to share my experience on getting rid of "Raspberry Pi" remote kernel multiplying. When using the Remote Development Pallete to configure the Pi Connection more then 1 times, you will notice that the kernels with the same names are multiplying.
Finding the place where I can edit kernels were rather challenging for the beginner. But I've managed to find the solution.
Edit -> Preferences
Open Option Inspector
obal Preferances by category
You need to edit the
Click the button on right and do what you want with the kernels.
When you finish cleaning this menu, I also want to advice using Kernel Properties dialog to somehow run
Writing to GPIO is available only for him.
Hope to be helpful. Thanks.
I found the easy way. I don't know how can I have it misnoticed...
Kernel Configuration Options
Nothing is so bad that it can't be made worse. I just went through this process without benefit of the advice in this conversation.
Instead, in my thrashing, trying things that might work, I set the default kernel to one of the RPi kernels. This turned out to be a terrible idea, because this disabled Mathematica. The RPi login dialog would come up whenever I tried to start it (I had never been able to figure out what the Remote Development Kit dialog was looking for) so the system was locked into a loop. The program managing the remote login dialog box couldn't be stopped by the Mac's Force Quit, the OK button, the cancel button, or the window close button. Mathematica itself could be stopped in the Mac Force Quit window. The problem infected all versions of Mathematica I had on my Mac, and it persisted through Trashing them all and reinstalling 9.0.1.
While I was casting around Google, looking for a way to avoid reformatting my hard drive, I had Mathematica idling in the background, blinking on and off in the Force Quit window with a "(not responding)" label attached. For reasons unknown, after a long time Mathematica's palettes finally appeared (pink) but the main menu was active. I was able to follow the instructions above, clean out the kernel list and reset the default kernel. A Christmas Miracle? Probably not, but pretty mysterious nonetheless.
So everything seems to be running fine. I'd still like to get the remote kernel running on the RPi, but I'm not eager to start messing with the RDK again.
Has anyone had success setting up the remote kernel from the Evaluation menu?
So far I've tried
Evaluation > Kernel Configuration Options > Add
Kernel name: RaspberryPi
x Basic Options
Launch on x Remote Machine
Kernel program: wolfram
Remote user: pi
Remote host: < my RPi IP address from sudo ifconfig >
Evaluation > Kernel > Start Kernel > RaspberryPi
dialog box opens
key in pi password
Messages window: The kernel RaspberryPi failed to connect to the front end. (Error = MLECONNECT). You should try running the kernel connection outside the front end.
What next? I've been able to establish the link and run wolfram from the Mac Terminal via ssh, but not from a notebook.
Any suggestions would be welcome.
I get the same message regarding (Error = MLECONNECT) when I try to start a remote kernel on my RPi.
See this post:
Error = MLECONNECT
I'm able to ssh into the RPi and run wolfram from a terminal, but not a remote kernel with a client FrontEnd.
I was hoping to get some help here, but no luck so far.
I wanted to follow up with some more information on the RDK connection issue. I moved my Mathematica Home Edition to a different PC on my LAN. After installing the RDK, I was able to successfully connect to my RPi. It's a mystery to me exactly why that is the case. The 2 PC's were very similar wrt hardware and installed software. The only thing that I can think that might affect the ability to connect is that on the original PC, I had installed Oracle's Virtual Box for running to virtual machines. Nothing like that is installed on the 2nd PC that connected to my RPi. I believe Virtual Box might do something with virtualized NIC's that may make that PC look like it has a different LAN IP address? I'm only guessing, though. I was able to connect to the RPI MathKernel through an ssh terminal on the original PC.
Be respectful. Review our
to understand your role and responsibilities.
Data Science Platform
Volume & Site Licensing
Wolfram Language Documentation
Connected Devices Project
Wolfram Data Drop
Wolfram + Raspberry Pi
© 2015 Wolfram. All rights reserved.
Learn how »