All Questions

Tagged with
Filter by
Sorted by
Tagged with
1
vote
0answers
123 views

Surprise: I don't need a new kernel to make to MMA notebooks independent [closed]

People seem to suggest that one needs to start a new kernel to keep multiple Mathematica (MMA) notebooks independent e.g. Kernel management link. But I did not do so and still found my two notebooks ...
0
votes
0answers
31 views

Reading a chunk of data from a stream using Parallelization

I am trying to read a stream and perform some operations in parallel. Here is the logic of the code inside the ParallelDo: 1- Open stream 2- Read chunk of data 3- Close stream 4- Process the data ...
1
vote
0answers
40 views

How badly does switching kernel slow down or completely stop Mathematica running jobs?

I have a question on how to run two or more Mathematica jobs on one laptop. For example, I use a local kernel to run a job. Then I open another job and choose Kernel configuration option and choose ...
0
votes
0answers
234 views

ParallelTable::nopar: No parallel kernels available; proceeding with sequential evaluation

I am trying to use a the following code: ...
5
votes
1answer
137 views

What is the difference between controlling and computational kernels?

I have just dowloaded Mma 11.3 with a trial licence. In the download page you can see: That I can use 2 controlling kernels and 4 computing kernels. What is the difference between controlling and ...
2
votes
1answer
74 views

Streams in parallel kernels. Writing in multiple files in ParallelDo loop in Mathematica

I need to write data in multiple files in ParallelDo loop: ...
1
vote
0answers
49 views

Access to a specific subkernel

Say I want to distribute a task in the following way on the available subkernels: ...
6
votes
2answers
207 views

How can I terminate a MathKernel that is running an external program after a timeout?

I'm using ParrallelDo to parallel run another program (windows executable) in 8 subkernels. Sometimes a SubKernel freezes. What I see in the task-manager is that ...
-1
votes
1answer
166 views

Using different master kernel in the same notebook

In my notebook, I have to call another file, let's say 'program.m' that defines functions, let's say F[] of whom result c I need ...
1
vote
1answer
286 views

Can I run more than two kernels simultaneously on my MacBookAir laptop?

I'm running Version Number 10.0.1.0 with Platform Mac OS X x86 (32-bit, 64-bit kernel). I have two Mathematica programs running using "Local" and "Alternative Local Kernel". Is this the most I can ...
4
votes
1answer
90 views

Programmatically access the data from the Parallel Kernel Status window

I want to show the parallel kernel status within a notebook, and not in the separate Parallel Kernel Status window. How can I programmatically access the Performance Measurements data shown in the ...
1
vote
1answer
104 views

ParallelTable Automatically kill MathKernel

At the moment I continously encounter the problem that while using ParallelTable the process kswap needs all the memory, while the four running MathKernels receive almost zero %Memory, which slows ...
22
votes
2answers
751 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 ...
1
vote
0answers
48 views

ParallelDo only output one file using $KernelID

I have some codes like this: ...
7
votes
0answers
167 views

Bug: Calling `SetSharedVariable` while kernels are running hangs them up/crashes them

Bug introduced in 9.0 or earlier and persisting through 11.0.1 or later Start a fresh kernel Quit, and maybe launch ...
2
votes
1answer
413 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 ...
19
votes
0answers
187 views

Status of all Evaluators?

Since I have 4 cores on my machine I typically have 4 notebooks open each with their own kernel evaluator. I'd like to construct a dynamic pane similar to the parallel kernels status window: But that ...
2
votes
0answers
58 views

Any kernel monitor alternatives?

Sometimes the Parallel Kernel Status looks like this: Is there any way to visualize the kernels without using the built in tool?
1
vote
0answers
47 views

Simutaneously evaluate two expression in the same notebook [duplicate]

Suppose I have two expressions in the same note book but in different cells, both of them take much time to evaluate. In general, mathematica waits until the first expression is done, then evaluate ...
4
votes
2answers
404 views

Easy way to close all Mathematica kernels?

