You can use any text editor to make the appropriate input files for Mathematica.
To Run Mathematica from the UCLA Grid Portal
To run Mathematica in batch from the UCLA Grid Portal click on the Job Services tab. Then click on Applications. If you have access to a cluster that has Mathematica installed, you can run it on that cluster. Otherwise, you can always run Mathematica as a pool application. Enter the name of your Mathematica input files in the form that you have to fill out to run a Mathematica job.
To Run Mathematica from the Cluster Login Node using the Queue Scripts
The easiest way to run Mathematica in batch from the login node is to use the queue scripts. See Running a Batch Job on an ATS-Hosted Cluster for a discussion of the queue scripts and how they are used.
The following queue scripts are available for Mathematica:
- math.q
- Runs in serial or parallel.
To Run Mathematica from the Cluster Login Node Using SGE Comands
See Running a Batch Job on an ATS-Hosted Cluster for guidelines to follow to create the required SGE command file. Alternatively, you could create an SGE command file with one of the queue scripts listed above. After saving the command file, you can modify it if necessary. See Commonly-Used SGE Commands for a list of the most commonly used SGE commands.
To Run Mathematica Interactively from the UCLA Grid Portal
To run Mathematica interactively from the UCLA Grid Portal click on the Interactive tab. If you have access to a cluster that has Mathematica installed, you will see Mathematica listed under the cluster's name. Set your web browser to allow pop-up windows from the grid portal. Click on Mathematica under the name of the cluster. A pop-up window will appear with the Mathematica GUI inside of it.
To Run Mathematica Interactively from a Cluster Interactive Node
- To run mathematica interactively using its command line interface ssh to one of the interactive nodes and enter:
math- To run Mathematica interactively using its GUI intterface you must first connect to the cluster login node with X11 forwarding enabled. Enter:
mathematica