makeIps: Create IP addresses for network cluster

View source: R/makeClusters.R

makeIpsForNetworkClusterR Documentation

Create IP addresses for network cluster

Description

makeIpsForNetworkCluster is a simple wrapper around makeIps.

Usage

makeIpsForNetworkCluster(
  ipStart = "10.20.0",
  ipEnd = c(68, 97, 189, 213, 220, 58, 106, 184, 217),
  availableCores = c(50, 50, 50, 50, 50, 50, 23, 23, 23),
  availableRAM = c(950, 500, 500, 500, 500, 500, 245, 245, 245),
  nProcess = 8,
  proc = "cores",
  internalProcesses = 10,
  sizeGbEachProcess = 35,
  localHostEndIp = 68
)

makeIps(machines, ipStart, proc, nProcess, sizeGbEachProcess)

Arguments

ipStart

Network address prefix (i.e., the first, second, and third triplets of the IP address)

ipEnd

Host IP address identifier (i.e., the final triplet of the IP address)

availableCores

the number of available threads on each machine.

availableRAM

the available RAM on each machine in GB

nProcess

the number of processes

proc

one of "cores" or "ram", describing the limiting factor of the cluster computations

internalProcesses

DESCRIPTION NEEDED

sizeGbEachProcess

the size in GB of each process

localHostEndIp

the address in ipEnd corresponding to local host

machines

data.frame of compute node information containing the following columns: ipEnd, availableCores, availableRam

Value

A vector of IP addresses associated with each machine in the network cluster.


PredictiveEcology/pemisc documentation built on Sept. 19, 2022, 7 p.m.