Options, methods or issues launching a Kernel instance

learn more… | top users | synonyms

1
vote
0answers
57 views

Mathematica 10.4 consuming 100% CPU after startup

Whenever I start up a new Mathematica session, I have to restart the kernel do anything. For example, if I just enter 1 (or any other command) into a blank ...
68
votes
2answers
14k views

Mathematica 10.0.x freezes in Initializing kernels

Bug caused by paclet update and fixed by paclet update. I updated to Windows 10 and have been running Mathematica fine on it for over a month. For some reason, it has just stopped working. I don't ...
0
votes
0answers
30 views

Mathematica 9.0 reboots in Initializing kernels, please help

After having read these post: Mathematica 10.0.x freezes in Initializing kernels, Mathematica sporadically crashes on open, Front end freezes on start-up, I have borrowed the title for this question ...
7
votes
1answer
132 views

How to use the Autoload directory?

According to the documentation, packages in $UserBaseDirectory/Autoload will load automatically on startup. I placed an .m file ...
7
votes
1answer
42 views

How to ensure that a package is always loaded on startup, even in parallel kernels?

Is there a robust way to ensure that a package is always loaded on startup, even in parallel kernels? Parallel kernels do not read Kernel/init.m.
2
votes
1answer
142 views

Alt+Gr issue with Mathematica 7 on linux

I have the same issue as described in https://matteochinazzi.wordpress.com/2010/04/12/mathematica-alt-gr-issue-under-linux/ So basically whenever I use AltGr to write [ or ] in Mathematica, it ...
13
votes
1answer
294 views

Cannot start multiple instances of Mathematica after upgrading to 10.4

Bug introduced in 10.4 and fixed in 10.4.1 I used to have no trouble opening multiple instances of the Mathematica notebook/kernel on Windows by right-clicking on the Mathematica icon in the task bar ...
9
votes
1answer
128 views

Handling Kernel start. What is a full initialization stack and what place the Autoload has there?

According to: tutorial/WolframSystemSessions Initialization On startup, the Wolfram Language kernel does the following: Performs license management operations. Runs Wolfram ...
0
votes
0answers
51 views

Mathematica freezing during Kernel intialization

Whenever I start Mathematica it freezes with kernel initialization. I have tried both deleting the paclet folders as well as updating the paclet folder but no avail. Kindly help me.
8
votes
0answers
397 views

Mathematica 10.4.0 hang on startup, killing WolframKernel fixes it

I just upgraded to Mathematica 10.4 (Site Home Use) on Ubuntu 15.10 (x86-64). After entering the activation key and clicking Activate, I got a message "Activation was successful", and then the window ...
1
vote
1answer
86 views
9
votes
2answers
6k views

Mathematica sporadically crashes on open

Sometimes, when I open Mathematica, while the opening splash screen still says "Initializing Kernel Connections", Windows will tell me that "Wolfram Mathematica 9 has stopped working". This will ...
2
votes
1answer
319 views

Serious Startup Error: Error code 583

I can't start Mathematica 10.2 in Windows 8.1 64 bit, I'm getting this error even after I uninstalled and re-installed. I emailed support a couple fo days ago, but I'm yet to hear from them and I ...
16
votes
2answers
911 views

How to restart computation when kernels die?

When an important process needs to be kept alive, there are monitoring tools to restart them if they die (e.g. god tasks in ruby), in my case I have an overnight scraping task that I need to have done ...
1
vote
1answer
232 views

new kernel for notebook

I know I can create a new kernel for my notebook from the evaluation menu but is there a command for this? I'd really like some of my notebooks to startup their own kernel as the first line of code.
2
votes
0answers
48 views

Share variables among notebooks with different Kernels

So I have a server running in another notebook with a secondary kernel. I run my main notebook and launch the server notebook, but I have configured the variables in my main one, and can't find a way ...
1
vote
0answers
53 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 ...
4
votes
1answer
191 views

Kernels permanently consume 100% CPU

I have a problem with Mathematica kernels consuming 100% CPU, even when they seemingly idle: I start Mathematica (version 10.1.0 for Linux x86, 64 bit on Linux 2.6.32, server with 4 cores, 16 GB RAM). ...
5
votes
1answer
92 views

How to avoid kernel shutdown when importing a file

I am importing a CIF file and the Kernel shutdown (Mathematica 10). The only instruction is this Import["myfilename.cif"] I tried CheckAbort unsuccessfully. How can I catch the error and keep ...
2
votes
2answers
505 views

Mathematica not responding to clean start-up

I am currently running Linux (Ubuntu 14.04) and my copy of Mathematica suddenly started misbehaving. I am not sure what I did to invoke this. The splash screen when Mathematica is launched kept ...
0
votes
0answers
60 views

Using Import during initialization, i.e., in an init.m file

I am trying to import a list of directories from a file during initialization. I wrote a package that defines a function to import the file. When I test the function in a notebook or execute the <...
0
votes
0answers
28 views

Mathematica does not launch after RLink installation /Linux [duplicate]

Hei, I have a problem with Mathematica 10.0 launching after RLink installation. I am running Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.68-1+deb7u3 x86_64 GNU/Linux Exactly what I did: Typed on ...
0
votes
0answers
35 views

