Change Kernel Modes - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Configure Maple : Customize the Maple System : Configure the Maple Kernel : worksheet/reference/kernelmodes

Change Kernel Modes

  

Calculations in Maple are performed by a computational engine called the Maple kernel. The kernel also saves the values for worksheet variables. When you work with several worksheets in the same Maple session, you can run Maple in three different kernel modes: shared, parallel, and mixed. The default is parallel kernel mode.

 

Using the Graphical Interface to Change Kernel Mode

Start Maple Using Parallel Kernels

Start Maple Using a Shared Kernel

Start Maple Using Mixed Kernels

Notes

Using the Graphical Interface to Change Kernel Mode

  

For instructions on how to change the kernel mode using the graphical interface, see Mathematical Engine.

  

Note: Command-line instructions are provided in the following sections, which describe each mode and command-line option.

Start Maple Using Parallel Kernels

  

Run Maple using parallel kernels if you want variable assignments in one worksheet to work independently of those defined in other open worksheets. The percent character, %, refers to the result of the last computation by the kernel associated with the current worksheet.

• 

Append -km p to the operating system command line that loads Maple. This step is normally unnecessary because Maple runs using parallel kernels by default.

Start Maple Using a Shared Kernel

  

Run Maple using a shared kernel if you want variable assignments defined in one worksheet to apply to all open worksheets. In addition, the percent character, %, refers to the result of the last computation by the kernel regardless of the worksheet in which you performed the command.

• 

Append -km s to the operating system command line that loads Maple.

Start Maple Using Mixed Kernels

  

Run Maple using a mixed kernel if you want some worksheets to share a kernel and others to run using parallel kernels. Those sharing a kernel have the behavior described in Start Maple Using a Shared Kernel. Those using a parallel kernel have the behavior described in Start Maple Using Parallel Kernels.

  

Each time you open a new instance of Maple, a dialog will appear in which you can specify the kernel, either New or KernelConnection: Server # for all kernels that are currently active.

• 

Append -km q to the operating system command line that loads Maple.

Notes

• 

Documents opened from the MapleCloud are always run on their own, parallel kernel, even in shared kernel mode.  For information on opening worksheets in the MapleCloud, see Opening Shared MapleCloud Documents.  For more information on security settings for the MapleCloud, see Options Dialog - Security Tab.

See Also

Configure Maple

Create Maple Initialization File

Opening Shared MapleCloud Documents

Options Dialog

restart

The Maple Command and Command-line Options

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam