User Tools

Site Tools


sge:mathematica_batch

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

sge:mathematica_batch [2009/05/13 11:01] – created damirsge:mathematica_batch [2009/05/13 11:03] (current) damir
Line 2: Line 2:
  
  
-  * these instructions will teach you how to generate a script file from the graphical interface of Mathematica and then use it to execute the job using Mathematica inside the cluster. +  * These instructions will teach you how to generate a script file from the graphical interface of Mathematica and then use it to execute the job using Mathematica inside the cluster. 
-  * for the complete documet, please visit [[http://arxiv.org/pdf/cs/0604088| "How to Run Mathematica Batch-files in Background ?" by Santanu K. Maiti]]\\+  * For the complete document, please visit [[http://arxiv.org/pdf/cs/0604088| "How to Run Mathematica Batch-files in Background ?" by Santanu K. Maiti]]\\
  
 === The short version is: === === The short version is: ===
Line 10: Line 10:
   - Insert your formulas in the notebook (you can ask for the results, if you like)   - Insert your formulas in the notebook (you can ask for the results, if you like)
   - Select all the cells you want to use in the script and then click on //Cell -> Cell Properties -> Initialization Cell// from the Menu bar   - Select all the cells you want to use in the script and then click on //Cell -> Cell Properties -> Initialization Cell// from the Menu bar
-  - Click on //File -> Save As// and from the dialog window select **Mathematica Package (*.m)** from the //File of type// drop down menu.+  - Click on //File -> Save As// and dialog window will appear 
 +  - Select **Mathematica Package (*.m)** from the //File of type// drop down menu.
   - Once edited the name of the file, save it.   - Once edited the name of the file, save it.
 Now you'll have your Mathematica script file ready to be used, follow the standard instructions on the [[sge:]] page in order to do so. on the same page you'll find and example script to submit Mathematica scripts file to the cluster. Now you'll have your Mathematica script file ready to be used, follow the standard instructions on the [[sge:]] page in order to do so. on the same page you'll find and example script to submit Mathematica scripts file to the cluster.
  
  
sge/mathematica_batch.1242212519.txt.gz · Last modified: 2009/05/13 11:01 by damir