Gromacs  2019-beta2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
multisim.cpp File Reference
#include "gmxpre.h"
#include "multisim.h"
#include "config.h"
#include "gromacs/gmxlib/network.h"
#include "gromacs/mdtypes/commrec.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/futil.h"
#include "gromacs/utility/smalloc.h"
+ Include dependency graph for multisim.cpp:

Description

Implements the multi-simulation support routines.

Author
Mark Abraham mark..nosp@m.j.ab.nosp@m.raham.nosp@m.@gma.nosp@m.il.co.nosp@m.m

Functions

gmx_multisim_t * init_multisystem (MPI_Comm comm, gmx::ArrayRef< const std::string > multidirs)
 Initializes multi-simulations. More...
 
void done_multisim (gmx_multisim_t *ms)
 Cleans up multi-system handler.
 

Function Documentation

gmx_multisim_t* init_multisystem ( MPI_Comm  comm,
gmx::ArrayRef< const std::string >  multidirs 
)

Initializes multi-simulations.

Splits the communication into multidirs.size() separate simulations, if >1, and creates a communication structure between the master these simulations.