forked from thunlp/OpenNE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHPC-introduction.txt
50 lines (44 loc) · 3.19 KB
/
HPC-introduction.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
如何进入组的服务器
[acq17lw@sharc-login1 ~]$ qshrx -P tale
-bash: qshrx: 未找到命令
最重要的四步 一定需要一步一步来
[acq17lw@sharc-login1 ~]$ qrshx -P tale
[acq17lw@sharc-node156 ~]$ module load apps/python/anaconda3-4.2.0
Conda uses environments to load different sets of Python packages
type conda env list to see the environments availible.
[acq17lw@sharc-node156 ~]$ source activate myexperiment
(myexperiment) [acq17lw@sharc-node156 ~]$ pwd
/home/acq17lw
(myexperiment) [acq17lw@sharc-node156 ~]$ ls
OpenNE
(myexperiment) [acq17lw@sharc-node156 ~]$ cd OpenNE/
(myexperiment) [acq17lw@sharc-node156 OpenNE]$ python src/main.py --method line --label-file data/wiki/Wiki_category.txt --input data/wiki/Wiki_edgelist.txt --graph-format edgelist --output vec_all.txt --order 1 --epoch 20 --clf-ratio 0.5
如何使用sh 文件进行操作
(myexperiment) [acq17lw@sharc-node156 OpenNE]$ ls
data LICENSE Params README.md src t_sne.py
(myexperiment) [acq17lw@sharc-node156 OpenNE]$ ls
data LICENSE openNE.sh Params README.md src t_sne.py
(myexperiment) [acq17lw@sharc-node156 OpenNE]$ nano openNE.sh
(myexperiment) [acq17lw@sharc-node156 OpenNE]$ nano openNE.sh
(myexperiment) [acq17lw@sharc-node156 OpenNE]$ qsub openNE.sh
Your job 1562146 ("openNE.sh") has been submitted
(myexperiment) [acq17lw@sharc-node156 OpenNE]$ qstat
job-ID prior name user state submit/start at queue slots ja-task-ID
-----------------------------------------------------------------------------------------------------------------
1561715 0.01606 bash acq17lw r 07/31/2018 15:13:36 [email protected] 1
1561976 0.51079 bash acq17lw r 07/31/2018 16:57:29 [email protected] 1
1562146 0.00000 openNE.sh acq17lw qw 07/31/2018 18:04:29 1
(myexperiment) [acq17lw@sharc-node156 OpenNE]$ qstat
job-ID prior name user state submit/start at queue slots ja-task-ID
-----------------------------------------------------------------------------------------------------------------
1561715 0.01609 bash acq17lw r 07/31/2018 15:13:36 [email protected] 1
1561976 0.25579 bash acq17lw r 07/31/2018 16:57:29 [email protected] 1
1562146 0.25579 openNE.sh acq17lw r 07/31/2018 18:04:36 [email protected] 1
(myexperiment) [acq17lw@sharc-node156 OpenNE]$ qstat
job-ID prior name user state submit/start at queue slots ja-task-ID
-----------------------------------------------------------------------------------------------------------------
1561715 0.01611 bash acq17lw r 07/31/2018 15:13:36 [email protected] 1
1561976 0.51194 bash acq17lw r 07/31/2018 16:57:29 [email protected] 1
(myexperiment) [acq17lw@sharc-node156 OpenNE]$ ls
data LICENSE openNE.sh openNE.sh.e1562146 openNE.sh.o1562146 Params README.md src t_sne.py
(myexperiment) [acq17lw@sharc-node156 OpenNE]$ more openNE.sh.e1562146