Ubuntu 18.04
apt install slurm-wlm munge libslrum-dev mpich ntp mpich libpmi0 libpmix-dev
##Configure NTP Server on Head Node
On the head node, `spearmint.cse.unr.edu`, install ntp.
```lang=bash
$ apt install ntp
```
Head over to `/etc/ntp.conf` and replace the following lines
```lang=bash
pool 0.ubuntu.pool.ntp.org iburst
pool 1.ubuntu.pool.ntp.org iburst
pool 2.ubuntu.pool.ntp.org iburst
pool 3.ubuntu.pool.ntp.org iburst
```
with
```lang=bash
pool 0.us.pool.ntp.org iburst
pool 1.us.pool.ntp.org iburst
pool 2.us.pool.ntp.org iburst
pool 3.us.pool.ntp.org iburst
```
Restart the NTP server after saving the changes.
```lang=bash
$ service ntp restart
```
Real quick, open the NTP UDP port `123` for incoming connections if there's an UFW firewall enabled.
```lang=bash
$ ufw allow from any to any port 123 proto udp
```
---
##Configure NTP Server on Client Nodes
On the client nodes, `spearmint-0.cse.unr.edu`, make sure ntpdate is installed.
```lang=bash
$ apt install ntpdate
```
Next, it's important to manually sync time with all of the servers.
references
https://linuxconfig.org/ntp-server-configuration-on-ubuntu-18-04-bionic-beaver-linux