
You can monitor the job with the 'qstat -u username', where 'username' is the name you login with. Submit this job with 'qsub myfile.job' if 'myfile.job' is the name of that 4 line example above. In this case 'test_code.m' is your input file that you just saved, and test-output.m is where the output will go (that is later read by Mathematica). sw/csc/Mathematica/9.0/Executables/math test-output.m # This next line makes sure it only uses the cores (ppn) allocated to it

Save as “Mathematica Package” which will have a. If you don't do this, the program will run, but not actually execute any of your cells! Control-A), then under the 'Cell' menu, go to 'Cell Properties' and check so that 'Initialization cell' is on. Take your mathematica file (.nb) and add to the topĪppendTo (this will echo your input commands - if you don't need/want to see them, you can leave out this step) To use Mathematica on the cluster, the job should not require input from you - as it will be running indepdentenly on a node.
