setup_channel

来自「fortran并行计算包」· 代码 · 共 52 行

TXT
52
字号
echo "RUNNING SETUP_CHANNEL FOR THE SOCK-SHARED_MEMORY 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#pathlist=""pathlist="$pathlist src/mpid/${device_name}/channels/${channel_name}/include"pathlist="$pathlist src/mpid/common/locks"for path in $pathlist ; do    MPICH2_INCLUDE_FLAGS="$MPICH2_INCLUDE_FLAGS -I${master_top_builddir}/${path} -I${master_top_srcdir}/${path}"donedevsubsystems="$devsubsystems src/mpid/common/locks"CPPFLAGS="$CPPFLAGS -DUSE_PROCESS_LOCKS"## Use the sock implementation found in the common directory#file=${master_top_srcdir}/src/mpid/common/sock/setupif test -f $file ; then    echo "sourcing $file"    . $filefidir=${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    . $fileelse     echo "Cannot find $file , needed to build process locks"    exit 1fi

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?