Add comment about how to compile these 2 tests.
This commit was SVN r7248.
Этот коммит содержится в:
родитель
b2bb2393fc
Коммит
778468a5b6
@ -17,9 +17,9 @@
|
||||
|
||||
#include "ompi_config.h"
|
||||
#include <stdbool.h>
|
||||
#include "ompi/datatype/datatype.h"
|
||||
#include "ompi/datatype/datatype_internal.h"
|
||||
#include "ompi/datatype/convertor.h"
|
||||
#include "datatype/datatype.h"
|
||||
#include "datatype/datatype_internal.h"
|
||||
#include "datatype/convertor.h"
|
||||
#include <time.h>
|
||||
#include <stdlib.h>
|
||||
#ifdef HAVE_SYS_TIME_H
|
||||
@ -27,6 +27,10 @@
|
||||
#endif
|
||||
#include <time.h>
|
||||
|
||||
/* Compile with:
|
||||
mpicc -DHAVE_CONFIG_H -I. -I../../include -I../../../ompi-trunk/include -I../.. -I../../include -I../../../ompi-trunk/opal -I../../../ompi-trunk/orte -I../../../ompi-trunk/ompi -g ddt_test.c -o ddt_test
|
||||
*/
|
||||
|
||||
#define TIMER_DATA_TYPE struct timeval
|
||||
#define GET_TIME(TV) gettimeofday( &(TV), NULL )
|
||||
#define ELAPSED_TIME(TSTART, TEND) (((TEND).tv_sec - (TSTART).tv_sec) * 1000000 + ((TEND).tv_usec - (TSTART).tv_usec))
|
||||
|
@ -67,6 +67,9 @@ MPITEST README for further details.
|
||||
#include "mpitest_cfg.h"
|
||||
#include "mpitest.h"
|
||||
|
||||
/* Compile with:
|
||||
mpicc -DHAVE_CONFIG_H -I. -I../../include -I../../../ompi-trunk/include -I../.. -I../../include -I../../../ompi-trunk/opal -I../../../ompi-trunk/orte -I../../../ompi-trunk/ompi -g mpi_test.c -o mpi_test ~/ompi-tests/intel_tests/src/libmpitest.o -I../../../ompi-tests/intel_tests/src
|
||||
*/
|
||||
main(int argc, char *argv[])
|
||||
{
|
||||
int
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user