From: Bart Van Assche <bvanassche-HInyCGIudOg@public.gmane.org>
To: Vasiliy Tolstov <v.tolstov-+9FY0jupvH6HXe+LvDLADg@public.gmane.org>
Cc: Hiroyuki Sato <hiroysato-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
Or Gerlitz <ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>,
linux-rdma <linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: does i need compat-rdma package
Date: Wed, 24 Dec 2014 13:29:41 +0100 [thread overview]
Message-ID: <549AB1B5.8030308@acm.org> (raw)
In-Reply-To: <CACaajQtJJ1w42jLqZi2SRWRv+KFWY4yMGFOXjiq3-EgYFXFCOA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 670 bytes --]
On 12/24/14 11:19, Vasiliy Tolstov wrote:
> 2014-12-24 12:03 GMT+03:00 Hiroyuki Sato <hiroysato-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:
>> Hello Vasilly Tolstov
>>
>> This URL might be help.
>> http://www.rdmamojo.com
>>
>> There are RDMA configuration for many OSs. (RHEL, Ubuntu, SLES..)
>
> Thanks, but.. i'm using source based disto that not listed in this site =(
Hello Vasiliy,
A possible alternative is to start from a recent upstream kernel and to
build and install the latest RDMA libraries from the upstream git
repositories. I have attached the script I use myself since considerable
time to install the latest RDMA libraries on openSUSE systems.
Bart.
[-- Attachment #2: ofed-rebuild --]
[-- Type: text/plain, Size: 3505 bytes --]
#!/bin/bash
# See also http://www.openfabrics.org/downloads/MAINTAINERS
clone() {
case "$1" in
ibacm)
git clone git://git.openfabrics.org/~shefty/ibacm.git;;
ibutils)
git clone git://git.openfabrics.org/~vlad/ibutils.git;;
infiniband-diags)
git clone git://git.openfabrics.org/~iraweiny/infiniband-diags.git;;
libibcm)
git clone git://git.openfabrics.org/~shefty/libibcm.git;;
libibmad)
git clone git://git.openfabrics.org/~iraweiny/libibmad.git;;
libibumad)
git clone git://git.openfabrics.org/~halr/libibumad.git;;
libibverbs)
git clone git://git.kernel.org/pub/scm/libs/infiniband/libibverbs.git;;
libmlx4)
git clone git://git.kernel.org/pub/scm/libs/infiniband/libmlx4.git;;
librdmacm)
git clone git://git.openfabrics.org/~shefty/librdmacm.git;;
mstflint)
git clone git://git.openfabrics.org/~mohammads/mstflint.git;;
opensm)
git clone git://git.openfabrics.org/~halr/opensm;;
perftest)
git clone git://git.openfabrics.org/~grockah/perftest.git;;
srptools)
git clone git://git.openfabrics.org/~bvanassche/srptools.git;;
*)
false;;
esac
}
build() {
local rc
${scripts_dir}/clean-source-tree &&
./autogen.sh &&
rpm --eval '%configure' | sh &&
make -s &&
sudo make -s install
rc=$?
${scripts_dir}/change-owner-to-bart
return $rc
}
build_lib() {
local rc
${scripts_dir}/clean-source-tree &&
./autogen.sh &&
rpm --eval '%configure' \
| sed "s|\(\./configure \)|\1 --disable-static $@ |" \
| sh &&
make -s &&
sudo make -s install
rc=$?
${scripts_dir}/change-owner-to-bart
return $rc
}
build_libibcm() {
build_lib --with-valgrind
}
build_libibverbs() {
build_lib --with-valgrind
}
# Depends on libibverbs.
build_libmlx4() {
build_lib --with-valgrind
}
build_libibumad() {
build_lib --with-valgrind
}
# Depends on libibumad.
build_libibmad() {
build_lib
}
build_librdmacm() {
build_lib --with-valgrind
}
build_ibacm() {
build_lib
}
build_ibutils() {
build_lib
}
# Depends on libibumad and libosmcomp.
build_infiniband_diags() {
build_lib --with-ibpath_override=$prefix/sbin
}
build_mstflint() {
build
}
build_opensm() {
build_lib
}
# Depends on librdmacm.
build_perftest() {
if [ -e autogen.sh ]; then
build
else
${scripts_dir}/clean-source-tree &&
make &&
sudo cp \
ib_atomic_bw \
ib_atomic_lat \
ib_clock_test \
ib_read_bw \
ib_read_lat \
ib_send_bw \
ib_send_lat \
ib_write_bw \
ib_write_bw_postlist \
ib_write_lat \
$prefix/bin
fi
}
build_srptools() {
build
}
prefix=/usr
scripts_dir="$(dirname $0)"
if [ "${scripts_dir#/}" = "${scripts_dir}" ]; then
scripts_dir="$PWD/$scripts_dir"
fi
if type -p zypper >/dev/null 2>&1; then
zypper install -y autoconf automake bison flex gcc gcc-c++ glib2-devel libtool make python-docutils valgrind-devel # graphviz-tcl swig tcl-devel tk-devel
elif type -p apt-get >/dev/null 2>&1; then
apt-get install -q -y autoconf automake bison flex gcc libglib2.0-dev libtool make python-docutils valgrind # graphviz-tcl swig tcl-dev tk-dev
fi
components="${@:-libibverbs libmlx4 libibumad libibmad opensm infiniband-diags libibcm librdmacm srptools perftest mstflint}" # ibutils
for p in ${components}
do
(
echo
echo ==== $p ====
echo
if [ ! -e $p ]; then
clone $p
fi
cd $p &&
build_${p/-/_}
) || exit $?
done
next prev parent reply other threads:[~2014-12-24 12:29 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-23 14:47 does i need compat-rdma package Vasiliy Tolstov
[not found] ` <CACaajQs03WqcSdrxF3r78wGKL494V5YS5Woa8tW4t1e3qAGGaQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-12-24 8:19 ` Or Gerlitz
[not found] ` <549A772D.1040608-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2014-12-24 9:03 ` Hiroyuki Sato
[not found] ` <CA+Tq-Rq_2ieyc=Z37G70w2=3oHVr3dA_hOMAvZV2CqoPMFyc6w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-12-24 10:19 ` Vasiliy Tolstov
[not found] ` <CACaajQtJJ1w42jLqZi2SRWRv+KFWY4yMGFOXjiq3-EgYFXFCOA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-12-24 12:29 ` Bart Van Assche [this message]
[not found] ` <549AB1B5.8030308-HInyCGIudOg@public.gmane.org>
2014-12-24 12:37 ` Vasiliy Tolstov
2014-12-24 10:20 ` Vasiliy Tolstov
[not found] ` <CACaajQvDQ9N9v_q1AAk+bxpMbQ947FEJ7dqTaG9Nj9i--4-9Bw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-12-24 11:38 ` Or Gerlitz
[not found] ` <549AA5B6.3020106-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2014-12-24 12:02 ` Vasiliy Tolstov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=549AB1B5.8030308@acm.org \
--to=bvanassche-hinycgiudog@public.gmane.org \
--cc=hiroysato-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
--cc=v.tolstov-+9FY0jupvH6HXe+LvDLADg@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox