#email address where the mail messages must be sent #PBS -M @epfl.ch #instruct the PBS to send a mail when the job: (b) start (e) finish #PBS -m be #Output and Error streams are redirected to a single stream (output file) #PBS -j oe #Name of the job #PBS -N #the job must run for ... hours. if you don't specify this parameter #the job will be stopped after 1 hour #PBS -l cput=2:00:00 #the job need this amount of memory (uncomment to activate) # #PBS -l mem=1024mb # just to know where the problems shows up echo "Process running on: " $(hostname) echo "Time is: " $(date) # #cd to the directory wwhere your mathematica script is stored #before launching the program # #The mathematica script is just a list of commant that mathematica must #execute. #The output of the computatio will be written in the output file .o # # cd ~/$MATHEMATICA_WORK_DIR # command to start your program/programs /usr/local/bin/math <