RHEL系はSPECファイルを使って容易にパッケージを作れるけど、ubuntuはよく分からん.

っで最新版を使うにはdebian様を探ったらubuntu20.04向けの最新版はglibcが古いからだめのようで
ならということでソースから製作してみます

root@slurm:~# apt install cmake git build-essential
 
root@slurm:~# git clone https://github.com/SchedMD/slurm.git
root@slurm:~# cd slurm/
root@slurm:~/slurm# git tag | tail -n 3
slurm-23-11-0-0rc1
slurm-23-11-0-1
start
root@slurm:~/slurm#
root@slurm:~/slurm# git checkout slurm-23-11-0-1
root@slurm:~/slurm# git branch
* (HEAD detached at slurm-23-11-0-1)
  master
root@slurm:~/slurm#
root@slurm:~/slurm# cd ..
root@slurm:~#
root@slurm:~# tar --exclude-vcs --transform 's/slurm/slurm-23.11.0/' -cvjf slurm-23.11.0.tar.bz2 slurm
root@slurm:~# tar tvf slurm-23.11.0.tar.bz2 | head -n 3
drwxr-xr-x root/root         0 2023-12-05 23:19 slurm-23.11.0/
-rw-r--r-- root/root      3624 2023-12-05 23:00 slurm-23.11.0/CONTRIBUTING.md
-rw-r--r-- root/root      1756 2023-12-05 23:00 slurm-23.11.0/make_ref.include
root@slurm:~#
root@slurm:~#
apt install libmunge-dev libreadline-dev libpam-dev libhwloc-dev libmariadb-dev libpmix-dev freeipmi libfreeipmi-dev  libcgroup-dev libpam-cgroup libjson-c-dev libjwt-dev libhttp-parser-dev  libyaml-dev liblz4-dev librdkafka-dev libhdf5-dev libucx-dev  liblua5.3-dev man2html libdbus-1-dev
 
./configure --prefix=/opt/slurm --sysconfdir=/opt/slurm/etc --enable-pam  --without-ucx --without-ofed --with-nvml=/usr/local/cuda-12.1
make; make install
cp etc/slurmctld.service /usr/lib/systemd/system/
 
mkdir /opt/slurm/etc
mkdir -p /var/spool/slurm/d
echo "D /run/slurm 0755 root root -" > /usr/lib/tmpfiles.d/slurm.conf
/usr/bin/systemd-tmpfiles --create /usr/lib/tmpfiles.d/slurm.conf
echo -e "export PATH=\${PATH}:/opt/slurm/bin\nexport LD_LIBRARY_PATH=\${LD_LIBRARY_PATH}:/opt/slurm/lib64" > /etc/profile.d/slurm.sh

Configless

/etc/systemd/resolved.conf
 DNSStubListener=no
 
systemctl restart systemd-resolved
 
nmtuiでlocalhostをdnsに変更
 
vi /etc/dnsmasq.conf
 port=53
 bogus-priv
 resolv-file=/etc/dnsmasq_resolv.conf
 srv-host=_slurmctld._tcp,slurm,6817
 
echo "nameserver 192.168.0.3" > /etc/dnsmasq_resolv.conf

munge

groupadd -g 5001 munge
useradd -M -d /var/lib/munge -s /bin/bash -u 5001 -g munge munge
 
apt install munge
 
/usr/sbin/mungekey
chown -R munge. /etc/munge/munge.key
ls -l /etc/munge/munge.key
最新の60件
2024-02-23 2024-02-22 2024-02-21 2024-02-20 2024-02-19 2024-02-18 2024-02-17 2024-02-16 2024-02-13 2024-02-12 2024-02-09 2024-02-04 2024-02-03 2024-01-31 2024-01-30 2024-01-29 2024-01-28 2024-01-22 2024-01-16 2024-01-15 2024-01-13 2024-01-12 2024-01-09 2024-01-08 2024-01-07 2024-01-03 2023-12-22 2023-12-17 2023-12-16 2023-12-11 2023-12-09 2023-12-06
  • slurm/ubuntu
2023-11-30 2023-11-27 2023-11-21 2023-11-19 2023-11-18 2023-11-14 2023-11-10 2023-11-09 2023-11-05 2023-11-03 2023-10-30 2023-10-26

edit


トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2023-12-06 (水) 01:51:00