Mathematica

From FarmShare

(Difference between revisions)
Jump to: navigation, search
 
(One intermediate revision not shown)
Line 5: Line 5:
* I load Mathematica env vars:
* I load Mathematica env vars:
-
   module load Mathematica-9.0.1
+
   module load mathematica
 +
Check out the instructions for that module:
 +
<pre>
 +
$ module help mathematica
 +
 +
 +
------------------------------- Module Specific Help for "mathematica/9.0" --------------------------------
 +
This is Mathematica v9.0
 +
 +
call math for CLI
 +
call mcc for the compiler
 +
call Mathematica for the GUI
 +
</pre>
* I check which mathematica that points me to:
* I check which mathematica that points me to:
   which mathematica
   which mathematica
Line 13: Line 25:
   mathematica
   mathematica
 +
Or you can run 'math' for the CLI.
If you get a licensing error, check if you have a file ~/.Mathematica/Licensing, if you have a 'mathpass' file there, delete it.
If you get a licensing error, check if you have a file ~/.Mathematica/Licensing, if you have a 'mathpass' file there, delete it.
 +
 +
We've had a report of Mathematica crashing on startup, and moving aside (or deleting) the .Mathematica directory in your homedir also resolved that.

Latest revision as of 11:55, 11 June 2014

Using Mathematica on Farmshare:

  • I ssh with X11 forwarding:
 ssh -X chekh@corn.stanford.edu
  • I load Mathematica env vars:
 module load mathematica

Check out the instructions for that module:

$ module help mathematica


------------------------------- Module Specific Help for "mathematica/9.0" --------------------------------
This is Mathematica v9.0

call math for CLI
call mcc for the compiler
call Mathematica for the GUI
  • I check which mathematica that points me to:
 which mathematica
  • I run mathematica GUI:
 mathematica

Or you can run 'math' for the CLI.

If you get a licensing error, check if you have a file ~/.Mathematica/Licensing, if you have a 'mathpass' file there, delete it.

We've had a report of Mathematica crashing on startup, and moving aside (or deleting) the .Mathematica directory in your homedir also resolved that.

Personal tools
Toolbox
LANGUAGES