---
name: "CLOG_csync"
section: "4"
platform: "linux"
package: "mpi-doc"
version: "1.2.7-9.1"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/CLOG_csync"
---

# CLOG\_csync(4)

synchronize clocks for adjusting times in merge

## NAME

CLOG\_csync -  synchronize clocks for adjusting times in merge

## SYNOPSIS

```
void CLOG_csync( root, diffs )
int root;
double diffs[];
```

This version is sequential and non-scalable.  The root process serially synchronizes with each slave, using the first algorithm in Gropp, "Scalable clock synchronization on distributed processors without a common clock". The array is calculated on the root but broadcast and returned on all processes.

## INOUT PARAMETERS

- **root**

  \- process to serve as master

- **timediffs**

  \- array of doubles to be filled in

## LOCATION

clog\_merge.c
