PBS 安装
How to install PBS Pro using the configure script. . Install the prerequisite packages for building PBS Pro. For CentOS systems you should run the following command as root: yum install -y 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 expat-devel openssl-devel libXext libXft \
autoconf automake For openSUSE systems you should 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 autoconf automake For Debian systems you should run the following command as root: sudo apt-get install gcc make libtool libhwloc-dev libX11-dev \
libXt-dev libedit-dev libical-dev ncurses-dev perl \
postgresql-server-dev-all python-dev tcl-dev tk-dev swig \
libexpat-dev libssl-dev libxext-dev libxft-dev autoconf \
automake . Install the 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.). For CentOS systems you should run the following command as root: yum install -y expat libedit postgresql-server python \
sendmail sudo tcl tk libical For openSUSE systems you should run the following command as root: zypper install expat libedit postgresql-server python \
sendmail sudo tcl tk libical1 For Debian systems you should run the following command as root: apt-get install expat libedit2 postgresql python sendmail-bin \
sudo tcl tk libical1a . Open a terminal as a normal (non-root) user, unpack the PBS Pro
tarball, and cd to the package directory. tar -xpvf pbspro-14.0..tar.gz
cd pbspro-14.0. . Generate the configure script and Makefiles. (See note below) ./autogen.sh . Display the available build parameters. ./configure --help . Configure the build for your environment. You may utilize the
parameters displayed in the previous step. (See note below) For CentOS and Debian systems you should run the following
command: ./configure --prefix=/opt/pbs For openSUSE systems (see note below) you should run the
following command: ./configure --prefix=/opt/pbs --libexecdir=/opt/pbs/libexec . Build PBS Pro by running "make". (See note below) make . Configure sudo to allow your user account to run commands as
root. Refer to the online manual pages for sudo, sudoers, and
visudo. . Install PBS Pro. Use sudo to run the command as root. sudo make install . Configure PBS Pro by executing the post-install script. sudo /opt/pbs/libexec/pbs_postinstall . Edit /etc/pbs.conf to configure the PBS Pro services that
should be started. If you are installing PBS Pro on only
one system, you should change the value of PBS_START_MOM
from zero to one. If you use vi as your editor, you would
run: sudo vi /etc/pbs.conf . Some file permissions must be modified to add SUID privilege. sudo chmod /opt/pbs/sbin/pbs_iff /opt/pbs/sbin/pbs_rcp . Start the PBS Pro services. sudo /etc/init.d/pbs start . All configured PBS services should now be running. Update
your PATH and MANPATH variables by sourcing the appropriate
PBS Pro profile or logging out and back in. For Bourne shell (or similar) run the following:
. /etc/profile.d/pbs.sh For C shell (or similar) run the following:
source /etc/profile.d/pbs.csh . You should now be able to run PBS Pro commands to submit
and query jobs. Some examples follow. bash$ qstat -B
Server Max Tot Que Run Hld Wat Trn Ext Status
---------------- ----- ----- ----- ----- ----- ----- ----- ----- -----------
host1 Active
bash$ pbsnodes -a
host1
Mom = host1
ntype = PBS
state = free
pcpus =
resources_available.arch = linux
resources_available.host = host1
resources_available.mem = 2049248kb
resources_available.ncpus =
resources_available.vnode = host1
resources_assigned.accelerator_memory = 0kb
resources_assigned.mem = 0kb
resources_assigned.naccelerators =
resources_assigned.ncpus =
resources_assigned.netwins =
resources_assigned.vmem = 0kb
resv_enable = True
sharing = default_shared
license = l bash$ echo "sleep 60" | qsub
.host1
bash$ qstat -a host1:
Req'd Req'd Elap
Job ID Username Queue Jobname SessID NDS TSK Memory Time S Time
--------------- -------- -------- ---------- ------ --- --- ------ ----- - -----
.host1 mike workq STDIN -- -- R : bash$ -------------------------------------------------------------------- NOTES: Note : If you modify configure.ac or adjust timestamps on any files
that are automatically generated, you will need to regenerate them
by re-running autogen.sh. Note : It is advisable to create a simple shell script that calls
configure with the appropriate options for your environment. This
ensures configure will be called with the same arguments during
subsequent invocations. If you have already run configure you can
regenerate all of the Makefiles by running "./config.status".
The first few lines of config.status will reveal the options that
were specified when configure was run. If you set envirnment
variables such as CFLAGS it is best to do so as an argument to
configure (e.g. ./configure CFLAGS="-O0 -g" --prefix=/opt/pbs).
This will ensure consistency when config.status regenerates the
Makefiles. Note : The openSUSE rpm package expands %_libexecdir to /opt/pbs/lib
rather than /opt/pbs/libexec which causes problems for the post-
install scripts. Providing the --libexecdir value to configure
overrides this behavior. Note : You need to use a POSIX (or nearly POSIX) make. GNU make
works quite well in this regard; BSD make does not. If you are
having any sort of build problems, your make should be a prime
suspect. Tremendous effort has been expended to provide proper
dependency generation and makefiles without relying on any
non-POSIX features. The build should work fine with a simple call
to make, however, complicating things by using various make flags
is not guaranteed to work. Don't be surprised if the first thing
that make does is call configure again.
PBS 安装的更多相关文章
- Centos7 安装单节点Torque PBS
Operation system: CentOS 7.3 Torque PBS: torque-6.1.1.1.tar hostname: rfmlab user name: cfd01 1. Ins ...
- SOA_环境安装系列3_Oracle Weblogic安装和环境搭建(案例)
2014-01-03 Created By BaoXinjian
- WLS_Oracle Weblogic安装和环境搭建(案例)
2014-01-03 Created By BaoXinjian
- zabbix系列之六——安装后配置二Items
https://www.zabbix.com/documentation/3.4/manual/config/items/itemtypes/snmp 1Items 1.1creating items ...
- unity5, custom PBS shader
unity5中引入了基于物理着色(PBS)的Standard shader.由于这种着色器通过调节参数和贴图可逼真模拟各种硬质表面,所以不必再像unity4时代那样需要对各种质感材质单独编写着色器,而 ...
- PostMan的在线安装和简单使用
Postman是一款很流行的WEB接口测试工具,因其强大的功能及清新的界面,赢得许多测试及开发者的喜爱. 1.PostMan的在线安装 因google退出中国,使得chrome上的扩展插件无法在线 ...
- 【Linux】单计算机安装PBS系统(Torque)与运维
1.此次使用torque-5.0.0-1_43d8f09a.tar.gz这个版本http://www.adaptivecomputing.com/downloading/?file=/torque/t ...
- docker——容器安装tomcat
写在前面: 继续docker的学习,学习了docker的基本常用命令之后,我在docker上安装jdk,tomcat两个基本的java web工具,这里对操作流程记录一下. 软件准备: 1.jdk-7 ...
- 网络原因导致 npm 软件包 node-sass / gulp-sass 安装失败的处理办法
如果你正在构建一个基于 gulp 的前端自动化开发环境,那么极有可能会用到 gulp-sass ,由于网络原因你可能会安装失败,因为安装过程中部分细节会到亚马逊云服务器上获取文件.本文主要讨论在不变更 ...
随机推荐
- linux遇到 软件包系统已损坏 怎么解决
软件包系统已损坏检查您是否使用了第三方源.如果是就禁用它们,它们常常导致问题. 然后在终端中运行以下命令:apt-get install -f 如果遇到以上问题 输入以下命令可以解决 sudo apt ...
- 5.开发webservice
package com.atguigu.ws; import javax.jws.WebMethod; import javax.jws.WebService; /** * * @author Adm ...
- eclipse for java developer和eclipse for java ee developer的区别
eclipse是基于插件机制的软件,插件本身是不能启动和操作的,它们需要一个环境,eclipse使用osgi r4规范实现了这个环境. osgi是java动态模块化的规范,该规范不光要让java程序模 ...
- Oracle中的日期加减
加法 select sysdate,add_months(sysdate,12) from dual; --加1年 select sysdate,add_months(sysdate ...
- 亲手使用Sencha Touch + phonepag开发Web APP随笔 -- 环境安装篇
最近因为有个项目需要制作APP,考虑到需要兼容Android和IOS,所以想采用WebAPP的方式来开发.现在是从零开始学习之路,走起- 通过网上博客和论坛,开始安装了一堆软件: 1. Sench ...
- Mysql的基础使用之SQL原生语句的使用:表的 创建 删除 修改 (一)
上一篇主要讲的是关于Mysql的分支MariaDB在Linux下的安装 顺利安装完成的小伙伴,就可以接着来试试SQL的魅力了 红色为命令 蓝色为自定义名 查看数据库 MariaDB [(none)]& ...
- Windows访问Ubuntu14.04远程桌面全攻略
最近接到一个任务,在Ubuntu系统下开发一个串口读写程序.开发要在台式机上进行,安装UbuntuKylin 14.04,并且在串口连接了设备.个人使用的是笔记本电脑,系统是Windows8.1.自然 ...
- OJ生成器(一)制作Online Judge前的准备和策划
我这校区新的微机老师斗志昂扬,准备让我们这学校萎靡的信息技术竞赛重振雄风.然后有一次我半开玩笑地说建一个自己的OJ吧,老师也就鼓励我去做了. 开什么玩笑……!我可是马上要参加NOIP的人! 于是老师说 ...
- 被碾压过得Samsung SCH-W319 的取证恢复
2015年2月笔者接到一台! 被车轧过的手机Samsung SCH-W319,要求恢复 如图,显示屏被轧过,屏弯掉了 电池亦无,目前打不开!如下图: 配好电池后是这个样子,终于可以获得镜像dump 而 ...
- 关于 K米 —— 的案例分析
第一部分 调研,评测 评测 下载并使用,描述最简单直观的个人第一次上手体验. 我觉得ktv遥控软件设计的很好,给我带来了很多方便,点歌也不用那么麻烦了跑到台子那里点,调各种音量灯光也是,所以第一次上手 ...