WOLFRAM

How do I uninstall grid Mathematica Server?

grid Mathematica Server when installed on a compute node consists of Mathematica without its documentation, a Tomcat server and a new user account that runs the Tomcat server. These can be removed if they’re no longer necessary on a compute node or machine.

Please back up anything you have saved to these directories before removing them.

Windows

To uninstall grid Mathematica Server, first stop the Wolfram Lightweight Grid Manager service:

  1. Start the Services application.
  2. Locate the Wolfram Lightweight Grid Manager service toward the top of the list.
  3. Right-click it and select Stop to stop the service.

grid Mathematica Server can then be uninstalled similarly to other programs on Windows in Windows 10 and previous versions.

After uninstalling grid Mathematica Server this way, the Tomcat server and user account will still remain. To ensure that grid Mathematica Server is completely uninstalled on your computer, remove:

  • Folder: C:\Program Files\Wolfram Research\gridMathematica Server
  • The user account associated with grid Mathematica Server, typically “wolframgrid”

 

macOS

To uninstall grid Mathematica Server, first stop the Wolfram Lightweight Grid Manager service:

sudo launchctl unload /Library/LaunchDaemons/com.wolfram.lightweightGridManager.plist

Then remove:

  • Service entry: /Library/LaunchDaemons/com.wolfram.lightweightGridManager.plist
  • Folder: /Applications/gridMathematicaServer.app/
  • The user account associated with grid Mathematica Server, typically “wolframgrid”

 

Linux

grid Mathematica version 12.1.1+

To uninstall grid Mathematica Server, run the uninstall-lwg-support.sh script and then delete the installation directory. The script can be found in your $InstallationDirectory. By default, <installation directory> is “/usr/local/Wolfram/gridMathematicaServer/12.1”.

  1. Navigate to the directory that contains the uninstall script:
    cd <installation directory>
    cd SystemFiles/RemoteServices/SystemFiles/Unix
    
  2. Pass -u option to delete the user account associated with grid Mathematica Server. By default, <username> is “wolframgrid”:
    sudo ./uninstall-lwg-support.sh -u <username>
    
  3. Delete the installation directory:
    sudo rm -r /usr/local/Wolfram/gridMathematicaServer/12.1
    

Legacy grid Mathematica versions

To uninstall grid Mathematica versions before 12.1.1, remove:

  • Folder: /usr/local/Wolfram/gridMathematicaServer/
  • The user account associated with grid Mathematica Server, typically “wolframgrid”

Is this article helpful?
Yes
No

Any comments?

Thank you for your feedback.

Submit

Contact Support

Whether you have a question about billing, activation or something more technical, we are ready to help you.

1-800-WOLFRAM (+1-217-398-0700 for international callers)

Customer Support

Monday–Friday
8am–5pm US Central Time

  • Product registration or activation
  • Pre-sales information and ordering
  • Help with installation and first launch

Advanced Technical Support (for eligible customers)

Monday–Thursday
8am–5pm US Central Time

Friday
8:30–10am & 11am–5pm US Central Time

  • Priority technical support
  • Product assistance from Wolfram experts
  • Help with Wolfram Language programming
  • Advanced installation support