#BSUB-q M # Job queue #BSUB-c 30 # Time limit in minutes #BSUB-M 128000 # Memory requirements in Kbytes #BSUB-o job.output # output is sent to file job.output #BSUB-J fortran # name of the job # My instructions # Changing to the directory where my program is cd cd programs # Compilation of the program f90 -O3 -fastsse -o run program.f # And we run it; output is redirected to the file 'data/output' run data/file1 > data/output # Show the size of the outputfile, and remove the executable ls -l data/output rm run