使用torque / PBS创建新队列“不允许从主机访问”

时间:2013-08-06 22:17:54

标签: pbs torque fastq

我执行了以下命令。

qmgr -c "create queue fastq queue_type=execution" 
qmgr -c "set queue fastq started=true" 
qmgr -c "set queue fastq enabled=true" 
qmgr -c "set queue fastq acl_hosts=compute-0-30" 
qmgr -c "set queue fastq acl_host_enable=true" 
qmgr -c "set queue fastq acl_users=username" 
qmgr -c "set queue fastq acl_user_enable=true"

但是当我的PBS脚本有以下标题时,

#!/bin/sh
#PBS -l nodes=1:ppn=8
#PBS -N job
#PBS -u username
#PBS -q fastq
#PBS -be

mpirun script

我收到以下错误:

host.edu > qsub runscript
qsub: Access from host not allowed, or unknown host MSG=host ACL rejected the submitting     host: user username@email.com, queue fastq, host host.edu

1 个答案:

答案 0 :(得分:2)

如果从非扭矩服务器的计算机提交作业,则还需要设置submit_hosts标志。

参见文档中的附录B:

http://docs.adaptivecomputing.com/torque/help.htm#topics/12-appendices/serverParameters.htm#submist_hosts

要特别注意使用机器的完整主机名(从uname -n返回的值)。

您应该始终使用完全限定的主机名,因为扭矩可能非常挑剔。


我还建议您查看tar球根目录中的torque.setup。它将为基本配置提供种子。

qmgr -c 'p s' 
create queue batch
set queue batch queue_type = Execution
set queue batch resources_default.nodes = 1
set queue batch resources_default.walltime = 01:00:00
set queue batch enabled = True
set queue batch started = True
#
# Set server attributes.
#
set server scheduling = True
set server acl_hosts = foo.edu
set server default_queue = batch
set server log_events = 511
set server mail_from = adm
set server scheduler_iteration = 600
set server node_check_rate = 150
set server tcp_timeout = 300
set server job_stat_rate = 45
set server poll_jobs = True
set server mom_job_sync = True
set server keep_completed = 300
set server next_job_number = 19193
set server moab_array_compatible = True