Starting to use this...
This commit was SVN r6836.
Этот коммит содержится в:
родитель
58f7c3abfb
Коммит
9947c71aa2
@ -17,3 +17,15 @@
|
|||||||
include $(top_srcdir)/config/Makefile.options
|
include $(top_srcdir)/config/Makefile.options
|
||||||
|
|
||||||
SUBDIRS = sys
|
SUBDIRS = sys
|
||||||
|
|
||||||
|
noinst_HEADERS = \
|
||||||
|
constants.h
|
||||||
|
|
||||||
|
# Conditionally install the header files
|
||||||
|
|
||||||
|
if WANT_INSTALL_HEADERS
|
||||||
|
ompidir = $(includedir)/openmpi/opal/include
|
||||||
|
ompi_HEADERS = $(noinst_HEADERS)
|
||||||
|
else
|
||||||
|
ompidir = $(includedir)
|
||||||
|
endif
|
||||||
|
29
opal/include/constants.h
Обычный файл
29
opal/include/constants.h
Обычный файл
@ -0,0 +1,29 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (c) 2004-2005 The Trustees of Indiana University.
|
||||||
|
* All rights reserved.
|
||||||
|
* Copyright (c) 2004-2005 The Trustees of the University of Tennessee.
|
||||||
|
* All rights reserved.
|
||||||
|
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||||
|
* University of Stuttgart. All rights reserved.
|
||||||
|
* Copyright (c) 2004-2005 The Regents of the University of California.
|
||||||
|
* All rights reserved.
|
||||||
|
* $COPYRIGHT$
|
||||||
|
*
|
||||||
|
* Additional copyrights may follow
|
||||||
|
*
|
||||||
|
* $HEADER$
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef OPAL_CONSTANTS_H
|
||||||
|
#define OPAL_CONSTANTS_H
|
||||||
|
|
||||||
|
/* error codes */
|
||||||
|
|
||||||
|
#define OPAL_SUCCESS 0
|
||||||
|
#define OPAL_ERROR -1
|
||||||
|
#define OPAL_ERR_OUT_OF_RESOURCE -2
|
||||||
|
#define OPAL_ERR_IN_ERRNO -3
|
||||||
|
#define OPAL_ERR_NOT_FOUND -4
|
||||||
|
|
||||||
|
#endif /* OPAL_CONSTANTS_H */
|
||||||
|
|
Загрузка…
x
Ссылка в новой задаче
Block a user