Changes between Version 24 and Version 25 of cypress/R


Ignore:
Timestamp:
09/16/22 16:19:37 (2 years ago)
Author:
bstreicher
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • cypress/R

    v24 v25  
    135135'''For Workshop''' :
    136136If you use a temporary workshop account, modify the SLURM script like:
    137 {{{#!bash
     137{{{#!sh
    138138#!/bin/bash
    139139#SBATCH --partition=workshop    # Partition
     
    190190The above script will obtain the number of tasks per node via the SLURM environment variable '''SLURM_CPUS_PER_TASK''' set in our SLURM script and will pass that value to the '''registerDoParallel( )''' function. To implement this we need only set the correct parameters in our SLURM script. Suppose we wanted to use 16 cores. Then the correct SLURM script would be as follows.
    191191
    192 {{{#!bash
     192{{{#!sh
    193193#!/bin/bash
    194194#SBATCH --qos=normal            # Quality of Service
     
    206206'''For Workshop''' :
    207207If you use a temporary workshop account, modify the SLURM script like:
    208 {{{#!bash
     208{{{#!sh
    209209#!/bin/bash
    210210#SBATCH --partition=workshop    # Partition
     
    279279Note the use of '''args<-commandArgs(TRUE)''' and of '''as.integer(args[1])'''. This allows us to pass in a value from the command line when we call the script and the number of cores will be set to that value. Using the same basic submission script as last time, we need only pass the value of the correct SLRUM environment variable to the script at runtime.
    280280
    281 {{{#!bash
     281{{{#!sh
    282282#!/bin/bash
    283283#SBATCH --qos=normal            # Quality of Service
     
    295295'''For Workshop''' :
    296296If you use a temporary workshop account, modify the SLURM script like:
    297 {{{#!bash
     297{{{#!sh
    298298#!/bin/bash
    299299#SBATCH --partition=workshop    # Partition