Difference between revisions of "MAPLE Guide"

From Storrs HPC Wiki
Jump to: navigation, search
Line 1: Line 1:
{{Delete| We do not have the license for the version that is oder than 17. The new software will be installed per the users' request.}}
+
{{Delete| We do not have the license for the version that is oder than 20.0. The new software will be installed per the users' request.}}
 
= Loading MAPLE module =
 
= Loading MAPLE module =
  
 
To load the MAPLE module type :
 
To load the MAPLE module type :
  module load maple/16
+
  module load maple/2020.0
 
This will need to be done every time you login.
 
This will need to be done every time you login.
  
 
If you want to have the module loaded automatically, type  
 
If you want to have the module loaded automatically, type  
  module initadd maple/16
+
  module initadd maple/2020.0
 
The next time you login, the MAPLE module will be loaded.
 
The next time you login, the MAPLE module will be loaded.
  
Line 36: Line 36:
  
 
To run an interactive MAPLE session, you will want to do the following:
 
To run an interactive MAPLE session, you will want to do the following:
  [NetID@cn65 ~]$ module load maple/16
+
  [NetID@cn01 ~]$ module load maple/2020.0
  [NetID@cn65 ~]$ fisbatch -c12 -p Westmere --exclusive
+
  [NetID@cn01 ~]$ fisbatch -c12 -p general --exclusive
 
  FISBATCH -- the maximum time for the interactive screen is limited to 6 hours. You can add QoS to overwrite it.
 
  FISBATCH -- the maximum time for the interactive screen is limited to 6 hours. You can add QoS to overwrite it.
  FISBATCH -- waiting for JOBID 20248 to start on cluster=cluster and partition=Westmere
+
  FISBATCH -- waiting for JOBID 20248 to start on cluster=cluster and partition=general
 
  !
 
  !
 
  FISBATCH -- Connecting to head node (cn42)
 
  FISBATCH -- Connecting to head node (cn42)
  [xxx00000@cn42 ~]$ maple
+
  [xxx00000@cn342 ~]$ maple
 
  ... # here will be the interactive commands with maple
 
  ... # here will be the interactive commands with maple
  [xxx00000@cn42 ~]$ exit
+
  [xxx00000@cn342 ~]$ exit
 
  [screen is terminating]
 
  [screen is terminating]
  Connection to cn42 closed.
+
  Connection to cn342 closed.
 
  FISBATCH -- exiting job
 
  FISBATCH -- exiting job
 
'''NOTE:''' please '''DO NOT FORGET''' to '''EXIT''' from the nodes so that the other users can use it.
 
'''NOTE:''' please '''DO NOT FORGET''' to '''EXIT''' from the nodes so that the other users can use it.
  [NetID@cn42 ~]$ maple
+
  [NetID@cn342 ~]$ maple
 
'''NOTE:''' *any* interruption to the network will cause your job to crash irrecoverably.
 
'''NOTE:''' *any* interruption to the network will cause your job to crash irrecoverably.
  

Revision as of 08:32, 9 July 2020

This page is out of date and will be deleted:

We do not have the license for the version that is oder than 20.0. The new software will be installed per the users' request.


Loading MAPLE module

To load the MAPLE module type :

module load maple/2020.0

This will need to be done every time you login.

If you want to have the module loaded automatically, type

module initadd maple/2020.0

The next time you login, the MAPLE module will be loaded.

Submitting a maple program files

For normal (non threaded) maple programs simply issue with the submission script, mapleSP.sh:

#!/bin/bash
#SBATCH -i my_program_file 
#SBATCH -o my_output_file 

maple

Then, submit it via sbatch:

$ sbatch mapleSP.sh

Note, if your program uses [multiple threads ], you need to reserve extra cores up to a maximum of 12. Say your program uses 12 threads. The submission script, mapleMP.sh:

#!/bin/bash
#SBATCH -i my_program_file 
#SBATCH -o my_output_file 
#SBATCH -c 12 # You can assign different number of cores, but the maximum number of cores will be 12 cores.
#SBATCH --exclusive # use exculsive mode

maple

Then, submit it via sbatch:

$ sbatch mapleMP.sh

Interactive MAPLE use with SLURM (not recomended)

NOTE: *any* interruption to the network will cause your job to crash irrecoverably.

To run an interactive MAPLE session, you will want to do the following:

[NetID@cn01 ~]$ module load maple/2020.0
[NetID@cn01 ~]$ fisbatch -c12 -p general --exclusive
FISBATCH -- the maximum time for the interactive screen is limited to 6 hours. You can add QoS to overwrite it.
FISBATCH -- waiting for JOBID 20248 to start on cluster=cluster and partition=general
!
FISBATCH -- Connecting to head node (cn42)
[xxx00000@cn342 ~]$ maple
... # here will be the interactive commands with maple
[xxx00000@cn342 ~]$ exit
[screen is terminating]
Connection to cn342 closed.
FISBATCH -- exiting job

NOTE: please DO NOT FORGET to EXIT from the nodes so that the other users can use it.

[NetID@cn342 ~]$ maple

NOTE: *any* interruption to the network will cause your job to crash irrecoverably.

To run an interactive MAPLE session with GUI, you should "ssh -X" to the cluster from a Linux machine or iOS matchine with X11 enabled. Or please follow the X Apps. Then, run the above commands.