Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • gcc
  • autoconf
  • automake
  • hwloc-devel
  • libX11-devel
  • libXt-devel
  • libedit-devel
  • libical-devel
  • ncurses-devel
  • perl
  • postgresql-devel
  • python-devel >= 2.6
  • python-devel < 3.0
  • tcl-devel
  • tk-devel
  • swig
  • expat-devel (if suse then libexpat-devel)
  • openssl-devel (if suse then libopenssl-devel)

1. Install

...

dependencies for building PBS Pro:

For CentOS systems, run the following command as root:

...

zypper install gcc make rpm-build libtool hwloc-devel libX11-devel libXt-devel libedit-devel libical-devel ncurses-devel perl postgresql-devel python-devel tcl-devel tk-devel swig libexpat-devel libopenssl-devel libXext-devel libXft-devel fontconfig

2. Install

...

prerequisite packages for running PBS Pro:

In addition to the commands below, you should also install a text editor of your choosing (vim, emacs, gedit, etc.).

...

zypper install expat libedit postgresql-server python sendmail sudo tcl tk libical1

3. Install prerequisite packages for testing PBS Pro:

Make sure you have the following on your local system:

the pip command

the sudo command

the which command

the net-tools package

...

C. Build the rpm Package for PBS Pro <pbs_version>

...

  1.  Log in as root
  2.  Change directory to ~/rpmbuild/RPMS
  3.  Install the package: yum -y install /root/rpmbuild/RPMS/x86_64/pbspro-server-<pbs_version>.x86_64.rpm
  4.  Enable MoM via “PBS_START_MOM=1” in /etc/pbs.conf file
  5.  Start the PBS Pro daemons using /etc/init.d/pbs start
  6.  From a non-root account, make sure that PBS works by running a job
  7.  Continue as root
  8.  Install PTL dependencies: yum -y install python-pip sudo which net-tools
  9.  cd test/fw
  10.  Install PTL and dependencies: pip install -r requirements.txt .
  11.  Create user accounts and groups required by PTL:  pbs_config --make-ug
  12.  cd ../tests
  13.  Run PTL tests: pbs_benchpress -l INFOCLI2 -o ptl.txt
  14.  Once pbs_benchpress completes, you can find the PTL log in ptl.txt

...

  1.  Log in as root
  2.  Change directory to ~/rpmbuild/RPMS 
  3.  Install the package: zypper -n install /root/rpmbuild/RPMS/x86_64/pbspro-server-<pbs_version>.x86_64.rpm
  4.  Enable MoM via “PBS_START_MOM=1” in /etc/pbs.conf file
  5.  Start the PBS Pro daemons using /etc/init.d/pbs start 
  6.  From a non-root account, make sure that PBS works by running a job
  7.  Continue as root
     Install PTL dependencies: zypper -n install python-pip sudo which net-tools 
  8.  cd test/fw
  9.  Install PTL and dependencies: pip install -r requirements.txt .
  10.  Create user accounts and groups required by PTL: pbs_config --make-ug
  11.  cd ../tests
  12.  Run PTL tests: pbs_benchpress -l INFOCLI2 -o ptl.txt
  13.  Once pbs_benchpress completes, you can find the PTL log in ptl.txt

...