Questions tagged [kernel-startup]

Options, methods or issues launching a Kernel instance

Filter by
Sorted by
Tagged with
2
votes
0answers
59 views

Launch Kernels on Windows 10 from Raspberry Pi (linux) over SSH

I am trying to launch remote kernels on a Windows 10 PC (remote) from a Raspberry Pi 4 (Master or local). Both machines have V12 installed. On the Windows machine, I have installed OpenSSH per ...
1
vote
1answer
104 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
49 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
103 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
615 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
353 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
74 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
156 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
262 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
60 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
63 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
125 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
210 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
115 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
324 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
335 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
104 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
269 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
115 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
141 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
178 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
606 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
731 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
466 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
404 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
53 views

`$ContextPath` different on first run

When I run Quit, then the first time after that I evaluate $ContextPath I get ...
0
votes
0answers
196 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
130 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
991 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
123 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
60 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
548 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
400 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
882 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
168 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
134 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
108 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
641 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
123 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
39 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
173 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
88 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
76 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? (...