ohpc icon indicating copy to clipboard operation
ohpc copied to clipboard

unable to compile lustre-client-ohpc

Open arm2arm opened this issue 4 years ago • 0 comments

Hi I am deploying now ohpc+slurm+warewulf on RokyLinux8.5, so far so good. The lustre-client-ohpc-2.12.7-4.2.ohpc.2.4 is coming with the previous kernel. After upgrade of 8.4->8.5 I was trying to compile with following:

  • rpmbuild --rebuild lustre-client-ohpc-2.12.7-4.2.ohpc.2.4.src.rpm
[root@nnewl1 ~]# rpmbuild --rebuild lustre-client-ohpc-2.12.7-4.2.ohpc.2.4.src.rpm
configure: error: Kernel source  could not be found.
error: Bad exit status from /var/tmp/rpm-tmp.fkou7e (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.fkou7e (%build)

The kernel-dev is installed, zfs-dkms was compiling without problems.

Then, getting the lustre source from the official Lustrefs repo works without problems:

wget https://downloads.whamcloud.com/public/lustre/latest-release/el8/client/SRPMS/lustre-2.12.7-1.src.rpm
rpmbuild --rebuild --without servers  --with lnet-dlc --with lustre-utils lustre-2.12.7-1.src.rpm

PS BTW there are some issues with gcc9 with the lustre, to compile it, one should use the gcc8 which is natively coming with RockyLinux 8.5

arm2arm avatar Nov 19 '21 15:11 arm2arm