...
Tufts operates licensing servers for the following applications. People using these applications can configure them to check licenses in and out from the Tufts license servers using the instructions outlined below:
- Abaqus
- Ansys
- Comsol
- Fluent
- Maple
- Mathematica
- Matlab
- TecPlot
...
The license servers are firewalled to only allow connections from within Tufts. If a user wishes to run one of these applications remotely they will need to use a VPN to connect to Tufts first, at which point they should be able to check out licenses.
1. FlexLM environment variables (Abaqus, Ansys, Comsol
...
, Matlab)
All remaining applications utilize environment variables for license management. How environment variables are set depends on the operating system the application is running on. Below are examples of how to set up system-wide environment variables on linux, OS X, and Windows. In each case the environment variables for all the above applications are included, but keep in mind that these are just samples. You may set these variables any way you see fit.
...
No Format |
---|
export ANSYSLMD_LICENSE_FILE=50000@lm02.uit.tufts.edu:50000@lm03.uit.tufts.edu:50000@lm01.uit.tufts.edu
export FLUENTLM_LICENSE_FILE=50001@lm02.uit.tufts.edu:50001@lm03.uit.tufts.edu:50001@lm01.uit.tufts.edu
export MLM_LICENSE_FILE=50002@lm02.uit.tufts.edu:50002@lm03.uit.tufts.edu:50002@lm01.uit.tufts.edu
export LMCOMSOL_LICENSE_FILE=50003@lm02.uit.tufts.edu:50003@lm03.uit.tufts.edu:50003@lm01.uit.tufts.edu
export ABAQUSLM_LICENSE_FILE=50005@lm02.uit.tufts.edu:50005@lm03.uit.tufts.edu:50005@lm01.uit.tufts.edu
|
...
No Format |
---|
setenv ANSYSLMD_LICENSE_FILE=50000@lm02.uit.tufts.edu:50000@lm03.uit.tufts.edu:50000@lm01.uit.tufts.edu
setenv FLUENTLM_LICENSE_FILE=50001@lm02.uit.tufts.edu:50001@lm03.uit.tufts.edu:50001@lm01.uit.tufts.edu
setenv MLM_LICENSE_FILE=50002@lm02.uit.tufts.edu:50002@lm03.uit.tufts.edu:50002@lm01.uit.tufts.edu
setenv LMCOMSOL_LICENSE_FILE=50003@lm02.uit.tufts.edu:50003@lm03.uit.tufts.edu:50003@lm01.uit.tufts.edu
setenv ABAQUSLM_LICENSE_FILE=50005@lm02.uit.tufts.edu:50005@lm03.uit.tufts.edu:50005@lm01.uit.tufts.edu
|
...
No Format |
---|
chmod a+rx /etc/profile.d/flexlm.* |
1b. Mac OS X
Note, this is only a how to example on the Mac. None of the software listed is available for the Mac.
OS X stores environment variables in the XML file ~/.MacOSX/environment.plist. If you have Apple's developer tools installed you can edit the file using the Property List Editor utility. Alternatively you can create this file yourself. The Finder will not let you create a directory that begins with a period so open up a terminal and execute the following:
...
No Format |
---|
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ANSYSLMD_LICENSE_FILE</key>
<string>50000@lm02.uit.tufts.edu:50000@lm03.uit.tufts.edu:50000@lm01.uit.tufts.edu</string>
<key>FLUENTLM_LICENSE_FILE</key>
<string>50001@lm02.uit.tufts.edu:50001@lm03.uit.tufts.edu:50001@lm01.uit.tufts.edu</string>
<key>MLM_LICENSE_FILE</key>
<string>50002@lm02.uit.tufts.edu:50002@lm03.uit.tufts.edu:50002@lm01.uit.tufts.edu</string>
<key>LMCOMSOL_LICENSE_FILE</key>
<string>50003@lm02.uit.tufts.edu:50003@lm03.uit.tufts.edu:50003@lm01.uit.tufts.edu</string>
<key>ABAQUSLM_LICENSE_FILE</key>
<string>50005@lm02.uit.tufts.edu:50005@lm03.uit.tufts.edu:50005@lm01.uit.tufts.edu</string>
</dict>
</plist>
|
...
No Format |
---|
set ANSYSLMD_LICENSE_FILE=50000@lm02.uit.tufts.edu;50000@lm03.uit.tufts.edu;50000@lm01.uit.tufts.edu
set FLUENTLM_LICENSE_FILE=50001@lm02.uit.tufts.edu;50001@lm03.uit.tufts.edu;50001@lm01.uit.tufts.edu
set MLM_LICENSE_FILE=50002@lm02.uit.tufts.edu;50002@lm03.uit.tufts.edu;50002@lm01.uit.tufts.edu
set LMCOMSOL_LICENSE_FILE=50003@lm02.uit.tufts.edu;50003@lm03.uit.tufts.edu;50003@lm01.uit.tufts.edu
set ABAQUSLM_LICENSE_FILE=50005@lm02.uit.tufts.edu;50005@lm03.uit.tufts.edu;50005@lm01.uit.tufts.edu
|
...
Simply save these four lines as the license.dat file and Maple will run.
3. Mathematica
Note, if you are installing ver. 7 only provide the name of the license server, lm02.uit.tufts.edu, to the installer and not the port number as list below for older versions. Version 7 will create the mathpass file and the include a line with the current port number.
Wolfram Mathematica does not rely on FlexLM but rather uses its own custom licensing system. Mathematica does not support redundant license servers, so it only makes use of lm02.uit.tufts.edu. To configure Mathematica to use this license server simply add the following to the mathpass file in your local Mathematica installation:
...