1
1
openmpi/oshmem/util/oshmem_util.h
Mike Dubman 0c2aa8abcd OSHMEM: Set SMA_SYMMETRIC_SIZE to default value
OpenSHMEMspec 1.1 introduces a set of environment variables that allows users to configure the Open-SHMEM implementation, and receive information about the implementation.
- Add SMA_SYMMETRIC_SIZE - number of bytes to allocate for symmetric heap
- SHMEM_SYMMETRIC_HEAP_SIZE (Mellanox extension) is used by a user to provide a size of symmetric area. This change sets this env variable in case a user does not set this variable
  directly.

fixed by Igor, reviewed by Miked

cmr=v1.8.2:reviwer=ompi-rm1.8

This commit was SVN r32257.
2014-07-17 17:53:15 +00:00

36 строки
934 B
C

/*
* Copyright (c) 2014 Mellanox Technologies, Inc.
* All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
*
* $HEADER$
*/
#ifndef OSHMEM_UTIL_H
#define OSHMEM_UTIL_H
#include "oshmem_config.h"
/*
* Environment variables
*/
#define OSHMEM_ENV_SYMMETRIC_SIZE "SMA_SYMMETRIC_SIZE"
#define OSHMEM_ENV_DEBUG "SMA_DEBUG"
#define OSHMEM_ENV_INFO "SMA_INFO"
#define OSHMEM_ENV_VERSION "SMA_VERSION"
void oshmem_output_verbose(int level, int output_id, const char* prefix,
const char* file, int line, const char* function, const char* format, ...);
/*
* Temporary wrapper which ingores output verbosity level
* to ensure error messages are seeing by user
*/
void oshmem_output(int output_id, const char* prefix, const char* file,
int line, const char* function, const char* format, ...);
#endif /* OSHMEM_UTIL_H */