Installing PTL by Building from Source or from RPM
How to build and install PTL from PBS Pro source, and how to create and install a PTL RPM package To install PTL package dependencies, run the appropriate installation command as root. We list them by platform, for Python >=3.6: Also install EPEL (Extra Packages for Enterprise Linux). The package name is "epel-release". Inst **Some of the above mentioned dependencies will require Extra packages for enterprise linux (EPEL) repository installed. PTL gets installed in the parent directory of where PBS Professional is installed. For example if you have given install prefix=/opt/pbs, you can find your PTL installation in the /opt/ptl directory. Use the following default path settings: The RPM will then be available in the “rpmbuild/RPMS” folder, along with the other openpbs rpms. The rpm name for the PTL RPM will be openpbs-ptl-<version>.rpm Use "yum install" for all the dependencies to install along with the package. You may need to log in again to update your PATHs.Building and Installing PTL from Source
1. Build PTL from Source
./autogen.sh
./configure --prefix=/opt/pbs --enable-ptl
2. Install Package Dependencies
CentOS
yum install python-beautifulsoup python2-defusedxml python-nose pexpect
OpenSUSE
zypper install python-beautifulsoup python-defusedxml python-nose python-pexpect
Debian/Ubuntu
apt-get install python-beautifulsoup python-defusedxml python-nose python-pexpect
3. Make and Install PBS and PTL
4. Update Your Paths
export PATH=$PATH:/opt/ptl/bin
export PYTHONPATH=$PYTHONPATH:/opt/ptl/lib/python3.6/site-packages/Creating and Installing RPM Package for PTL
1. Create RPM Package for PTL
./autogen.sh
./configure --prefix=/opt/pbs --enable-ptl
make dist
rpmbuild -ba openpbs.spec --with ptl
2. Install RPM Package
3. Update Your Paths