[lustre-discuss] [External Email]Re: Build Lustre Ubuntu client from source

Osipenko, Oleg - MRP-APHIS Oleg.Osipenko at usda.gov
Tue May 2 08:12:58 PDT 2023


Our stack is this:

user at lustre_client ~ # cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.6 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal

user at lustre_client ~ # lctl lustre_build_version
Lustre version: 2.14.0_21_gd4b9557

user at lustre_client ~ # ofed_info | head -n 1
MLNX_OFED_LINUX-5.4-3.6.8.1 (OFED-5.4-3.6.8):

user at lustre_client ~ # uname --all
Linux lustre_client.location.net 5.4.0-148-generic #165-Ubuntu SMP Tue Apr 18 08:53:12 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

-----Original Message-----
From: lustre-discuss <lustre-discuss-bounces at lists.lustre.org> On Behalf Of Lukasz Knizewski via lustre-discuss
Sent: Tuesday, May 2, 2023 9:44 AM
To: Philippe Weill <Philippe.Weill at latmos.ipsl.fr>
Cc: lustre-discuss at lists.lustre.org
Subject: [External Email]Re: [lustre-discuss] Build Lustre Ubuntu client from source

[External Email]
If this message comes from an unexpected sender or references a vague/unexpected topic; Use caution before clicking links or opening attachments.
Please send any concerns or suspicious messages to: Spam.Abuse at usda.gov

Have you tried the same compilation process, but with native Ubuntu support for Infiniband?
Somehow I fail to find dev package for rdma-core, or any other package that would contain libraries to user with "--with-o2ib" option (other then OFED drivers from nvidia).

Lukas


On 2023-04-29 09:44, Philippe Weill via lustre-discuss wrote:
> Le 28/04/2023 à 12:14, Tancheff, Shaun via lustre-discuss a écrit :
>> This is my usual method, however there may be some additional
>> packages needed
>>
>> sudoapt-get install-y \
>>
>> module-assistant libreadline-dev debhelper \
>>
>> dpatch automake pkg-config libtool libyaml-dev libnl-genl-3-dev \
>>
>> libselinux-dev libsnmp-dev mpi-default-dev bzip2quilt \
>>
>> linux-headers-$(uname-r) rsynclibssl-dev libpython3-dev swig
>
>
> libmount-dev is needed also
>
> add also dkms  if you do not want to manually recompile module for
> each kernel update
>
>
>
>>
>>
>> sh ./autogen.sh
>>
>> ./configure --config-cache --disable-server --enable-client
>> --with-linux=/usr/src/linux-headers-5.4.0-147
>> --with-linux-obj=/usr/src/linux-headers-5.4.0-147-generic
>> --without-zfs --disable-ldiskfs --disable-snmp --enable-modules
>>
>> make debs
>
> make dkms-debs
>
> on node just install
> lustre-client-modules-dkms
> lustre-client-utils
>
> lustre kernel modules are automatically rebuilded when installing new
> kernel version
>
>>
>> *From: *lustre-discuss <lustre-discuss-bounces at lists.lustre.org> on
>> behalf of Nick dan via lustre-discuss
>> <lustre-discuss at lists.lustre.org>
>> *Reply-To: *Nick dan <nickdan2999 at gmail.com>
>> *Date: *Friday, April 28, 2023 at 1:53 PM
>> *To: *"lustre-discuss-request at lists.lustre.org"
>> <lustre-discuss-request at lists.lustre.org>,
>> "lustre-discuss-owner at lists.lustre.org"
>> <lustre-discuss-owner at lists.lustre.org>,
>> "lustre-discuss at lists.lustre.org" <lustre-discuss at lists.lustre.org>
>> *Subject: *[lustre-discuss] Build Lustre Ubuntu client from source
>>
>> Hi
>>
>> Can you send the steps / documentation to build Lustre Ubuntu Client
>> from source (git)?
>>
>> Thanks and regards,
>>
>> Nick
>>
>>
>> _______________________________________________
>> lustre-discuss mailing list
>> lustre-discuss at lists.lustre.org
>> http://list/
>> s.lustre.org%2Flistinfo.cgi%2Flustre-discuss-lustre.org&data=05%7C01%
>> 7C%7C398198c8de6d4681470908db4b1bf840%7Ced5b36e701ee4ebc867ee03cfa0d4
>> 697%7C0%7C0%7C638186355749366526%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4w
>> LjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7
>> C&sdata=ayeEZm0t98BYwMQxDE1KMXSk3DnYrqbN1QC48WZKsLI%3D&reserved=0

--
Łukasz Kniżewski, PhD
Dział Wsparcia Informatycznego
Instytut Biochemii i Biofizyki PAN
email: lukas at ibb.waw.pl
tel.: +48 22 592 5758
_______________________________________________
lustre-discuss mailing list
lustre-discuss at lists.lustre.org
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org




This electronic message contains information generated by the USDA solely for the intended recipients. Any unauthorized interception of this message or the use or disclosure of the information it contains may violate the law and subject the violator to civil or criminal penalties. If you believe you have received this message in error, please notify the sender and delete the email immediately.


More information about the lustre-discuss mailing list