Mathematica freezes upon opening at step “Initializing Kernels” [duplicate]

Similar threads offered no help. Also Mathematica gives me no other feedback on what this issue actually is; it just freezes at the step "Initializing Kernels" and never opens, even after hours of ...
0
votes
1answer
889 views

More Information About Solving Mathematica 10.0 Freezing Issue [duplicate]

I am aware now that Mathematica 10.0 is having difficulty with freezing during its startup while displaying the message "Initializing kernels..." The question is answered here: Mathematica 10.0.x ...
6
votes
1answer
388 views

Trial version 10 vs Version 10 Prerelease 13

When I open the new trial version (creation id 5099521; 10.0.30732.17750) I get these error messages and only a partial view of the "About" box I haven't run into any particular problem, except ...
2
votes
0answers
142 views

Mathematica hangs on “Initializing kernels…“ at startup [duplicate]

My Mathematica 10.0 doesn’t start anymore (hangs while “Initializing kernels…“). I already reduced the problem to the file pacletSiteData_10.pmd2 in ...
6
votes
2answers
140 views

Running MathKernel from Emacs brings cursor to end of line

When I start MathKernel from the Emacs shell, there are always extra spaces inserted so the cursor goes to the far right side of ...
1
vote
0answers
33 views

Distribute Definitions to different Evaluator

I would like to pass on a definition from one Kernel to the other. With that I mean manually configured Kernels. In this case, I do not want to use the inbuilt Parallelization options, in order to ...
2
votes
0answers
46 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? (...
4
votes
2answers
144 views

Running bits of code in a separate kernel

I am using Mathematica to generate 3D graphics frame for a video. The process goes as follows: Loop over a counter i Use ...
2
votes
1answer
85 views

Parallel kernels cannot launch: LinkOpen::linke error [closed]

I have been regularly using parallel kernels on my machine but this morning all I receive is a cryptic error whenever I call any parallel function (LinkOpen::linke). As far as I can see sequential ...
17
votes
1answer
599 views

Quit the Kernel and start new session automatically

The question is how to quit the kernel, start a new session automatically, and to be able to run such procedure from e.g. Button. This is especially useful when ...
2
votes
0answers
23 views

How to make lines not wrapping in text-mode Mathematica? [duplicate]

When running Mathematica from Unix command line, i.e. pure text mode, the lines wrap at about 70 pr 80 characters, creating lots of visual clutter. How do I set it so that any outputs will not wrap ...
3
votes
1answer
275 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 ...
4
votes
0answers
161 views

Possible Mathematica Bug? Blank Screen

I'm a student using Mathematica on a 2012 macbook pro with OS X Yosemite. Mathematica was running fine on my computer for a long time - one day, seemingly randomly, a blank screen started appearing ...
11
votes
2answers
1k 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 ...
1
vote
0answers
171 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: ...
5
votes
1answer
131 views

Changing MathKernel process priority on the startup

In the built-in Documentation there is an example how it is possible to change the priority of the MathKernel process using NetLink: ...
4
votes
1answer
104 views

what's the meaning of “-mathlink” as part of Arg for LinkLaunch?

LinkLaunch["MathKernel -mathlink"] LinkLaunch["MathKernel"] The both code line above can launch a MathKernel. What's the difference of them? what's the meaning of ...
33
votes
2answers
2k views

What information is sent to Wolfram Research when loading or working with Mathematica?

Recently I am told that information unknown to the user is sent to Wolfram Servers. Is there any truth behind it ? I was told that more than just an IP address of the user is sent to them and that ...
0
votes
0answers
389 views

Cluster integration: Problem connecting to Sun Grid Engine

I'm trying to launch some kernels in a cluster engine running Sun Grid Engine using Cluster integration. But I'm getting the error "Cannot find components required for SGE". ...
1
vote
0answers
109 views

Multiple scripts run using same kernel

I have an external program that calls Mathematica scripts upon certain events. Each script requires a large Mathematica library to load (takes a while). Is there some way to run an initial script ...
3
votes
0answers
561 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 ...
3
votes
0answers
230 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 ...
12
votes
1answer
824 views

How to run mathematica scripts without initializing the kernel every time

I have written a Mathematica script that is to be run periodically on a Raspberry Pi. The code takes about 3 seconds to execute if I test it in a CLI Mathematica session. However, when I execute the ...
0
votes
1answer
348 views

How to change the MATHEMATICA_USERBASE directory

I’ve found, from reading the help on MathKernel in the help system and in a number of questions here, that to make that change in Windows at least one apparently needs to enter “MathKernel … options” ...
16
votes
2answers
866 views

Using LaunchKernels to launch kernels with lower priorities

On windows the kernels launched with LaunchKernels are starred with "Below Normal" priority. Is there a way to start them with even lower priority (eg. "Idle")? ...
-4
votes
1answer
210 views

How to use all the kernels efficiently

We build a project with Java and Mathematica technologies. For this project we have written a bunch of functions in Mathematica and integrated some functions in one ...
18
votes
1answer
2k views

How often does Mathematica contact its license server?

I know that Mathematica checks the validity of its license every time the program is launched. Say, however, that I have a valid license (which I do) and that I am running some code which takes a ...
6
votes
0answers
593 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 ...