Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
A R qsub script using MKL-compiled R
#!/bin/bash -l
#PBS -l ncpus=4
source /etc/profile.d/modules.sh
module load R/MKL/MP
export OMP_NUM_THREADS=4
cd $PBS_O_WORKDIR
R --vanilla < myprog.R > myprog.Rout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.