[LINUX] Torque setup on CentOS 6

Use torque as the job scheduler. To use torque from yum, you need to add EPEL repository. Install and configure as follows.

$ su -
$ rpm -Uvh http://ftp.riken.jp/Linux/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm
$ yum install --enablerepo=epel torque-server torque-client torque-mom torque-scheduler
$ /usr/sbin/create-munge-key
$ hostname > /etc/torque/server_name
$ pbs_server -t create

After this, edit qmgr.txt as follows:

create queue L0 queue_type = execution
set queue L0 enabled = true
set queue L0 started = true
set server default_queue = L0
set server scheduling = true
set queue L0 resources_max.ncpus = 12 #← For 12 cores
set queue L0 resources_max.nodes = 1

Then, operate as follows.

$ service trqauthd start
$ qmgr < qmgr.txt
$ echo `hostname` "np=12 num_node_boards=1" > /var/lib/torque/server_priv/nodes
$ sed -i.bak s/localhost/`hostname`/g /var/lib/torque/mom_priv/config
$ echo "nodes=1" > /var/lib/torque/mom_priv/mom.layout
$ service pbs_server restart
$ service pbs_mom restart
$ service pbs_sched restart
$ chkconfig pbs_mom on
$ chkconfig pbs_sched on
$ chkconfig pbs_server on
$ chkconfig munge on
$ chkconfig trqauthd on

Recommended Posts

Torque setup on CentOS 6
Install Faiss on CentOS 7
PyOpenGL setup on Python 3
Install numba on CentOS 7.2
Install Python3.4 on CentOS 6.6
Install mecab-python on CentOS
Install Python 2.7.3 on CentOS 5.4
Installation on CentOS8 VirtualBox
Install awscli on centos7
Install Chainer on CentOS 6.7
Setting up grub on CentOS 8
Until docker-compose up on CentOS7
Implemented retina net on CentOS
Anaconda environment construction on CentOS7
Install Python 3.8 on CentOS 7 (SCL)
Apache installation fails on CentOS 8.2
Simple traffic monitor on CentOS
Install Chrome on CentOS 7 series
Install Python 3.8 on CentOS 8 (AppStream)
Steps to deploy EMLauncher on CentOS 8
Steps to install MySQL 8.0 on CentOS 8.1
raspberry pi 4 centos7 install on docker
Steps to install VirtualBox on CentOS
Install java (Oracle JDK14) on CentOS7
[Linux] I installed CentOS on VirtualBox
How to install PyPy on CentOS
Set up Python environment on CentOS
Create a python environment on centos
Install VirtualBox on CentOS 7 on VirtualBox (mac + vagrant)
Install Python on CentOS using Pyenv
How to install Maven on CentOS
Build a python3 environment on CentOS7
Study Note 9_Install Jenkins on CentOS7
Install Python on CentOS using pyenv
Enable sar command on CentOS (install sysstat)
Make Jupyter Notebook a service on CentOS
A memo with Python2.7 and Python3 on CentOS
Get Twitter bookmarks on CentOS using Selenium
Connecting from python to MySQL on CentOS 6.4
How to switch mouse operations on CentOS
Install Mecab on Linux (CentOS) with brew
Build WordPress on CentOS 8 in LAMP environment
How to update security on CentOS Linux 8
Build jupyter notebook on remote server (CentOS)
How to install Apache (httpd) on CentOS7
Disable IPv6 on network interface on CentOS Linux 8
How to install Eclipse GlassFish 5.1.0 on CentOS 7
How to install Apache (httpd) on CentOS8
Install PostgreSQL from source code on CentOS
DRBD + CryptSetup + PaceMaker on CentOS7 ACT / SBY
Build CentOS 8 on ESXi 6.7 with minimal configuration
Install pyenv and rbenv on CentOS system-wide