When developing functionalities with several parallel kernels, when a bug happens, I often have to manually close all parallel kernels (using the Task Manager in Windows) in order to start again from ...
1
vote
1answer
170 views

ParallelTable should distribute dedicated evaluation range to different kernels

I have 4 kernels and would like that in ParallelTable: ...
3
votes
0answers
292 views

`ParallelTable` pending the MathKernel after execution

I have done a ParallelTable computation in script mode. After execution, the output is fine and I've got all the data I needed. but the kernel seems pending, ...
3
votes
1answer
117 views

LaunchKernels behavior

I have one processor with 2 cores on my local computer. CloseKernels[];LaunchKernels[] (* {"KernelObject"[1, "local"], "KernelObject"[2, "local"]} *) I can't ...
1
vote
0answers
89 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
125 views

Is there a way to specify which kernel is used to import files (SOLVED)? [closed]

Following up on a previous question in which I encountered a memory leak in the JSON importer I have created a SandBox script that will run the Import and analysis on a separate kernel, which be ...
3
votes
0answers
396 views

How many kernels to set based on CPU?

Looks like 4 kernels are enough? My CPU is i7 4790K as given here. Does it also depend on the tasks and the codes? My understanding is that regardless what the benchmark says, I could always use 8 ...
5
votes
2answers
346 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 Import...
0
votes
2answers
120 views

Parallel evaluation hangs before doing anything

[I use Mathematica 9.0.1.0 on OS X Yosemite 10.10.2.] I am experiencing difficulty with parallel evaluation that I am finding extremely perplexing to troubleshoot. I define the following function in ...
0
votes
1answer
57 views

How to set a shared variable Power (a modified one)?

Unprotect[Power]; Power[0|0., 0|0.] = 1 ; Protect[Power]; Table[0^0, {i, 5}] No problem at all. ParallelTable[0^0, {i, 5}] ...
3
votes
1answer
960 views

Remote Kernel Setup: SSH fails with exit code 32512

I am having trouble with configuring parallel kernels. What I want to do is the following: run remote kernels on my home server to which I would like to connect from work using my laptop. Both ...
0
votes
1answer
4k views

How to use multiple core in evaluation?

Sorry if the question is very basic, that's because I am newbie in the Mathematica. Assume I have a module that is supposed to do a very very long calculation result = Table[0, {i, 100000000}]; f[...
7
votes
2answers
746 views

Communication between local kernels

this is my first post but you have already helped me so many times that I have to start by saying thanks a lot! I have a really long calculation to do, and I have used the Evaluation->Kernel ...
5
votes
0answers
516 views

Death of parallel sub-kernels

EDIT : Finally, the new Mathematica 10.0 seems to fix it. I have a little parallelization problem. I wrote a code to generate a quasicrystal by dynamical generation. Here the code: ...
4
votes
1answer
742 views

Parallel kernel and front end

I have a piece of code which looks like this: ParallelTable[ Monitor[ Table[ <code here> ,{i,i1,i2]; ,i]; ] so basically a ...
2
votes
1answer
248 views

Launching external program in background process with ParallelSubmit

I work on the implementation of an image processing pipeline in Mathematica in which I also would like to use external programs to do certain processing steps. As an example I have macros for the ...
4
votes
0answers
952 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
521 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 ...
13
votes
0answers
4k views

Threads vs Cores: How many kernels need to launch in parallel Mathematica?

I have a dual-core intel machine. I would like to test how many parallel local kernels should be launch to get the optimized performance. Knowing that the HyperThreading technology of Intel could run ...
-3
votes
1answer
257 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 ...
5
votes
1answer
552 views

Why is $ProcessorCount different than the selected number of cores in PBS?

By using ParallelTable and submitting my Mathematica code to a cluster, I noticed that it was enhancing the speed even when I selected a single core in a single ...
12
votes
3answers
378 views

Suspecting bug in Parallel Framework

I've reduced my actual problem to: ParallelEvaluate[ Module[{slot=1}, Slot[slot] ] ] gives error messages that I think shouldn't be there. It seems I can ...