📄 setup_channel
字号:
echo "RUNNING SETUP_CHANNEL FOR THE INFINIBAND CHANNEL"## NOTE: This file is sourced from the setup_device with the current working# directory set to the top-level build directory.### Variables of interest...## $with_device - device name and arguments# $device_name - name of the device# $device_args - contains name of channel select plus an channel args# $channel_name - name of the channel# $master_top_srcdir - top-level source directory# $master_top_builddir - top-level build directory# $ac_configure_args - all arguments passed to configure#file=${master_top_srcdir}/src/mpid/${device_name}/channels/ib/setup_channel.argsif test -f ${file} ; then . ${file}else echo "Error: ${file} not found" exit 1fipathlist=""pathlist="$pathlist src/mpid/${device_name}/channels/${channel_name}/include"pathlist="$pathlist src/mpid/common/locks"for path in $pathlist ; do CPPFLAGS="$CPPFLAGS -I${master_top_builddir}/${path}" CPPFLAGS="$CPPFLAGS -I${master_top_srcdir}/${path}"donedevsubsystems="$devsubsystems src/mpid/common/locks"if test -z "$ibu_path_include" ; then if test "$ibu_name" = ibal ; then CPPFLAGS="$CPPFLAGS -I$ibu_path/iba/linux/include/iba" fi if test "$ibu_name" = vapi ; then CPPFLAGS="$CPPFLAGS -I$ibu_path/include -I$ibu_path/wrap" fielse CPPFLAGS="$CPPFLAGS -I$ibu_path_include"fiif test "$rdma_mode" = get ; then CPPFLAGS="$CPPFLAGS -DUSE_RDMA_GET"fiif test "$channel_rndv" = yes ; then CPPFLAGS="$CPPFLAGS -DMPIDI_CH3_CHANNEL_RNDV"fi## These are defined by configure.in and localdefs.in##LDFLAGS="$LDFLAGS -L/usr/mellanox/lib"#LIBS="$LIBS -lvapi"dir=${master_top_srcdir}/src/mpid/common/locksif test ! -d $dir ; then echo "ERROR: ${dir} does not exist" exit 1fifile=${dir}/setupif test -f $file ; then echo sourcing $file . $filefi
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -