Questions tagged [kernel-startup]

Options, methods or issues launching a Kernel instance

Filter by
Sorted by
Tagged with
1
vote
1answer
69 views

Launching remote kernel--increase timeout time

When launching several remote kernels manually on a cluster (as described in here under `Remote Kernels/Manual Launching') I see quite frequently the following error: ...
1
vote
0answers
45 views

Launching All Unoccupied Threads as Kernels [CPU Usage Assessment with Mathematica]

I'm working on a PC with 10 processor cores (20 threads), so it can support 20 concurrent computations. I often run simulations in the background on my PC such that some fraction of these, say 12, ...
3
votes
0answers
78 views

Mathematica 11.0.1 freezes on startup

My MMA Installation (11.0.1, Windows 7) newly freezes the Welcome screen somtimes. I'm looking/hoping for a similar solution like Mathematica 10.0.x freezes in Initializing kernels? Thanks
2
votes
2answers
526 views

Mathematica 11.3 keeps crashing on initializing Kernel

I have been using a licenced mathematica, provided by my research institute, for a while. Weeks ago it happened to me that at the startup of my mathematica (while initializing Kernel), mathematica ...
16
votes
2answers
333 views

Different strategies to get a clean Kernel. Quit, Exit, ClearAll, Remove, CleanSlate?

Often new users face problems with lingering definitions that, if unaware, may cause unexpected and frustrating behaviour. There are several answers that illustrate different aspects of the solution, ...
2
votes
1answer
71 views

Make File/New/Notebook create a new kernel by default

File/New/Notebook creates a new notebook using the same current kernel. Is it possible to make it create a new kernel by default? I know how to create a new kernel manually and set that kernel to my ...
8
votes
1answer
154 views

How to use a remote windows laptop for NetTrain?

I have a windows 10 laptop (with a gpu) at home and a macbook at my office, both with v11.3. What are steps to use the windows machine remotely for training? That is, I want to launch and run ...
2
votes
0answers
27 views

Problem with autoloading packages in Parallel kernels on 11.2 [duplicate]

After migrating to a new machine (running Mathematica 11.2 on Linux), I am experience a problem with packages in the autoload directory not loading when I launch parallel kernels. The setup I use is ...
2
votes
0answers
247 views

Mathematica 11.2 / 11.3 Startup error

This is problem that I am finding since the last release of Mathematica version 11.2 and also in version 11.3. On starting up Mathematica I get the following three messages: 1) An unknown menu ...
0
votes
1answer
55 views

Define parameters local to a notebook section

Is there a way to split a Mathematica worksheet, so that I can define parameters that are valid only for a section of the worksheet, like "local parameters" of a Matlab or C++ function? I need a ...
0
votes
1answer
59 views

Opening notebook immediately produces error message [closed]

Whenever I open the file I get the following as an error ReplaceAll::reps: {Sol} is neither a list of replacement rules nor a valid dispatch table, and so cannot be used for replacing. but as soon ...
0
votes
0answers
96 views

How to recover from this kind of startup error without reinstalling Mathematica? [duplicate]

How to recover from this kind of startup error without reinstalling Mathematica?
2
votes
1answer
209 views

Error with “Drop” when starting up Mathematica

This is for v11.2. Sometimes when I open up and then evaluate a notebook, the following messages appear: ...
3
votes
0answers
103 views

How to prevent checking internet at startup

Every time I start Mathematica 11.1, or restart a session after Quit, it takes about 20 seconds on my rMBP 2014 MacOS X 10.10 for the kernel to start up. I just ...
4
votes
0answers
300 views

Can't Launch Kernels, Updating from Wolfram Research Server

So, I'm running Mathematica on an HPC cluster using the math module command line interface. I'm trying to figure out some problems with attempting to parallelize my ...
13
votes
1answer
322 views

How to automatically do a computation, Quit[], restart and do a new computation

Related questions have been asked before (eg Where does a package have to be loaded?, https://stackoverflow.com/questions/6152023/quit-kernel-in-mathematica-by-a-command-not-using-evaluation-menu, ...
3
votes
1answer
102 views

Autoload a package

I want to aoutoload a package at the beginning of a notebook. I set up my directory as written here How to use the Autoload directory? So, I have these files: ../Work/MyFile.nb ../Work/...
7
votes
1answer
247 views

Package loading in init.m

I'm loading a package at startup in "~/Library/Mathematica/Kernel.init", which looks like this: ...
2
votes
0answers
113 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 ...
7
votes
2answers
140 views

Is it possible to clone the state of a kernel into a second kernel for long evaluations?

I often have a long calculation I want to execute, while still being able to run short evaluations to experiment. I've set up a second kernel for long evaluations and currently copy all the previous ...
4
votes
1answer
168 views

Mathematica not using all cores available

I am trying to run a ParallelDo loop in Mathematica, that uses NSolve to solve an equation for a number of different input ...
15
votes
2answers
601 views

Detecting kernel initialization

Certain operations do not work during kernel initialization. Code from Kernel/init.m, the Autoload directory, or packages set ...
22
votes
2answers
716 views

Restarting Mathematica automatically

I run a large computation in a loop. At each cycle of the loop I produce large arrays that I save on a disk. At each cycle I would like to Quit Mathematica and ...
0
votes
0answers
459 views

When I start Mathematica 11 and do a simple calculation like 2 + 2, it continuous running and never completes

I'm using Mathematica 11 on Mac. When I start Mathematica and create a new notebook then do some simple calculation like 2 + 2 and press Shift+Enter, it continues ...
2
votes
1answer
382 views

How to tell Mathematica do parallel computation?

I am using NDSolve on a workstation with 6 kernels. To speed up the simulation I have used LaunchKernels[] to load all the ...
4
votes
0answers
67 views

Is every menu command equivalent to a command that can be executed within a notebook?

If so, is there a directory which gives the in-notebook command associated with each menu command ? In particular, I would like to know how to replicate the menu command Evaluation -> Quit Kernel -> ...
1
vote
1answer
52 views

`$ContextPath` different on first run

When I run Quit, then the first time after that I evaluate $ContextPath I get ...
0
votes
0answers
177 views

`{Protected, ReadProtected}` System symbols give “Set::write: ”Tag * in *[v_] is Protected" on first try

Run Quit, then Unprotect@AbelianGroup; AbelianGroup[v_] = 0; Protect@AbelianGroup; where instead of ...
2
votes
0answers
127 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 ...
14
votes
1answer
934 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 ...
10
votes
1answer
120 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.
0
votes
0answers
59 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 ...
15
votes
1answer
541 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 ...
12
votes
1answer
392 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 Language ...
8
votes
1answer
867 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
159 views

ParallelTable should distribute dedicated evaluation range to different kernels

I have 4 kernels and would like that in ParallelTable: ...
3
votes
1answer
2k 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 ...
19
votes
2answers
2k 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 ...
2
votes
0answers
122 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
104 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 ...
5
votes
1answer
623 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
120 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 ...
0
votes
0answers
38 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
1answer
1k 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 ...
3
votes
2answers
1k 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 ...
77
votes
2answers
19k 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 ...
2
votes
0answers
172 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 ...
1
vote
0answers
82 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
75 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? (...
3
votes
1answer
238 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 ...