Updated 2021-05-17
Running Maple Interactively on the Cluster¶
Overview¶
- Running Maple is very similiar to any other interactive program. First, you must setup the vnc session, then open Maple from the terminal.
- Maple requires Matlab to be loaded, so you must load the matlab module and maple module in order to use maple.
- In a Maple worksheet/document, you must set the num of cpus to the num of cpus you requested
Set up Interactive (VNC) Session¶
- Please see the VNC guide for instructions on how to set up the Interactive VNC session
Start Maple on VNC¶
- Open terminal in the vnc window by clicking top left
Applications
>System Tools
> scroll down toterminal
- all commands here on will be typed in terminal in VNC
- To see available versions of maple run
module avail maple
- However, if you are loading
maple/18
, you must load thematlab/r2016a
module first
#Load Maple dependency (matlab) and load maple
module load matlab/r2016a
module load maple/18
- Start Maple: run
xmaple
Setting CPU Number¶
- Once you have loaded a worksheet/ document, you must set the number of cpus to the number of cpus you requested when submitting the vnc job
- In Maple, use the command
kernalopts(numcpus=x)
where x is the number of cpus you requested.