Ubuntu HPC Setup PBS master on master node
From Notes_Wiki
Home > Ubuntu > HPC setup with openpbs and openmpi > Setup PBS master on master node
To setup OpenPBS master on HPC master node use following steps:
- Install postgresql
- apt install postgresql postgresql-server-dev-all postgresql-contrib
- Download and install PBS using:
cd /export/apps/temp wget https://github.com/openpbs/openpbs/releases/download/v20.0.1/openpbs_20.0.1.ubuntu_1804.zip unzip openpbs_20.0.1.ubuntu_1804.zip cd /export/apps/temp/openpbs_20.0.1.ubuntu_1804/ dpkg -i openpbs-server_20.0.1-1_amd64.deb
- Edit '/etc/pbs.conf' file should be look like below:
PBS_EXEC=/opt/pbs PBS_SERVER=<master-hostname> PBS_START_SERVER=1 PBS_START_SCHED=1 PBS_START_COMM=1 PBS_START_MOM=0 PBS_HOME=/var/spool/pbs PBS_CORE_LIMIT=unlimited PBS_SCP=/bin/scp PBS_LEAF_NAME=<master-hostname>
- Set the environment
- source /etc/profile.d/pbs.sh
- source /etc/pbs.conf
- Enter master hostname in /var/spool/pbs/mom_priv/config file
- $clienthost <rocks-master-hostname> //Ex: master
- In pbs server, needs to specify all the compute/gpu nodes in /var/spool/pbs/server_priv/nodes
- node1
- node2
- Start and enable pbs
- systemctl start pbs
- systemctl enable pbs
Home > Ubuntu > HPC setup with openpbs and openmpi > Setup PBS master on master node