1
1

Moved ident lines to ompi_mpi_init.c and created new ompi_version_string

variable.

This commit was SVN r18345.
Этот коммит содержится в:
Terry Dontje 2008-05-01 15:06:10 +00:00
родитель 1766442591
Коммит 8dd0421015
3 изменённых файлов: 13 добавлений и 9 удалений

Просмотреть файл

@ -10,7 +10,7 @@
* Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 2007 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2007 Sun Microsystems, Inc. All rights reserved.
* Copyright (c) 2007-2008 Sun Microsystems, Inc. All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -26,14 +26,6 @@
#include "ompi/mpi/c/bindings.h"
#include "ompi/constants.h"
#if OMPI_CC_USE_PRAGMA_IDENT
#pragma ident OMPI_IDENT_STRING
#elif OMPI_CC_USE_IDENT
#ident OMPI_IDENT_STRING
#else
static const char ident[] = OMPI_IDENT_STRING;
#endif
#if OMPI_HAVE_WEAK_SYMBOLS && OMPI_PROFILING_DEFINES
#pragma weak MPI_Init = PMPI_Init
#endif

Просмотреть файл

@ -12,6 +12,7 @@
* Copyright (c) 2006-2007 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2007 Los Alamos National Security, LLC. All rights
* reserved.
* Copyright (c) 2008 Sun Microsystems, Inc. All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -64,6 +65,8 @@ OMPI_DECLSPEC extern bool ompi_mpi_maffinity_setup;
MPI_FINALIZE. */
OMPI_DECLSPEC extern opal_list_t ompi_registered_datareps;
/** version string of ompi */
OMPI_DECLSPEC extern const char ompi_version_string[];
/**
* Initialize the Open MPI MPI environment

Просмотреть файл

@ -13,6 +13,7 @@
* Copyright (c) 2006-2007 Los Alamos National Security, LLC. All rights
* reserved.
* Copyright (c) 2006 University of Houston. All rights reserved.
* Copyright (c) 2008 Sun Microsystems, Inc. All rights reserved.
*
* $COPYRIGHT$
*
@ -89,6 +90,14 @@
#include "ompi/runtime/ompi_cr.h"
#include "orte/runtime/orte_globals.h"
#if OMPI_CC_USE_PRAGMA_IDENT
#pragma ident OMPI_IDENT_STRING
#elif OMPI_CC_USE_IDENT
#ident OMPI_IDENT_STRING
#endif
const char ompi_version_string[] = OMPI_IDENT_STRING;
/*
* Global variables and symbols for the MPI layer
*/