<div dir="ltr">Many thanks. I'll try building from the source<div><br></div><div>Regards</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 14, 2023 at 6:41 PM Reed Dier <<a href="mailto:reed.dier@focusvq.com">reed.dier@focusvq.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;"><blockquote type="cite"><div dir="ltr"><div>On the third node (with Ubuntu 18.04), I tried to add the following line to /etc/apt/sources.list:</div><div><b>deb <a href="http://za.archive.ubuntu.com/ubuntu" target="_blank">http://za.archive.ubuntu.com/ubuntu</a> jammy main universe</b></div></div></blockquote><div><br></div>You definitely can’t just add the jammy repos to a bionic system.<div>This will more or less break apt in many ways due to dependencies.</div><div><br></div><div><blockquote type="cite"><div dir="ltr"><div><div>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><br></div>As someone who is running slurm on ubuntu, I highly recommend ripping the bandaid off and building from source.</div><div>The ubuntu/debian packages run really far behind, and don’t provide a ton of flexibility for upgrades or fixes.</div><div><br></div><div>Grab the tarball, and then run</div><div><br></div><div><blockquote type="cite">./configure —prefix=$PREFIX}/slurm-$SLURM_VERSION —sysconfdir=/etc/slurm;<br>        make -j $NUM_CPUS;<br>        make install</blockquote><div><br></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>I would also strongly recommend not mixing Ubuntu releases in the same cluster.</div><div><br></div><div>Reed</div><div><div><br><blockquote type="cite"><div>On Apr 14, 2023, at 11:12 AM, mohammed shambakey <<a href="mailto:shambakey1@gmail.com" target="_blank">shambakey1@gmail.com</a>> wrote:</div><br><div><div dir="ltr">Hi<div><br></div><div>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><br></div><div>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><b>deb <a href="http://za.archive.ubuntu.com/ubuntu" target="_blank">http://za.archive.ubuntu.com/ubuntu</a> jammy main universe<br></b></div><div><div><br></div><div>Then, I tried to update the third machine and install the slurmd package, but I receive the following error:</div><div><br></div><div><font color="#990000">Setting up slurm-wlm-basic-plugins (21.08.5-2ubuntu1) ...<br>cp: cannot stat '/etc/slurm-llnl/.': No such file or directory<br>dpkg: error processing package slurm-wlm-basic-plugins (--configure):<br> installed slurm-wlm-basic-plugins package post-installation script subprocess returned error exit status 1<br>dpkg: dependency problems prevent configuration of slurmd:<br> slurmd depends on slurm-wlm-basic-plugins (= 21.08.5-2ubuntu1); however:<br>  Package slurm-wlm-basic-plugins is not configured yet.<br><br>dpkg: error processing package slurmd (--configure):<br> dependency problems - leaving unconfigured<br>dpkg: dependency problems prevent configuration of slurm-client:<br> slurm-client depends on slurm-wlm-basic-plugins (= 21.08.5-2ubuntu1); however:<br>  Package slurm-wlm-basic-plugins is not configured yet.<br><br>dpkg: error processing package slurm-client (--configure):<br> dependency problems - leaving unconfigured<br>No apport report written because the error message indicates its a followup error from a previous failure.<br>                                                                                                          No apport report written because the error message indicates its a followup error from a previous failure.<br>                                                                      Errors were encountered while processing:<br> slurm-wlm-basic-plugins<br> slurmd<br> slurm-client<br>E: Sub-process /usr/bin/dpkg returned an error code (1)</font><br></div><div><br></div><div>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><br></div><div>Regards</div><div><br></div><span>-- </span><br><div dir="ltr">Mohammed<br></div></div></div>
</div></blockquote></div><br></div></div></blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">Mohammed<br></div>