Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Note

This walk-through is targeting developers who want to explore the bleeding edge of Lustre or build on CPUs/kernel combinations not currently supported by the automated builders.

If you are evaluating Lustre for production, you should choose a stable Lustre Release.

Note that as of the writing of this page, a pre-compiled Lustre Release is only available for Ubuntu as a Lustre Client, not Server.

Table of Contents

...

Purpose

This page describes all the necessary steps to:

...

The fastest way to install the needed tools is by using the debian build-dependency feature:

sed -i '/deb-src/s/^# //' /etc/apt/sources.list && sudo apt update
sudo apt install -y build-dep linux-image linux-image-$(uname -r) linux-modules-$(uname -r) linux-modules-extra-$(uname -r)
sudo apt install -y git libtool libtool-bin libyaml-dev ed libreadline-dev dpatch libsnmp-dev mpi-default-dev module-assistant quilt
sudo apt install -y libncurses5-dev libncurses-dev bison flex gnupg libelf-dev gcc libssl-dev bc bzip2 build-essential udev kmod cpio
sudo apt install -y libfuse-dev libattr1-dev libblkid-dev uuid-dev devscripts fakeroot kernel-wedge libudev-dev libpython3-dev swig
sudo apt install -y gettext texinfo debhelper dh-exec update-notifier-common sg3-utils attr mpi-default-bin selinux-utils
sudo apt install -y python python2 python2-minimal python2.7 libpython2-stdlib libsgutils2-2 libpython2.7-stdlib python2.7-minimal libpython2.7-minimal

...

$ cd ${BUILDPATH}
$ sudo apt source linux-image-unsigned-$(uname -r)

or

$ sudo wget http://ports.ubuntu.com/pool/main/l/linux/linux-source-5.4.0_5.4.0-62.70_all.deb
$ sudo dpkg -i linux-source-5.4.0_5.4.0-62.70_all.deb
$ sudo tar xjf /usr/src/linux-source-5.4.0/linux-source-5.4.0.tar.bz

The next thing you need is the kernel configuration for that version. The easiest way to get it, is by grabbing it from a server running that version.
Assuming the current compile server already runs that kernel (which is not necessary, but certainly makes things easier):

...