在GCP中,我想创建一个SLURM集群。因此,我在这里遵循了指南: https://cloud.google.com/blog/products/gcp/easy-hpc-clusters-on-gcp-with-slurm
一切似乎都有效,直到我将ssh进入控制器oder登录节点的步骤为止。登录本身即可:
~/slurm-slurm-17.11/contribs/gcp$ gcloud deployment-manager deployments create slurm --config slurm-cluster.yaml
~/slurm-slurm-17.11/contribs/gcp$ gcloud compute ssh controller --zone=us-east1-b
Last login: Tue Apr 30 09:50:50 2019 from 194....
SSSSSSS
SSSSSSSSS
SSSSSSSSS
SSSSSSSSS
SSSS SSSSSSS SSSS
SSSSSS SSSSSS
SSSSSS SSSSSSS SSSSSS
SSSS SSSSSSSSS SSSS
SSS SSSSSSSSS SSS
SSSSS SSSS SSSSSSSSS SSSS SSSSS
SSS SSSSSS SSSSSSSSS SSSSSS SSS
SSSSSS SSSSSSS SSSSSS
SSS SSSSSS SSSSSS SSS
SSSSS SSSS SSSSSSS SSSS SSSSS
S SSS SSSSSSSSS SSS S
SSS SSSS SSSSSSSSS SSSS SSS
S SSS SSSSSS SSSSSSSSS SSSSSS SSS S
SSSSS SSSSSS SSSSSSSSS SSSSSS SSSSS
S SSSSS SSSS SSSSSSS SSSS SSSSS S
S SSS SSS SSS SSS S
S S S S
SSS
SSS
SSS
SSS
SSSSSSSSSSSS SSS SSSS SSSS SSSSSSSSS SSSSSSSSSSSSSSSSSSSS
SSSSSSSSSSSSS SSS SSSS SSSS SSSSSSSSSS SSSSSSSSSSSSSSSSSSSSSS
SSSS SSS SSSS SSSS SSSS SSSS SSSS SSSS
SSSS SSS SSSS SSSS SSSS SSSS SSSS SSSS
SSSSSSSSSSSS SSS SSSS SSSS SSSS SSSS SSSS SSSS
SSSSSSSSSSSS SSS SSSS SSSS SSSS SSSS SSSS SSSS
SSSS SSS SSSS SSSS SSSS SSSS SSSS SSSS
SSSS SSS SSSS SSSS SSSS SSSS SSSS SSSS
SSSSSSSSSSSSS SSS SSSSSSSSSSSSSSS SSSS SSSS SSSS SSSS
SSSSSSSSSSSS SSS SSSSSSSSSSSSS SSSS SSSS SSSS SSSS
*** Slurm is currently being installed/configured in the background. ***
A terminal broadcast will announce when installation and configuration is
complete.
但是,即使我等待几个小时或一天,安装也无法完成。如何解决这个问题,或者如何找出问题所在?
这是文件slurm-cluster.yaml:
# Copyright 2017 SchedMD LLC.
# Modified for use with the Slurm Resource Manager.
#
# Copyright 2015 Google Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# [START cluster_yaml]
imports:
- path: slurm.jinja
resources:
- name: slurm-cluster
type: slurm.jinja
properties:
cluster_name : google1
static_node_count : 2
max_node_count : 10
zone : us-east1-b
region : us-east1
cidr : 10.10.0.0/16
controller_machine_type : n1-standard-2
compute_machine_type : n1-standard-2
login_machine_type : n1-standard-1
slurm_version : 17.11.5
default_account : default
default_users : ********
munge_key : 80bc8a12336e6094ced0cb3b2cb1e9c315d6276350207fecd7c293d4623a87bdba11e6eb38a1856fb78ff8dbd027860600f7df0f0d2c5fd960b4f16a0d3fc567f1 >
# [END cluster_yaml]
答案 0 :(得分:1)
解决方案是使用SchedMD下载页面上当前可用的SLURM版本:
https://www.schedmd.com/downloads.php
然后在slurm-cluster.yaml文件中相应地指定参数。