Compiled latest version v22.05.11 prints "pbs_version = 20.0.0"

Hey all,

When compiling the latest release of OpenPBS, the binaries will report pbs_version = 20.0.0, although I downloaded the (seemingly?) correct archive file: via API and via GitHub releases page.

The OpenPBS Downloads page has a Rocky Linux 8.5 rpm, which prints the correct version number. I wonder what’s the difference there?

To reproduce, I followed the INSTALL instructions for both archive files:

// (install all requirements)
// (unzip, cd)
$ ./autogen.sh
$ ./configure --prefix=/opt/pbs
$ make
$ sudo make install
$ /opt/pbs/libexec/pbs_init.d --version
pbs_version = 20.0.0
$ /opt/pbs/bin/pbsnodes --version
pbs_version = 20.0.0

I wonder if I missed something? Any help appreciated! :slight_smile:

It falls back to 20.0.0 as a default if the version isn’t specified. Try this…

./configure PBS_VERSION=22.05.11 --prefix=/opt/pbs
1 Like

Thank you @mkaro, it is working now!