First download PBS Pro, where the v14.1.0 version is used. Download Address: https://github.com/PBSPro/pbspro/archive/v14.1.0.tar.gz
After downloading, change the file name to pbspro-14.1.0.tar.gz prep machine
Prepare two machines, the machine name is Pbsmaster and Pbsslave respectively.
Modify the/etc/hosts files of two machines to ensure that two machines can access each other. Making RPM Packages
The following command runs with the root user
# mkdir-p/root/rpmbuild/sources/ # mv pbspro-14.1.0.tar.gz/root/rpmbuild/sources/pbspro-14.1.0.tar.gz # CD /root/rpmbuild/sources && tar zxvf pbspro-14.1.0.tar.gz # cd/root/rpmbuild/sources/pbspro-14.1.0 & & Rpmbuild-ba Pbspro.spec
After executing the above command, a few RPM packages are generated in the/root/rpmbuild/rpms/x86_64 directory, as follows:
pbspro-client-14.1.0-0.x86_64.rpm pbspro-debuginfo-14.1.0-0.x86_64.rpm pbspro-execution-14.1.0-0.x86_ 64.rpm pbspro-server-14.1.0-0.x86_64.rpm
# yum Install-y pbspro-server-14.1.0-0.x86_64.rpm
Pbs_server=pbsmaster Pbs_start_mom=1
Log on to the master node and run as root
# yum Install pbspro-execution-14.1.0-0.x86_64.rpm
Pbs_server=pbsmaster
$clienthost Pbsmaster
# . /etc/profile.d/pbs.sh # qmgr-c ' Create node Pbsslave '
Log on to the master node using a normal user, and then run
$ . /etc/profile.d/pbs.sh # View node status $ pbsnodes-a # Submit Job $ Echo ' sleep 123 ' | qsub # View Job $ qstat-a
Reprint please indicate this link form link
This article link: http://blog.csdn.net/kongxx/article/details/52708542
https://topic.alibabacloud.com/a/install-pbs-pro-with-the-rpm-package_8_8_20281233.html
Post a Comment