Personal tools

Difference between revisions of "Mathematica"

From MohidWiki

Jump to: navigation, search
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
==Linux==
 
==Linux==
Here's how to run in an external process a mathematica batch file in *nix systems.
+
Here's how to run in an external process a mathematica batch file in *nix systems. First, make sure you ''save'' the mathematica notebook file as ''special-->text''.
 
  > nohup nice math -noprompt -run "<<filecommand.m" > output.out &
 
  > nohup nice math -noprompt -run "<<filecommand.m" > output.out &
  
 
You'll receive a process id. You can check the processes that you ran by using the command
 
You'll receive a process id. You can check the processes that you ran by using the command
 
  > top
 
  > top

Latest revision as of 15:42, 5 March 2009

Linux

Here's how to run in an external process a mathematica batch file in *nix systems. First, make sure you save the mathematica notebook file as special-->text.

> nohup nice math -noprompt -run "<<filecommand.m" > output.out &

You'll receive a process id. You can check the processes that you ran by using the command

> top