Introduction to the Mathematica Text Interface for UnixLinux

  • Slides: 12
Download presentation
Introduction to the Mathematica Text Interface for Unix/Linux Kernel Part 1 MCSR Math Camp

Introduction to the Mathematica Text Interface for Unix/Linux Kernel Part 1 MCSR Math Camp

Why Use the Text Interface? - If you don’t have access to Mathematica on

Why Use the Text Interface? - If you don’t have access to Mathematica on a Windows or Mac desktop - To run Mathematica in batch Mathematica is available on willow (Solaris) and cypress (Linux). Coming soon to mimosa (Linux)

Launching the Kernel: math From willow Solaris command line, type: math

Launching the Kernel: math From willow Solaris command line, type: math

Launching the Kernel: math From cypress Linux command line, type: math

Launching the Kernel: math From cypress Linux command line, type: math

Log in to willow A. Use secure Shell to login to willow using your

Log in to willow A. Use secure Shell to login to willow using your assigned training account ssh student@willow. mcsr. olemiss. edu B. Change directories to your numbered subdirectory: cd 30

Entering Mathematica Commands

Entering Mathematica Commands

Getting Rid of the Prompt math -noprompt

Getting Rid of the Prompt math -noprompt

Getting Commands from a File << file. nb

Getting Commands from a File << file. nb

Running a Batch File math –run “<< file. nb”

Running a Batch File math –run “<< file. nb”

Redirecting Output to a File

Redirecting Output to a File

Saving Plots to a File

Saving Plots to a File

More Information http: //support. wolfram. com/mathematica/kernel/features/batchfiles. en. html Standalone Mathematica Kernels: http: //reference. wolfram.

More Information http: //support. wolfram. com/mathematica/kernel/features/batchfiles. en. html Standalone Mathematica Kernels: http: //reference. wolfram. com/mathematica/guide/Standalone. Mathematica. Kernels. html "math" Mathematica Systems Program http: //reference. wolfram. com/mathematica/ref/program/math. html Quiting the Mathematica kernel: "Quit" http: //reference. wolfram. com/mathematica/ref/Quit. html Using a Text-Based Interface http: //reference. wolfram. com/mathematica/tutorial/Using. AText. Based. Interface. html Command-Line Options http: //documents. wolfram. com/mathematica/Getting. Started/System. Administration. Guide/Unix. Linux Administration/Command-Line. Options. On. Unix. And. Linux. html EMACS Interface for Mathematica http: //library. wolfram. com/infocenter/Math. Source/4567/ http: //www. uoregon. edu/~noeckel/Mathematica. html Univeristy of Buffalo Web Page on the Mathematica Kernel http: //wings. buffalo. edu/computing/Documentation/unix/mathematicakernel. html