#BSUB -L /bin/bash # uses the bash login shell to initialize the job's execution environment. #BSUB -J kmergenie # job name #BSUB -n 4 # assigns 4 cores for execution #BSUB -R "span[ptile=4]" # assigns 4 cores per node #BSUB -R "rusage[mem=1000]" # reserves 1000MB memory per core #BSUB -M 1000 # sets to 1,000MB (~1GB) per process enforceable memory limit. (M * n) #BSUB -W 1:00 # sets to 1 hour the job's runtime wall-clock limit. #BSUB -o stdout.%J # directs the job's standard output to stdout.jobid #BSUB -e stderr.%J # directs the job's standard error to stderr.jobid module load KmerGenie/1.6982-intel-2015B-Python-2.7.10 < read_files kmergenie ./read_files -k $kmer_largest -l $kmer_smallest -s $kmer_step -t $threads -o $output_prefix <