sge_parallel_execute: Generic execute command for SGE grids

sge_parallel_executeR Documentation

Generic execute command for SGE grids

Description

[Stable]

Character to be used with the cmd() function to launch a parallelised job on SGE.

Usage

sge_parallel_execute

sge_parallel_execute2

sge_parallel_execute_batch

Format

An object of class character of length 1.

An object of class character of length 1.

An object of class character of length 1.

Details

Requires cores and parafile fields to be set.

sge_parallel_execute2 doubles the amount slots taken by the job (e.g. to avoid hyperthreading).

sge_parallel_execute_batch eliminates pre-processing on master. Job submitted from compute node. This job will occupy one slot for the duration of the NONMEM run. node. Job pre-processed and submitted from a compute node

Value

A character object.

See Also

nm_getsetters().

Examples


# create example object m1 from package demo files
exdir <- system.file("extdata", "examples", "theopp", package = "NMproject")
m1 <- new_nm(run_id = "m1", 
             based_on = file.path(exdir, "Models", "ADVAN2.mod"),
             data_path = file.path(exdir, "SourceData", "THEOPP.csv")) %>%
  cmd(sge_parallel_execute) %>%
  parafile("/opt/NONMEM/nm75/run/mpilinux8.pnm") %>%
  cores(8)
  
cmd(m1)

m2 <- m1 %>% child("m2") ## inherits same command as above

sge_parallel_execute ## view the character to see how psn interfaces with SGE

NMproject documentation built on Sept. 30, 2022, 1:06 a.m.