Difference between revisions of "Maple"
m |
|||
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| | {{AppVersion|2021}} | ||
{{AuthorizedUsers}} | {{AuthorizedUsers}} | ||
Line 10: | Line 10: | ||
*Workstation/PC | *Workstation/PC | ||
{{AppModule|apps/maple/ | {{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/ | *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/ | ** 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/ | * 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/ | ** 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/ | # 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/ | * 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/ | ** 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 | You should be able to launch Maple by double clicking on the Maple 2021 icon in the Applications/Maple 2021 directory. | ||
{{AppRunningOnAll}} | {{AppRunningOnAll}} | ||
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/ | <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> | ||
Line 119: | Line 119: | ||
module purge | module purge | ||
module load apps/maple/ | module load apps/maple/2021 | ||
maple < test.mpl</pre> | maple < 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/ | **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/ |
Revision as of 21:40, 9 May 2022
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 holdersRRA
account holdersSC
account holders
Platforms
CIRCE
clusterRRA
clusterSC
cluster- Workstation/PC
Modules
Maple requires the following module file to run:
apps/maple/2021
- See Modules for more information.
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:
- Exit all programs, especially Maple and Excel
- Ensure that you have administrator privileges
- 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: Maple2021/.0WindowsX64Installer.exe
- Double-click on the Maple installation executable to start it.
- At the Introduction page, click Next.
- Accept the License Agreement, then click Next.
- Specify where you would like Maple to be installed, 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.
- Type in the license information specifying: license0.rc.usf.edu and port 27000, then click Next.
- Confirm the installation details displayed, then click Install.
- Once the installation exits, it should give you a set of instructions on how to start Maple in graphical and console modes. Click Next.
- 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:
- Exit all programs, especially Maple
- 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: Maple2021.0LinuxX64Installer.run
- Open a terminal and become root on your machine via the 'su' command.
- Run the installation wizard by:
sh /path/to/installer.bin
- At the Introduction page, 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/maple2021
- 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
- Type in the license information specifying: license0.rc.usf.edu and port 27000, then click Next
- Confirm the installation details displayed, then click Install
- Once the installation exits, it should give you a set of instructions on how to start Maple in graphical and console modes. Click Next
- Click “Done” to exit the installer
- 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:
- Exit all programs, especially Maple
- 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: Maple2021.0MacInstaller.dmg
- Double-click on the installer. Supply the administrative password if asked.
- At the Introduction page, click Next.
- Accept the License Agreement, then click Next.
- Specify where you would like Maple to be installed, 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.
- Type in the license information specifying: license0.rc.usf.edu and port 27000, then click Next.
- Confirm the installation details displayed, then click Install.
- Once the installation exits, it should give you a set of instructions on how to start Maple in graphical and console modes. Click Next.
- 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 20 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
- If connecting from OSX or Linux via SSH, please ensure that you use one of the following commands to properly redirect X11:
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 20 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.
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
- Maple Home Page:
- Maple User Guide:
- Maple Documentation:
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