Ubuntu HPC Common setup of all HPC nodes
From Notes_Wiki
Home > Ubuntu > HPC setup with openpbs and openmpi > Common setup of all HPC nodes
Plan is to create an Ubuntu 20.04 template using below steps. Then we can clone the template to master / execution nodes and configure those nodes individually separately.
For common node (template) setup use:
- Install Ubuntu 20.04 Desktop with most default values. Non-root user can be admin1.
- Login with non-root user creation during OS installation (eg admin1) and disable screen lock and blanking of screen
- Install ssh, vim and other required packages via:
- sudo su -
- apt update
- apt -y install openssh-server vim htop stress
- Set desired root password:
- passwd
- Enable root SSH by editing '/etc/ssh/sshd_config'
- PermitRootLogin yes
- Restart sshd for changes to take effect:
- systemctl restart sshd
- Install OpenPBS dependencies
- apt-get -y install gcc make libtool libhwloc-dev libx11-dev libxt-dev libedit-dev libical-dev ncurses-dev perl python-dev tcl-dev tk-dev swig libexpat-dev libssl-dev libxext-dev libxft-dev autoconf automake expat libedit2 python sendmail-bin sudo tcl tk libpq5
- Install libhwloc for mpi /openpbs etc.
- wget http://archive.ubuntu.com/ubuntu/pool/universe/h/hwloc/libhwloc5_1.11.9-1_amd64.deb
- dpkg -i libhwloc5_1.11.9-1_amd64.deb
- Install python 3.6 for openpbs
- add-apt-repository ppa:deadsnakes/ppa
- apt -y install python3.6 libpython3.6
- Set python3.6 as default python
- update-alternatives --install /usr/bin/python python /usr/bin/python3.6 1
- python --version
Home > Ubuntu > HPC setup with openpbs and openmpi > Common setup of all HPC nodes