Shared Memory Interface - Utilities

Summary
Shared Memory Interface - Utilities
Files
tnt_shmem_util.h
Functions
tnt_shmem_get_rankRetrieve the linear rank of current node.
tnt_shmem_get_sizeRetrieve the number of processors running in the current job.

Files

tnt_shmem_util.h

Functions

tnt_shmem_get_rank

size_t tnt_shmem_get_rank()

Description

Retrieve the linear rank of current node.  Reentrant.

Returns

Node rank.

tnt_shmem_get_size

size_t tnt_shmem_get_size()

Description

Retrieve the number of processors running in the current job.  Reentrant.

Returns

Number of processors.

size_t tnt_shmem_get_rank()
Retrieve the linear rank of current node.
size_t tnt_shmem_get_size()
Retrieve the number of processors running in the current job.