What kind of Mathematica program file do I need if I want to submit a batch job?
You will need to submit a text file composed of the necessary Mathematica input commands when you want to run your program in batch mode. • •–> If you have Mathematica commands stored in a notebook (.nb file) that you would like to transfer it to an infile that can be run in batch mode, you can use one of Mathematica’s front end features to help you. 1. Select the cell or set of cells that contain the commands you wish to be written to the infile text file. 2. These cells will be defined as initialization cells by clicking on Cell > Cell Properties > Initialization Cell in the menu bar. 3. Now Mathematica can generate a text file by clicking on File > Save as Special > Package Format. A dialog box will appear prompting you to give the file a name and location. You can use this Package Format file as the infile for your Mathematica batch job. • •–> It is sometimes useful that you make some changes to the input file: 1. The first command of the input file needs to be the following. Thi