3

我已经执行了以下命令。

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
4

1 回答 1

2

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

请参阅文档中的附录 B:

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

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

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


我还建议您查看torque.setuptar 球的根目录内部。它将播种基本配置。

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 
于 2013-08-15T05:54:57.700 回答