Difference between revisions of "Maple"

 
(2 intermediate revisions by one other user not shown)
Line 3: Line 3:
'''Maple''' is a software tool for mathematical computation. It has many features that are useful for students and research scientists as well as mathematicians. It has powerful tools for symbolic mathematics and algebraic computing. It can also do numerical computations and graphing.
'''Maple''' is a software tool for mathematical computation. It has many features that are useful for students and research scientists as well as mathematicians. It has powerful tools for symbolic mathematics and algebraic computing. It can also do numerical computations and graphing.


{{AppVersion|2020}}
{{AppVersion|2021}}


{{AuthorizedUsers}}
{{AuthorizedUsers}}
Line 10: Line 10:
*Workstation/PC
*Workstation/PC


{{AppModule|apps/maple/2020}}
{{AppModule|apps/maple/2021}}


== Installation ==
== Installation ==
Line 22: Line 22:
*Exit all programs, especially Maple and Excel
*Exit all programs, especially Maple and Excel
*Ensure that you have administrator privileges
*Ensure that you have administrator privileges
*Get the installation executable from https://mirror.rc.usf.edu/isos/Maple/maple2020/. Note: Log into the server using your NetID and password
*Get the installation executable from https://mirror.rc.usf.edu/isos/Maple/maple2021/. Note: Log into the server using your NetID and password
** Windows 64-bit: [https://mirror.rc.usf.edu/isos/Maple/maple2020/Maple2020.0WindowsX64Installer.exe Maple2020/.0WindowsX64Installer.exe]
** Windows 64-bit: [https://mirror.rc.usf.edu/isos/Maple/maple2021/Maple2021.0WindowsX64Installer.exe Maple2021.0WindowsX64Installer.exe]


# Double-click on the Maple installation executable to start it.
# Double-click on the Maple installation executable to start it.
Line 43: Line 43:


* Exit all programs, especially Maple
* Exit all programs, especially Maple
* Get the installation executable from https://mirror.rc.usf.edu/isos/Maple/maple2020/. Note: Log into the server using your NetID and password
* Get the installation executable from https://mirror.rc.usf.edu/isos/Maple/maple2021/. Note: Log into the server using your NetID and password
** Linux 64-bit: [https://mirror.rc.usf.edu/isos/Maple/maple2020/Maple2020.0LinuxX64Installer.run Maple2020.0LinuxX64Installer.run]
** Linux 64-bit: [https://mirror.rc.usf.edu/isos/Maple/maple2021/Maple2021.0LinuxX64Installer.run Maple2021.0LinuxX64Installer.run]


# Open a terminal and become root on your machine via the 'su' command.
# Open a terminal and become root on your machine via the 'su' command.
Line 50: Line 50:
# At the Introduction page, click Next
# At the Introduction page, click Next
# Accept the License Agreement, then click Next
# Accept the License Agreement, then click Next
# Specify where you would like Maple to be installed, then click Next. We recommend '''/usr/local/maple2020'''
# Specify where you would like Maple to be installed, then click Next. We recommend '''/usr/local/maple2021'''
# Specify whether or not you would like a shortcut installed on your desktop, then click Next
# Specify whether or not you would like a shortcut installed on your desktop, then click Next
# For the license type, Choose Network License and click Next
# For the license type, Choose Network License and click Next
Line 68: Line 68:


* Exit all programs, especially Maple
* Exit all programs, especially Maple
* Get the installation executable from https://mirror.rc.usf.edu/isos/Maple/maple2020/. Note: Log into the server using your NetID and password
* Get the installation executable from https://mirror.rc.usf.edu/isos/Maple/maple2021/. Note: Log into the server using your NetID and password
** Mac OS X: [https://mirror.rc.usf.edu/isos/Maple/maple2020/Maple2020.0MacInstaller.dmg Maple2020.0MacInstaller.dmg]
** Mac OS X: [https://mirror.rc.usf.edu/isos/Maple/maple2021/Maple2021.0MacInstaller.dmg Maple2021.0MacInstaller.dmg]


# Double-click on the installer. Supply the administrative password if asked.
# Double-click on the installer. Supply the administrative password if asked.
Line 82: Line 82:
# Click “Done” to exit the installer.
# Click “Done” to exit the installer.


You should be able to launch Maple by double clicking on the Maple 2020 icon in the Applications/Maple 2020 directory.
You should be able to launch Maple by double clicking on the Maple 2021 icon in the Applications/Maple 2021 directory.


{{AppRunningOnAll}}
{{AppRunningOnAll}}
Line 90: Line 90:
There are two ways to run Maple on CIRCE/SC, depending on the runtime of your particular job.
There are two ways to run Maple on CIRCE/SC, depending on the runtime of your particular job.


==== Jobs Shorter than 20 Minutes in Length ====
==== Jobs Shorter than 30 Minutes in Length ====


{{X11Connection}}
{{X11Connection}}
Line 96: Line 96:
Once connected to CIRCE/SC, you can open Maple using the steps below:
Once connected to CIRCE/SC, you can open Maple using the steps below:


<pre style="white-space:pre-wrap; width:40%; border:1px solid lightgrey; background:#000000; color:white;">[user@login0 ~]$ module add apps/maple/2020
<pre style="white-space:pre-wrap; width:40%; border:1px solid lightgrey; background:#000000; color:white;">[user@login0 ~]$ module add apps/maple/2021
[user@login0 ~]$ xmaple</pre>
[user@login0 ~]$ xmaple</pre>


==== Jobs Longer than 20 Minutes in Length ====
==== Jobs Longer than 30 Minutes in Length ====


To run Maple jobs on the CIRCE/SC clusters, users will need to submit their jobs to the scheduling environment if their jobs take more than 20 minutes to run on a standard PC.
To run Maple jobs on the CIRCE/SC clusters, users will need to submit their jobs to the scheduling environment if their jobs take more than 30 minutes to run on a standard PC.


If, for example, you have a Maple script file named test.mpl with all your functions defined in it, you would set up a submit script similar to the one below to use the Maple kernel:
If, for example, you have a Maple script file named test.mpl with all your functions defined in it, you would set up a submit script similar to the one below to use the Maple kernel:
Line 119: Line 119:


module purge
module purge
module load apps/maple/2020
module load apps/maple/2021


maple &lt; test.mpl</pre>
maple &lt; test.mpl</pre>
Line 135: Line 135:
**http://www.maplesoft.com
**http://www.maplesoft.com
*Maple User Guide:
*Maple User Guide:
**http://www.maplesoft.com/documentation_center/maple2020/UserManual.pdf
**http://www.maplesoft.com/documentation_center/maple2021/UserManual.pdf
*Maple Documentation:
*Maple Documentation:
**http://www.maplesoft.com/documentation_center/
**http://www.maplesoft.com/documentation_center/

Latest revision as of 15:27, 13 March 2023

Description

Maple is a software tool for mathematical computation. It has many features that are useful for students and research scientists as well as mathematicians. It has powerful tools for symbolic mathematics and algebraic computing. It can also do numerical computations and graphing.

Version

  • 2021

Authorized Users

  • CIRCE account holders
  • RRA account holders
  • SC account holders

Platforms

  • CIRCE cluster
  • RRA cluster
  • SC cluster
  • Workstation/PC

Modules

Maple requires the following module file to run:

  • apps/maple/2021

Installation

  • NOTE: If you are off-campus, you MUST be connected to the USF VPN (https://vpn.usf.edu) prior to installing/running Maple.

Windows Installation

Before starting the installation:

  1. Double-click on the Maple installation executable to start it.
  2. At the Introduction page, click Next.
  3. Accept the License Agreement, then click Next.
  4. Specify where you would like Maple to be installed, then click Next.
  5. Specify whether or not you would like a shortcut installed on your desktop, then click Next.
  6. For the license type, Choose Network License and click Next.
  7. Type in the license information specifying: license0.rc.usf.edu and port 27000, then click Next.
  8. Confirm the installation details displayed, then click Install.
  9. Once the installation exits, it should give you a set of instructions on how to start Maple in graphical and console modes. Click Next.
  10. Click “Done” to exit the installer.

Linux Single User Installation

Disclaimer: This procedure was tested on a Fedora machine. Your mileage may vary.

Before starting the installation:

  1. Open a terminal and become root on your machine via the 'su' command.
  2. Run the installation wizard by:
    sh /path/to/installer.bin
  3. At the Introduction page, click Next
  4. Accept the License Agreement, then click Next
  5. Specify where you would like Maple to be installed, then click Next. We recommend /usr/local/maple2021
  6. Specify whether or not you would like a shortcut installed on your desktop, then click Next
  7. For the license type, Choose Network License and click Next
  8. Type in the license information specifying: license0.rc.usf.edu and port 27000, then click Next
  9. Confirm the installation details displayed, then click Install
  10. Once the installation exits, it should give you a set of instructions on how to start Maple in graphical and console modes. Click Next
  11. Click “Done” to exit the installer
  12. Be sure the directory $MAPLE/bin is added to your path. Where $MAPLE is the installation directory from step 5)

You should be able to start xmaple or maple from the command line.

Mac OS X Single User Installation

Disclaimer: These are the standard instructions for a Mac OS X machine. Your mileage may vary.

Before starting the installation:

  1. Double-click on the installer. Supply the administrative password if asked.
  2. At the Introduction page, click Next.
  3. Accept the License Agreement, then click Next.
  4. Specify where you would like Maple to be installed, then click Next.
  5. Specify whether or not you would like a shortcut installed on your desktop, then click Next.
  6. For the license type, Choose Network License and click Next.
  7. Type in the license information specifying: license0.rc.usf.edu and port 27000, then click Next.
  8. Confirm the installation details displayed, then click Install.
  9. Once the installation exits, it should give you a set of instructions on how to start Maple in graphical and console modes. Click Next.
  10. Click “Done” to exit the installer.

You should be able to launch Maple by double clicking on the Maple 2021 icon in the Applications/Maple 2021 directory.

Running Maple on CIRCE/SC

The Maple user guide is essential to understanding the application and making the most of it. The guide and this page should help you to get started with your simulations. Please refer to the Documentation section for a link to the guide.

  • Note on CIRCE: Make sure to run your jobs from your $WORK directory!
  • Note: Scripts are provided as examples only. Your SLURM executables, tools, and options may vary from the example below. For help on submitting jobs to the queue, see our SLURM User’s Guide.

Submitting a Job

There are two ways to run Maple on CIRCE/SC, depending on the runtime of your particular job.

Jobs Shorter than 30 Minutes in Length

Establishing a GUI connection to CIRCE/SC

To use Maple, you will need to connect to CIRCE/SC with GUI redirection, either using:

  • CIRCE/SC Desktop Environment
  • SSH with X11 redirection
    • If connecting from OSX or Linux via SSH, please ensure that you use one of the following commands to properly redirect X11:
      • [user@localhost ~]$ ssh -X circe.rc.usf.edu
        or
      • [user@localhost ~]$ ssh -X sc.rc.usf.edu

Once connected to CIRCE/SC, you can open Maple using the steps below:

[user@login0 ~]$ module add apps/maple/2021
[user@login0 ~]$ xmaple

Jobs Longer than 30 Minutes in Length

To run Maple jobs on the CIRCE/SC clusters, users will need to submit their jobs to the scheduling environment if their jobs take more than 30 minutes to run on a standard PC.

If, for example, you have a Maple script file named test.mpl with all your functions defined in it, you would set up a submit script similar to the one below to use the Maple kernel:

  • The script below (for testing, name it “maple-test.sh”) can be copied into your job directory (the folder with your input files) and modified so that you can submit batch processes to the queue.
#!/bin/bash
#
#SBATCH --comment=maple-test
#SBATCH --ntasks=4
#SBATCH --job-name=maple-test
#SBATCH --output=output.%j.maple-test
#SBATCH --time=00:30:00

#### SLURM 4 processor Maple test to run for 30 minutes.

module purge
module load apps/maple/2021

maple < test.mpl

 
Next, you can change to your job’s directory, and run the sbatch command to submit the job:

[user@login0 ~]$ cd my/jobdir
[user@login0 jobdir]$ sbatch ./maple-test.sh
  • You can view the status of your job with the “squeue -u <username>” command.

Documentation

Home Page, User Guides, and Manuals


More Job Information

See the following for more detailed job submission information:

Reporting Bugs

Report bugs with Maple to the IT Help Desk: rc-help@usf.edu