This directory contains a simple "Hello, World!" Mathematica script.
Interactive notebook execution:
Open helloWorld.nb notebook in Interactive Mathematica session: % mathematica helloWorld.nb &
To execute commands in notebook select menu command: Evaluation -: EvaluateNotebook
Interactive command-line execution:
Start Mathematica Kernel session: % math
At the kernel prompt, type: > Print["Hello, World!"]
To exit the program, type Quit at the prompt.
At the SCC prompt execute: % math -noprompt -run "<< helloWorld.m"
Submit Mathematica job:
This directory contains a simple Mathjob script, that when submitted to the queue will execute helloWorld.m script. To submit the job, type the following command at the SCC prompt: % qsub Mathjob
Users who are members of any Medical Campus projects must also include their project group name: % qsub -P scv Mathjob