Index of /examples/mathematica/examples/ex01-helloworld

Icon  Name                    Last modified      Size  Description
[DIR] Parent Directory - [   ] job_output 07-Feb-2015 13:28 89 [   ] helloWorld.nb 25-Oct-2013 20:20 136 [   ] Mathjob 07-Feb-2015 10:04 376 [   ] PlotJob 07-Feb-2015 10:30 384 [   ] TextPlotJob 07-Feb-2015 13:21 385 [   ] helloWorld.m 07-Feb-2015 10:07 482 [   ] TextPlot.m 07-Feb-2015 13:28 574 [   ] plot.m 07-Feb-2015 10:32 957 [   ] Readme 06-Jun-2014 12:06 1.4K [   ] abc1.m 01-Apr-2015 12:25 3.5K [   ] abc2.m 07-Feb-2015 13:28 7.2K [   ] abc3.m 07-Feb-2015 13:28 11K [   ] sc.m 07-Feb-2015 13:28 34K

RCS sample Mathematica code

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!"]
> $VersionNumber

To exit the program, type Quit at the prompt.

Batch execution:

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

Contact Information

Katia Oleinik: koleinik@bu.edu
RCS help: help@scc.bu.edu

Helpful Links:

RCS: Mathematica Basics
Running Jobs on the SCC