How to run jobs on the head node?

Basically I have one node cluster :slight_smile: . I installed the PBS server but receive this error when trying to install the PBS execution rpm:

Error: pbspro-execution conflicts with pbspro-server-18.1.2-0.x86_64

Pbsnodes does show my node but shows it as down:

[root@instance-5 pbspro_18.1.2.centos7]# pbsnodes -a
instance-5
Mom = instance-5.c
Port = 15002
pbs_version = unavailable
ntype = PBS
state = state-unknown,down
resources_available.host = instance-5
resources_available.vnode = instance-5
resources_assigned.accelerator_memory = 0kb
resources_assigned.hbmem = 0kb
resources_assigned.mem = 0kb
resources_assigned.naccelerators = 0
resources_assigned.ncpus = 0
resources_assigned.vmem = 0kb
comment = node down: communication closed
resv_enable = True
sharing = default_shared
last_state_change_time = Sun Apr 12 22:02:58 2020

Could you please check and share the output of "cat /etc/pbs.conf "

  • Please check PBS_START_MOM is set to 1 , if not set to 1 and run /etc/init.d/pbs start
  • Make sure the headnode has a static IP address and hostname is resolvable .
  • always use short hostname for the PBS_SERVER in the /etc/pbs.conf

For example:

headnode:~# cat /etc/pbs.conf
PBS_EXEC=/opt/pbs
PBS_SERVER=headnode
PBS_START_SERVER=1
PBS_START_SCHED=1
PBS_START_COMM=1
PBS_START_MOM=1
PBS_HOME=/var/spool/pbs
PBS_CORE_LIMIT=unlimited
PBS_RCP=/bin/false
PBS_SCP=/bin/scp
PBS_RSHCOMMAND=/bin/ssh

1 Like

Many thanks, setting PBS_START_MOM=1 did the trick! I can now run PBS on the free micro instance from Google compute (1 vCPU, 0.6 GB memory). My initial plan was to use Slurm, but the installation is rather complex. I was able to install PBS in a few minutes…

1 Like

Thank you :slight_smile:

:+1: