...
Excerpt |
---|
Building and Installing PTL from Source1. Build PTL from Source
./autogen.sh
./configure --prefix=/opt/pbs --enable-ptl 2. Install Package DependenciesTo install PTL package dependencies, run the appropriate installation command as root. We list them by platform, for Python >=3.6: CentOSyum install python-beautifulsoup python2-defusedxml python-nose pexpect Also install EPEL (Extra Packages for Enterprise Linux). The package name is "epel-release". OpenSUSEzypper install python-beautifulsoup python-defusedxml python-nose python-pexpect Debian/Ubuntuapt-get install python-beautifulsoup python-defusedxml python-nose python-pexpect Inst **Some of the above mentioned dependencies will require Extra packages for enterprise linux (EPEL) repository installed. 3. Make and Install PBS and PTL
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. 4. Update Your PathsUse the following default path settings: export PATH=$PATH:/opt/ptl/bin Creating and Installing RPM Package for PTL1. Create RPM Package for PTL
./autogen.sh
./configure --prefix=/opt/pbs --enable-ptl
make dist
rpmbuild -ba openpbs.spec --with ptl 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 2. Install RPM PackageUse "yum install" for all the dependencies to install along with the package. 3. Update Your PathsYou may need to log in again to update your PATHs. |
...