Message Boards Message Boards

0
|
7476 Views
|
2 Replies
|
1 Total Likes
View groups...
Share
Share this post:

Evaluate a single cell with a single kernel?

Posted 8 years ago

Hello,

I am wondering if it is possible, in a simple manner, to evaluate a cell with a given kernel and at the same time another cell with another kernel. All this independently from each other, so with no shared variables. I tried "Evaluate in Subsession" but this interrupts the current evaluation and it seems that there is interference with variables.

I make often calculations that last very long while there are resources available so why not use them. Of course, I could start a new instance of Mathematica, load the same notebook and evaluate another cell in it. The problem with this method is that any changes in one session of the notebook are not translated into the other so one has to be very careful to not lose any data.

Any suggestions?

POSTED BY: Ulrich Utiger
2 Replies
Posted 8 years ago

I was hoping that there is a simpler method like pushing just a button...

Anyway, thanks for your reply.

POSTED BY: Ulrich Utiger

The easiest way to do this kind of thing is to have two different notebooks which use different kernels.

You can change which kernel a notebook is using by going to Evaluation > Notebook's Kernel.

http://support.wolfram.com/kb/12425

Alternatively, you can make individual cells do stuff like this. It's not something I ever do though: http://mathematica.stackexchange.com/questions/31072/is-there-a-method-to-send-different-cell-evaluation-to-different-core

POSTED BY: Sean Clarke
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract