I am new at PBS Pro and thank you in advance for your help.
I run Ubuntu 18.04 server version (no GUI) and I was able to install PBS Pro on the headnode following these instructions.
I also edited /etc/hosts file on both machine (headnode and node)
I also configured passwordless ssh connection between the headnode and the node.
All went well I am able to run PBS Pro command such as
$ qstat -B
Server Max Tot Que Run Hld Wat Trn Ext Status
eric9020-optiple 0 0 0 0 0 0 0 0 Idle
Now, I am trying to install PBS Pro on a client node (where the job will actually run) but I don’t seem to be able to find any information on Ubuntu 18.04. I understand that PBS Pro is very concentrated on CentOS but my cluster (12 nodes) are already been configured with Ubuntu 18.04 and OpenMPI.
I followed exactly the same steps for the headnode except for /etc/pbs.conf
I edited the pbs.conf file for the node as follow:
I edited the config for the PBS Pro client node to connect to the headnode (eric9020-optiplex)
$ /var/spool/pbs/mom_priv/config
$clienthost eric9020-optiplex
$restrict_user_maxsysid 999
I created a “nodes” file the on the headnode
/var/spool/pbs/server_priv# cat nodes
knife11.stanford.edu np=2
When I try to add a node with the following command
$ qmgr -c “create node knife11”
I have the following error:
qmgr obj=knife11 svr=default: Unauthorized Request
qmgr: Error (15007) returned from server
I could not run the command
root@eric9020-optiplex:~# qmgr -c “set server managers+=root@eric9020-optiplex”
Unknown Host.
qmgr: cannot connect to server server
Unknown Host.
qmgr: cannot connect to server managers+=root@eric9020-optiplex”
However, i was able to run the following command and add the node (knkife11.stanford.edu)
root@eric9020-optiplex:~# qmgr
Max open servers: 49
Qmgr: create node knife11
Qmgr: quit