R/init.r

Defines functions adios_init

#' @useDynLib hola hola_init
adios_init = function(config, comm)
{
  if (has_mpi())
  {
    if (is.null(comm))
      comm = 0L
    
    comm_ptr = pbdMPI::get.mpi.comm.ptr(comm)
  }
  else
    comm_ptr = NULL
  
  .Call(hola_init, config, comm_ptr)
}
RBigData/hola documentation built on Aug. 18, 2021, 4:28 p.m.