It can be frustrating when running multi core jobs on PBS like systems to remember to change the number of cores used in both the script file that starts the run, and the R script that has the code.
If a value for n_cores is not provided, check the environment variables for commonly used settings on job submission platforms (is PBSPro, SLURM etc) and set the n_cores to that value.
It can be frustrating when running multi core jobs on PBS like systems to remember to change the number of cores used in both the script file that starts the run, and the R script that has the code.
If a value for n_cores is not provided, check the environment variables for commonly used settings on job submission platforms (is PBSPro, SLURM etc) and set the n_cores to that value.