Created
March 31, 2016 20:08
-
-
Save larsvilhuber/7f8085f3e1bcaef208cbaea5c57d2ef5 to your computer and use it in GitHub Desktop.
A R qsub script using MKL-compiled R
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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