MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Two Notebooks Open at the Same Time

  • To: mathgroup at
  • Subject: [mg97585] Re: Two Notebooks Open at the Same Time
  • From: dbreiss at
  • Date: Mon, 16 Mar 2009 04:24:10 -0500 (EST)
  • References: <20168557.1237028125335.JavaMail.root@m02> <>

There is an alterative approach if your Mathematica license allows you
to run more than a single kernel at a time.  Most Mathematica licenses
do allow this, certainly version 7 and above since they include
parallel computing on multiple kernels.

The approach is to add another kernel name under the Kernel
configuration options (the menu item "Evaluation>KernelConfiguration
Options...").  The details are slightly difficult to describe in a
short post, but the main idea is to "Add..."  a kernel (give it a name
different from "Local".

Then, if you want to run a computation in a notebook with that
additional kernel the additional kernel under the menu option
"Evaluation>Notebook's Kernel...".

That notebook will use only that kernel while all other notebooks in
your Mathematica session will use the default kernel.

I hope this helps....

David Reiss
A WorkLife FrameWork: Extending Mathematica's Reach....

On Mar 15, 6:28 am, Brett Champion <bre... at> wrote:
> On Mar 14, 2009, at 6:18 PM, David Park wrote:
> > That is a very interesting question.
> > Starting with Version 6 the Help page notebooks have their own  
> > internal
> > context and don't interfere with notebooks in the Global` context. So
> > perhaps it ought to be able to have a notebook set its own context.  
> > But I
> > have no idea how to do this and I hope your question will elicit  
> > some useful
> > responses from WRI or some expert.
> [I'm NOT an expert on this stuff, but...]
> "Evaluation" > "Notebook's Default Context" is probably useful,  
> especially the "Unique to This Notebook" setting.
> Brett Champion
> > David Park
> > djmp... at
> >
> > From: Gregory Lypny [ at]
> > Hello everyone,
> > Is it possible to have more than one notebook active at a time, that
> > is, so that the variables of one do not conflict with variables in
> > another whose names are the same.  I notice that when I open a
> > Mathematica 7 notebook, under the Evaluation menu, the Default Kernel
> > is local, the Notebook's Kernel is local, and the Notebook's Default
> > Context is global.  Do I need to change anything?
> > Regards,
> >    Gregory

  • Prev by Date: Re: Two Notebooks Open at the Same Time
  • Next by Date: Re: Comparing Corresponding Columns of Two Matrices
  • Previous by thread: Re: Two Notebooks Open at the Same Time
  • Next by thread: Re: Two Notebooks Open at the Same Time