George correctly pointed out that there's no need for this test: it
effectively exists elsewhere in the code already. This commit was SVN r30277.
Этот коммит содержится в:
родитель
e3f818ba87
Коммит
fbd70d7798
@ -17,10 +17,7 @@
|
||||
# $HEADER$
|
||||
#
|
||||
|
||||
noinst_LTLIBRARIES = \
|
||||
libdebuggers.la \
|
||||
libompi_debugger_canary.la \
|
||||
libompi_predefined_pad_canary.la
|
||||
noinst_LTLIBRARIES = libdebuggers.la libompi_debugger_canary.la
|
||||
ompilib_LTLIBRARIES = libompi_dbg_msgq.la
|
||||
|
||||
check_PROGRAMS = predefined_gap_test predefined_pad_test
|
||||
@ -85,9 +82,6 @@ predefined_pad_test_LDFLAGS = $(WRAPPER_EXTRA_LDFLAGS)
|
||||
predefined_pad_test_LDADD = $(top_builddir)/ompi/libmpi.la
|
||||
predefined_pad_test_DEPENDENCIES = $(ompi_predefined_LDADD)
|
||||
|
||||
libompi_predefined_pad_canary_la_SOURCES = \
|
||||
ompi_predefined_pad_canary.c
|
||||
|
||||
# Conditionally install the header files
|
||||
|
||||
if WANT_INSTALL_HEADERS
|
||||
|
@ -1,47 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2014 Cisco Systems, Inc. All rights reserved
|
||||
* $COPYRIGHT$
|
||||
*
|
||||
* Additional copyrights may follow
|
||||
*
|
||||
* $HEADER$
|
||||
*/
|
||||
|
||||
#include "ompi_config.h"
|
||||
|
||||
/*
|
||||
* This is a simple canary compile-time test. If we have no padding
|
||||
* left on predefined MPI object types, it'll fail to compile, thereby
|
||||
* alerting/annoying a human, who can go fix the real problem.
|
||||
*/
|
||||
|
||||
#include "ompi/communicator/communicator.h"
|
||||
#include "ompi/group/group.h"
|
||||
#include "ompi/request/request.h"
|
||||
#include "ompi/op/op.h"
|
||||
#include "ompi/datatype/ompi_datatype.h"
|
||||
#include "ompi/win/win.h"
|
||||
#include "ompi/info/info.h"
|
||||
#include "ompi/file/file.h"
|
||||
#include "ompi/message/message.h"
|
||||
|
||||
#define S(TYPE) (sizeof(ompi_predefined_##TYPE##_t) - sizeof(ompi_##TYPE##_t))
|
||||
|
||||
/**************************************************************************
|
||||
* IF THIS FILE FAILS TO COMPILE, IT IS A SYMPTOM OF A LARGER PROBLEM!
|
||||
**************************************************************************
|
||||
*
|
||||
* Do not attempt to fix the compile failure in this file; go fix the
|
||||
* fact that there's no more padding left for predefined MPI objects.
|
||||
*
|
||||
**************************************************************************/
|
||||
|
||||
char comm_pad[S(communicator)];
|
||||
char group_pad[S(group)];
|
||||
char request_pad[S(request)];
|
||||
char op_pad[S(op)];
|
||||
char datatype_pad[S(datatype)];
|
||||
char win_pad[S(win)];
|
||||
char info_pad[S(info)];
|
||||
char file_pad[S(file)];
|
||||
char message_pad[S(message)];
|
Загрузка…
x
Ссылка в новой задаче
Block a user