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

[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory   -  
[   ]sc.m 2015-02-07 13:28 34K 
[   ]plot.m 2015-02-07 10:32 957  
[   ]job_output 2015-02-07 13:28 89  
[   ]helloWorld.nb 2013-10-25 20:20 136  
[   ]helloWorld.m 2015-02-07 10:07 482  
[   ]abc3.m 2015-02-07 13:28 11K 
[   ]abc2.m 2015-02-07 13:28 7.2K 
[   ]abc1.m 2015-04-01 12:25 3.5K 
[TXT]TextPlotJob 2015-02-07 13:21 385  
[   ]TextPlot.m 2015-02-07 13:28 574  
[TXT]Readme 2014-06-06 12:06 1.4K 
[TXT]PlotJob 2015-02-07 10:30 384  
[TXT]Mathjob 2015-02-07 10:04 376  

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