The authenticity of host 'sched (10.27.12.5)' can't be established.
ECDSA key fingerprint is SHA256:ZNXGHp3Gi3lziOdaCUDRinH4qSt7KyHZyqtRp0C49a8.
ECDSA key fingerprint is MD5:49:91:8c:9d:0b:ac:44:fb:75:4c:2b:f3:43:4f:51:4f.
Are you sure you want to continue connecting (yes/no)?
输入yes之后会提示输入密码:
12
Warning: Permanently added 'p-hwc-sched-1.biolab.ekicloud.com,10.27.12.5'(ECDSA) to the list of known hosts.
zhenghy@p-hwc-sched-1.biolab.ekicloud.com's password:
输入个人密码即可完成登陆,登陆后会弹出欢迎界面:
1 2 3 4 5 6 7 8 91011
Last login: Mon Apr 2610:24:21 2021 from 10.3.1.102
(C)2021 Beijing Ekitech Co. Ltd.
===============================================
- Hostname............: p-hwc-sched-1.biolab.ekicloud.com
- Disk Space..........: 64G remaining===============================================
- CPU usage...........: 0.00, 0.01, 0.05 (1, 5, 15 min)
- Memory used.........: 832 MB / 7820 MB
- Swap in use.........: 0MB===============================================
Slurm Job Script Generator for hpc-class
Please set memory for this job.
Notes: maximum memory you are allowed is 32 >
根据需要输入内存数(如1G)即可。如不输入单位,会使用默认单位MB, 之后会提示输入所需cpu数
12
Number of processor cores per node
Notes: maximum processor cores you are allowed is 16 >
根据需要输入cpu数(如1)接下来,请输入要执行的任务
12
Specify the executable of your application.
>
最后为输入本次任务的名字以便于查看结果
1
Specify a name for your job.
完整过程如下
1 2 3 4 5 6 7 8 9101112
❯ ekbatch
Slurm Job Script Generator for hpc-class
Please set memory for this job.
Notes: maximum memory you are allowed is 32 >1G
Number of processor cores per node
Notes: maximum processor cores you are allowed is 16 > 1
Specify the executable of your application.
> hostname | wait 10 | hostname
Specify a name for your job.
> show
your job begins running
Submitted batch job 311482
ekrun 命令用于执行需要实时反馈的任务。您仅需在您的命令增加 ekrun 既可以以一个cpu两g内存向超算系统提交一个任务并实时获得反馈。 如 ekrun your job;
❯ ekrun interact hostname
Please set memory for this job:
> 1
Number of processor cores per node
Notes: maximum processor cores you are allowed is 32
> 1