# PBS installation on a single execution host

**URL:** <https://community.openpbs.org/t/pbs-installation-on-a-single-execution-host/2600>\
**Category:** Users/Site Administrators\
**Created:** [April 27, 2021, 3:43am UTC](https://community.openpbs.org/t/pbs-installation-on-a-single-execution-host/2600 "2021-04-27T03:43:42Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![rajesh70530](https://avatars.discourse-cdn.com/v4/letter/r/c57346/32.png) [@rajesh70530](https://community.openpbs.org/u/rajesh70530)\
**Post date:** [April 27, 2021, 3:43am UTC](https://community.openpbs.org/t/pbs-installation-on-a-single-execution-host/2600/1 "2021-04-27T03:43:42Z")

</div>

Hi OpenPBS community team, I tried to install this program to manage the workload. my interest to use OpenPBS to run Numerical model simulations of WaveWatchIII. I have a single node 20 processor with GPU CUDA RX5000 configuration and OS ubuntu 20.04.1 LTS machine. So, I would like to install and run all PBS components on a single machine (Page no.13 - single execution system referred from PBS professional 2021.1 installations & Upgrade Guide). I did two trials to install but not successfully installed. First trial with Openpbs source code tar.gz file from new release v20.0.1, I have followed the instruction given in the INSTALL file but some errors(111) is showing, and the program was not running properly. The second one openpbs\_20.0.1.ubuntu\_1804.zip tried to install but while pbs start while i am giving terminal automatically terminated and another error showing(server .deb files are not installing properly and showing error / dpkg-deb : error: paste subprocess was killded by signal (Brocken pipe). So, Kindly help me with how to install the program

---

<div class="post-metadata">

**Author:** ![adarsh](https://avatars.discourse-cdn.com/v4/letter/a/f07891/32.png) [@adarsh](https://community.openpbs.org/u/adarsh)\
**Post date:** [April 27, 2021, 8:45am UTC](https://community.openpbs.org/t/pbs-installation-on-a-single-execution-host/2600/2 "2021-04-27T08:45:07Z")

</div>

Hi , I did the below on a new installation of ubuntu 20.04.2 LTS and it worked without any issues

As root user:

- set the static ip address and hostname in /etc/hosts

- create a user account called “pbsdata”

- wget [https://github.com/openpbs/openpbs/archive/refs/heads/master.zip](https://github.com/openpbs/openpbs/archive/refs/heads/master.zip)

- unzip master.zip

- cd openpbs-master/

- apt install gcc make libtool libhwloc-dev libx11-dev libxt-dev libedit-dev libical-dev libncurses-dev perl postgresql-server-dev-all postgresql-contrib python3-dev tcl-dev tk-dev swig libexpat1-dev libssl-dev libxext-dev libxft-dev autoconf automake build-essential openssh-server net-tools

- apt install expat libedit2 postgresql python3 postgresql-contrib sendmail-bin sudo tcl tk libical3 postgresql-server-dev-all

- ./autogen.sh

- ./configure --prefix=/opt/pbs

- make ; make install

- /opt/pbs/libexec/pbs\_postinstall

- edit /etc/pbs.conf and set PBS\_START\_MOM=1

- chmod 4755 /opt/pbs/sbin/pbs\_iff /opt/pbs/sbin/pbs\_rcp

- /etc/init.d/pbs start

- . /etc/profile.d/pbs.sh

- ps -ef | grep pbs\_

- qstat -Bf

- pbsnodes -av ; pbsnodes -aSjv

Hope this helps

---

<div class="post-metadata">

**Author:** ![rajesh70530](https://avatars.discourse-cdn.com/v4/letter/r/c57346/32.png) [@rajesh70530](https://community.openpbs.org/u/rajesh70530)\
**Post date:** [April 27, 2021, 12:45pm UTC](https://community.openpbs.org/t/pbs-installation-on-a-single-execution-host/2600/3 "2021-04-27T12:45:05Z")

</div>

Thank you, Adarsh I have installed it successfully. the procedure you mentioned is perfect. I will start working on my model. if I faced any problem kindly support give the suggestions form OpenPBS community team.

Thank you  
Bill Nitzberg  
OpenPBS Community Manager

---

<div class="post-metadata">

**Author:** ![vinay](https://avatars.discourse-cdn.com/v4/letter/v/6a8cbe/32.png) [@vinay](https://community.openpbs.org/u/vinay)\
**Post date:** [February 23, 2023, 3:22pm UTC](https://community.openpbs.org/t/pbs-installation-on-a-single-execution-host/2600/4 "2023-02-23T15:22:03Z")

</div>

@adarsh Hi adarsh, with the above steps I was able to install head node.  
How to go ahead with the compute nodes.

Using Ubuntu 20.04 . I tried with the execution deb file from other version - [https://vcdn.altair.com/rl/OpenPBS/openpbs\_22.05.11.ubuntu\_20.04.zip](https://vcdn.altair.com/rl/OpenPBS/openpbs_22.05.11.ubuntu_20.04.zip)

But after adding nodes,

it stays in unknown state. not able to figure it out.

---

<div class="post-metadata">

**Author:** ![adarsh](https://avatars.discourse-cdn.com/v4/letter/a/f07891/32.png) [@adarsh](https://community.openpbs.org/u/adarsh)\
**Post date:** [February 23, 2023, 5:39pm UTC](https://community.openpbs.org/t/pbs-installation-on-a-single-execution-host/2600/5 "2023-02-23T17:39:21Z")

</div>

> [@vinay](#):
>
> it stays in unknown state. not able to figure it out.

1. check with firewall / selinux disabled and system rebooted (if you disable selinux)
2. DNS / hosts file is all good
3. check pbs\_mom service is up and running on the compute node ( ps -ef | grep pbs\_ )
4. check the mom logs
5. check the server logs
6. check ports 15001 to 15009 , 17001 are not blocked (between pbs server and pbs mom )

---

<div class="post-metadata">

**Author:** ![vinay](https://avatars.discourse-cdn.com/v4/letter/v/6a8cbe/32.png) [@vinay](https://community.openpbs.org/u/vinay)\
**Post date:** [February 27, 2023, 7:09am UTC](https://community.openpbs.org/t/pbs-installation-on-a-single-execution-host/2600/6 "2023-02-27T07:09:25Z")

</div>

> [@adarsh](#):
>
> . /etc/profile.d/pbs.sh

Hi Adarsh,

Just by adding info in /etc/hosts it was not working. I created a local DNS in head node and now PBS seems to be working fine.

Thanks a lot for your suggestions.

Regards,  
Vinay

---

<div class="post-metadata">

**Author:** ![Karthikvels](https://avatars.discourse-cdn.com/v4/letter/k/e47774/32.png) [@Karthikvels](https://community.openpbs.org/u/Karthikvels)\
**Post date:** [January 17, 2024, 11:50am UTC](https://community.openpbs.org/t/pbs-installation-on-a-single-execution-host/2600/7 "2024-01-17T11:50:50Z")

</div>

Hi Adarsh,

I setup using your all blogs, can I know how to create multiple pbs job run uses

also I want to know how to added nodes to master head node

---

<div class="post-metadata">

**Author:** ![adarsh](https://avatars.discourse-cdn.com/v4/letter/a/f07891/32.png) [@adarsh](https://community.openpbs.org/u/adarsh)\
**Post date:** [January 17, 2024, 7:21pm UTC](https://community.openpbs.org/t/pbs-installation-on-a-single-execution-host/2600/8 "2024-01-17T19:21:26Z")

</div>

**As root user on the headnode:**

**To add a node**  
qmgr -c “create node NODENAME”  
#NODENAME is the hostname of the compute node

To delete a node  
qmgr -c “delete node NODENAME”  
#NODENAME is the hostname of the compute node

How to run jobs ? – As standard linux user  
qsub -l select=1:ncpus=2:mem=1gb – /bin/sleep 1000 # to run on one node  
qsub -l select=2:ncpus=2:mem=1gb -l place=scatter – /bin/sleep 1000 # to run on two nodes

---

<div class="post-metadata">

**Author:** ![dhiraj.pn](https://avatars.discourse-cdn.com/v4/letter/d/73ab20/32.png) [@dhiraj.pn](https://community.openpbs.org/u/dhiraj.pn)\
**Post date:** [August 19, 2024, 6:43am UTC](https://community.openpbs.org/t/pbs-installation-on-a-single-execution-host/2600/9 "2024-08-19T06:43:40Z")

</div>

Hi Adarsh  
I am also following your all the steps, it is working for master node when I am adding one compute node in master showing state is down could you pls help this is my testing machine.

---

<div class="post-metadata">

**Author:** ![adarsh](https://avatars.discourse-cdn.com/v4/letter/a/f07891/32.png) [@adarsh](https://community.openpbs.org/u/adarsh)\
**Post date:** [August 19, 2024, 7:54am UTC](https://community.openpbs.org/t/pbs-installation-on-a-single-execution-host/2600/10 "2024-08-19T07:54:02Z")

</div>

Please check

1. pbs\_mom process is up and running ( ps -ef | grep pbs\_ )
2. ports , firewall are not blocked
3. selinux disabled and system rebooted
4. hostname resolution (/etc/hosts)

---

<div class="post-metadata">

**Author:** ![dhiraj.pn](https://avatars.discourse-cdn.com/v4/letter/d/73ab20/32.png) [@dhiraj.pn](https://community.openpbs.org/u/dhiraj.pn)\
**Post date:** [August 22, 2024, 9:22am UTC](https://community.openpbs.org/t/pbs-installation-on-a-single-execution-host/2600/11 "2024-08-22T09:22:07Z")

</div>

Hi Adarsh,

Everything is working right now, I am able to submit the cpu based job but How can I configure and run gpu based test job or docker in Open PBS 23 version.  
Pls guide for GPU based configuration. If possible pls ping your linkdin id.

---

<div class="post-metadata">

**Author:** ![adarsh](https://avatars.discourse-cdn.com/v4/letter/a/f07891/32.png) [@adarsh](https://community.openpbs.org/u/adarsh)\
**Post date:** [August 22, 2024, 7:19pm UTC](https://community.openpbs.org/t/pbs-installation-on-a-single-execution-host/2600/12 "2024-08-22T19:19:50Z")

</div>

Nice one !

For GPU configuration / scheduling please refer this

**Please refer:**

> [@Does openPBS supports GPU scheduling?](https://community.openpbs.org/t/does-openpbs-supports-gpu-scheduling/3580/2):
>
> Please go through this documentation if it is accessible to you and the below sections. 5.14.7.1 Basic GPU Scheduling 5.14.7.2.ii Example of Configuring PBS for Advanced GPU Scheduling does openPBS (not PBSpro, which I know supports GPU scheduling) supports GPU scheduling? yes, please check/search this forum for “GPU”

#######

> **[PBS2024.1.pdf](https://help.altair.com/2024.1.0/PBS%20Professional/PBS2024.1.pdf)**
>
> 34.07 MB

Ref: 5.14.7.3 Basic GPU Scheduling
