Commit b4f7a71d authored by Paul Rich's avatar Paul Rich
Browse files

Qsub path can now be specified for eLogin qsubs.

This prevents us from getting a unwrapped or the qsub being in a
different location on the mom from the eLogin host when using qsub -I
from a eLogin node on Cray systems.
parent a47fa6b8
......@@ -527,6 +527,11 @@ The path to Cray's apbasil command. The default path is
The path to Cray's apkill command. The default path is
.B cray_mom_qsub
The path to qsub on the mom (or other alps_script_forker) nodes to use when
using interactive qsub from the eLogin hosts on Cray systems. This must be a
fully qualified path. The default is /usr/bin/qsub
.B default_depth
The default processors per node. This should be set to the number of KNL cores
on each node for XC40 systems. The default value is 72.
......@@ -79,6 +79,7 @@ SYSMGR = client_utils.SYSMGR
QUEMGR = client_utils.QUEMGR
CN_DEFAULT_KERNEL = get_config_option('bgsystem', 'cn_default_kernel', 'default')
ION_DEFAULT_KERNEL = get_config_option('bgsystem', 'ion_default_kernel', 'default')
CRAY_MOM_QSUB = get_config_option('alps', 'cray_mom_qsub', '/usr/bin/qsub')
def on_interrupt(sig, func=None):
......@@ -465,8 +466,8 @@ def qsub_remote_host(host):
SSH_CMD = '/usr/bin/ssh'
# And yes, that behavior is inherently broken.
ssh_cmd = [SSH_CMD, '-t', host]
ssh_cmd = [SSH_CMD, '-t', host, CRAY_MOM_QSUB]
def run_job(parser, user, spec, opts):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment