Changed the interOperate to a global variable so that it is initialized from
[charm.git] / src / arch / net-linux-amd64-cuda / conv-mach-ibverbs.sh
1 #default ibverbs path for openib
2 if test -z "$CMK_INCDIR"
3 then
4   #openib-1.1
5   if test -f /opt/ofed/include/infiniband/verbs.h
6   then
7     CMK_INCDIR="-I/opt/ofed/include/"
8     CMK_LIBDIR="-L/opt/ofed/lib64"
9         fi
10   if test -f /usr/local/ofed/include/infiniband/verbs.h
11   then
12     CMK_INCDIR="-I/usr/local/ofed/include/"
13     CMK_LIBDIR="-L/usr/local/ofed/lib64"
14         fi
15 fi
16
17 CMK_LIBS="$CMK_LIBS -libverbs"
18