Skip to content

Commit

Permalink
Add new example(s). One is rdma-based, the other send-based
Browse files Browse the repository at this point in the history
  • Loading branch information
Amir Sela committed Jun 17, 2015
1 parent af758cb commit 1556013
Show file tree
Hide file tree
Showing 4 changed files with 2,434 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,15 @@ AM_CPPFLAGS = -I$(srcdir)/include
ACLOCAL_AMFLAGS = -I config
AM_CFLAGS = -g -Wall -Werror -I.

bin_PROGRAMS = examples/ibv_cc_pingpong examples/ibv_task_pingpong examples/ibv_cc_barrier tests/ibv_cc_test
bin_PROGRAMS = examples/ibv_cc_pingpong examples/ibv_task_pingpong examples/ibv_cc_barrier tests/ibv_cc_test examples/cc2_send_pingpong examples/cc2_rdma_pingpong

examples_ibv_cc_pingpong_SOURCES = examples/cc_pingpong.c
examples_ibv_task_pingpong_SOURCES = examples/task_pingpong.c
examples_ibv_cc_barrier_SOURCES = examples/cc_main.c
examples_cc2_rdma_pingpong_SOURCES = examples/cc2_pingpong.c examples/cc2_pingpong.h
examples_cc2_send_pingpong_SOURCES = examples/cc2_pingpong.c examples/cc2_pingpong.h

examples_cc2_rdma_pingpong_CFLAGS = -DUSE_RDMA -g -Wall -O3 -fno-strict-aliasing

tests_ibv_cc_test_CXXFLAGS = -g -Wall -O3 -fno-strict-aliasing

Expand Down
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ fi
dnl Checks for libraries
AC_CHECK_LIB([ibverbs], [ibv_get_device_list], [], [AC_MSG_ERROR([libibverbs not found])])
AC_CHECK_LIB([ibumad], [umad_init], [], AC_MSG_ERROR([libibumad not found]))
AC_CHECK_LIB([rdmacm], [rdma_create_event_channel], [], AC_MSG_ERROR([librdmacm-devel not found]))

AC_CHECK_LIB(dl, dlsym, [],
AC_MSG_ERROR([dlsym() not found. coredirect requires libdl.]))
Expand Down
Loading

0 comments on commit 1556013

Please sign in to comment.