Page tree
Skip to end of metadata
Go to start of metadata

Cannot find the information you're looking for? Make sure to consult the SURFsara Grid Wiki as well.

Local cluster infrastructure

Example of a PBS wrapper for R-script
#### The script below needs to be submitted using qsub

#PBS -l walltime=24:00:00,ncpus=64,mem=32gb 

function hms {
 local S=${1}
 printf "%dh:%dm:%ds\n" $h $m $s

    DATE1=$(date +%s)
    Rscript /data/home/johndoe/analysis/run1/my_awesome_script.r  
    DATE2=$(date +%s)
    echo "Time needed: " hms $[ $DATE2 - $DATE1 ]
    CURRENT_DIR=$(dirname "$0")


Grid infrastructure


External content

  • No labels