Questions tagged [kernel-startup]

Options, methods or issues launching a Kernel instance

command line options include:

-lmverbose        print diagnostic information to stderr
-mathlink         specify that the kernel should be run in MathLink mode
-noprompt         specify that no banner or In/Out prompts should be printed
-password str     specify a password to use instead of the password or passwords stored in the mathpass file
-pwfile file      specify the name of a file that has a valid password
-run              specify a command to be run on startup as an argument

Kernel Configuration Options

122 questions
19
votes
2 answers

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")? I'm doing some intensive numerical analysis on my computer, which becomes really…
Ajasja
  • 13,634
  • 2
  • 46
  • 104
7
votes
2 answers

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 commands over, execute them, and then start the…
mahnamahna
  • 173
  • 3
6
votes
2 answers

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 the screen. For example % emacs -q M-x shell…
tak fuchin
  • 61
  • 1
6
votes
1 answer

Using MathKernel without echoing a window

I use M9 under windows 7 on a command prompt as: MathKernel -noprompt -script file.m On execution, there is a like a kernel window opened and then closed immediately. How can I avoid this window and run my script in silence? thanks
dude
  • 131
  • 1
  • 3
4
votes
0 answers

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
Ulrich Neumann
  • 53,729
  • 2
  • 23
  • 55
4
votes
0 answers

What's the kernel launch command syntax?

I want to configure a remote kernel, but the box it'll run on doesn't have a fixed hostname or IP address. I can however get its IP address by running a shell script. (For the moment I'm only worrying about unix-oid systems: linux and MacOS -- I'll…
Leon Avery
  • 1,332
  • 8
  • 23
3
votes
2 answers

How to SetDirectory[{path to my data files}] in a init.m file or elsewhere?

I'm using M13.1 on Windows 11. Every update I've received from Wolfram so far completely trashes all my customization to mMA (so I've quit updating now). I've managed to get back a lot if my settings by slowly changing them thru the options…
1.156
  • 31
  • 3
3
votes
0 answers

Mathematica 12.1 not starting

I have installed Mathematica 12.1 on my Windows 7 desktop and also activated it via the Mathematica Kernel option in the startup menu. But when I try to start it normally I always get the same error which is attached below. It tells the Fault Module…
Epsilon
  • 1,122
  • 4
  • 8
3
votes
1 answer

Formatting error in Mathematica 12

Recently, my copy of Mathematica v.12 started reporting the error An improperly formatted directive with head Times was encountered. on startup. This error also shows up in the Messages window while working with random notebooks. Does anyone…
2
votes
1 answer

Mathematica 12 won't load on Ubuntu

I have been using Mathematica 12 on Ubuntu 20.04 for a while now, and everything has been fine. However, now when I try and open it, it freezes on 'Initializing kernels'. I have also tried running 'mathematica' and 'math' and 'WolframKernel' from…
user112495
  • 245
  • 1
  • 9
2
votes
1 answer

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 notebook. What I'm asking is how to automate that…
yewang
  • 327
  • 1
  • 5
2
votes
0 answers

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 notebook, then Mathematica waits and waits and never returns an answer. It uses 100% CPU…
Kevin
  • 267
  • 1
  • 6
1
vote
1 answer

Mathematica 12.1.1 does not boot up but kernel does

While Mathematica's kernel loads quite well, whenever I try to boot up the program itself it simply never boots. I've tried completely erasing Mathematica and reinstalling, but this did not work. What is going on, and how can I fix it?
0
votes
1 answer

More Information About Solving Mathematica 10.0 Freezing Issue

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 freezes in Initializing kernels Unfortunately, I'm…
Nic
  • 1
  • 1
0
votes
0 answers

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 from the former, for reasons that will be soon…
mitochondrial
  • 1,843
  • 10
  • 16