环境准备:centos系统,各节点解析,关闭防火墙
torque下载地址
http://www.adaptivecomputing.com/resources/downloads/torque/
安装:
$ tar -xvf torque.tar.gz
$ ./configure --prefix=/opt/software/torque
$ make && makeinstall
$ make packages 生成非主节点要安装的包,运行后回生成一些 *.sh 文件
安装后添加环境变量
export PATH=/opt/software/torque/bin:$PATH
export PATH=/opt/software/torque/sbin:$PATH
export LD_LIBRARY_PATH=/opt/software/torque/lib:$LD_LIBRARY_PATH
初始化配置
./torque.setup <username> 非root用户即可
时间: 2024-10-10 12:07:46