<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><blockquote type="cite" class=""><div dir="ltr" class=""><div class="">On the third node (with Ubuntu 18.04), I tried to add the following line to /etc/apt/sources.list:</div><div class=""><b class="">deb <a href="http://za.archive.ubuntu.com/ubuntu" class="">http://za.archive.ubuntu.com/ubuntu</a> jammy main universe</b></div></div></blockquote><div class=""><br class=""></div>You definitely can’t just add the jammy repos to a bionic system.<div class="">This will more or less break apt in many ways due to dependencies.</div><div class=""><br class=""></div><div class=""><blockquote type="cite" class=""><div dir="ltr" class=""><div class=""><div class="">I wonder if it is possible to install slurm 21.08.5 on Ubuntu 18.04? or I should downgrade the installed slurm on the other nodes to slurm 17.11.2?</div></div></div></blockquote><div class=""><br class=""></div>As someone who is running slurm on ubuntu, I highly recommend ripping the bandaid off and building from source.</div><div class="">The ubuntu/debian packages run really far behind, and don’t provide a ton of flexibility for upgrades or fixes.</div><div class=""><br class=""></div><div class="">Grab the tarball, and then run</div><div class=""><br class=""></div><div class=""><blockquote type="cite" class="">./configure —prefix=$PREFIX}/slurm-$SLURM_VERSION —sysconfdir=/etc/slurm;<br class="">        make -j $NUM_CPUS;<br class="">        make install</blockquote><div class=""><br class=""></div>$PREFIX would be where you want to install the slurm binaries to/run them from, which may be an NFS share or something like that.</div><div class="">I would also strongly recommend not mixing Ubuntu releases in the same cluster.</div><div class=""><br class=""></div><div class="">Reed</div><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Apr 14, 2023, at 11:12 AM, mohammed shambakey <<a href="mailto:shambakey1@gmail.com" class="">shambakey1@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi<div class=""><br class=""></div><div class="">I'm new to slurm, and sorry if this is a repeated email. I have a cluster at my work consisting of one head node, and 3 compute nodes. Ubuntu 22.04 is installed on the head node, and 2 compute nodes, whereas the third has Ubuntu 18.04 (it is needed because it hosts an old M10 GPU).</div><div class=""><br class=""></div><div class="">I installed slurm 21.08.5 on the head node, and the 2 compute nodes with Ubuntu 22.04. On the third node (with Ubuntu 18.04), I tried to add the following line to /etc/apt/sources.list:</div><div class=""><b class="">deb <a href="http://za.archive.ubuntu.com/ubuntu" class="">http://za.archive.ubuntu.com/ubuntu</a> jammy main universe<br class=""></b></div><div class=""><div class=""><br class=""></div><div class="">Then, I tried to update the third machine and install the slurmd package, but I receive the following error:</div><div class=""><br class=""></div><div class=""><font color="#990000" class="">Setting up slurm-wlm-basic-plugins (21.08.5-2ubuntu1) ...<br class="">cp: cannot stat '/etc/slurm-llnl/.': No such file or directory<br class="">dpkg: error processing package slurm-wlm-basic-plugins (--configure):<br class=""> installed slurm-wlm-basic-plugins package post-installation script subprocess returned error exit status 1<br class="">dpkg: dependency problems prevent configuration of slurmd:<br class=""> slurmd depends on slurm-wlm-basic-plugins (= 21.08.5-2ubuntu1); however:<br class="">  Package slurm-wlm-basic-plugins is not configured yet.<br class=""><br class="">dpkg: error processing package slurmd (--configure):<br class=""> dependency problems - leaving unconfigured<br class="">dpkg: dependency problems prevent configuration of slurm-client:<br class=""> slurm-client depends on slurm-wlm-basic-plugins (= 21.08.5-2ubuntu1); however:<br class="">  Package slurm-wlm-basic-plugins is not configured yet.<br class=""><br class="">dpkg: error processing package slurm-client (--configure):<br class=""> dependency problems - leaving unconfigured<br class="">No apport report written because the error message indicates its a followup error from a previous failure.<br class="">                                                                                                          No apport report written because the error message indicates its a followup error from a previous failure.<br class="">                                                                      Errors were encountered while processing:<br class=""> slurm-wlm-basic-plugins<br class=""> slurmd<br class=""> slurm-client<br class="">E: Sub-process /usr/bin/dpkg returned an error code (1)</font><br class=""></div><div class=""><br class=""></div><div class="">I wonder if it is possible to install slurm 21.08.5 on Ubuntu 18.04? or I should downgrade the installed slurm on the other nodes to slurm 17.11.2?</div><div class=""><br class=""></div><div class="">Regards</div><div class=""><br class=""></div><span class="gmail_signature_prefix">-- </span><br class=""><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Mohammed<br class=""></div></div></div>
</div></blockquote></div><br class=""></div></body></html>