From ac99a70f814c42e730d8adb8f41ef7e91695f38b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=93=E3=81=AE=E4=B8=AD=E4=BA=8C=E7=97=85=E3=81=AB?= =?UTF-8?q?=E7=88=86=E7=84=94=E3=82=92=EF=BC=81?= Date: Tue, 13 Apr 2021 14:53:39 +0800 Subject: [PATCH] deploy via ssh? --- Distribute_computing/HPC_cluster/Cluster.vb | 29 ++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/Distribute_computing/HPC_cluster/Cluster.vb b/Distribute_computing/HPC_cluster/Cluster.vb index 393b756..e641528 100644 --- a/Distribute_computing/HPC_cluster/Cluster.vb +++ b/Distribute_computing/HPC_cluster/Cluster.vb @@ -1,4 +1,6 @@ -''' +Imports Microsoft.VisualBasic.Net + +''' ''' 高性能计算集群,高性能计算集群采用将计算任务分配到集群的不同计算节点儿提高计算能力, ''' 因而主要应用在科学计算领域。比较流行的HPC采用Linux操作系统和其它一些免费软件来完成并行运算。 ''' @@ -6,6 +8,31 @@ ''' 这类程序一般应用特定的运行库, 比如专为科学计算设计的MPI库。HPC集群特别适合于在计算中各计算节点 ''' 之间发生大量数据通讯的计算作业,比如一个节点的中间结果或影响到其它节点计算结果的情况。 ''' +''' +''' This module only works on Linux server +''' Public Class Cluster + ReadOnly remote As IPEndPoint + ReadOnly userName As String + ReadOnly imageName As String + + ''' + ''' create a helper module for deploy environment via ``ssh`` and ``cluster node share storage``. + ''' + ''' + ''' + ''' + Sub New(remote As IPEndPoint, userName As String, Optional imageName As String = Nothing) + Me.remote = remote + Me.userName = userName + Me.imageName = imageName + End Sub + + ''' + ''' + ''' + Public Sub Deploy() + + End Sub End Class