Configuring tzdata
------------------
Please select the geographic area in which you live. Subsequent configuration
questions will narrow this down by presenting a list of cities, representing
the time zones in which they are located.
1. Africa 4. Australia 7. Atlantic 10. Pacific 13. Etc
2. America 5. Arctic 8. Europe 11. SystemV
3. Antarctica 6. Asia 9. Indian 12. US
Geographic area:
$ sinfo PARTITION AVAIL TIMELIMIT NODES STATE NODELIST arm up infinite 9 idle taishan-arm-cpu[01-09] gpu up infinite 8 idle sugon-gpu[01-08] cpu up infinite 10 idle x86-cpu[01-10]
指定节点跑程序srun
比如这里我有一个test.py的文件,内容如下:
1 2 3 4 5 6
#!/usr/bin/env python
import time for i inrange(10): time.sleep(1) print(i)
执行如下命令:
1
srun -p cpu -w x86-cpu01 python ./test.py
slurm最基本的命令是srun,比如上面一行的参数如下:
-p:指定分区PARTITION
-w:指定NODELIST
查看自己任务squeue
squeue -u +用户
1 2 3
~> squeue -u name JOBID PARTITION NAME USER ST TIME NODES NODELIST(REASON) 32236 cpu test.py name R 2:08 1 x86-cpu01
Before you start up the correlator, you should start up errormon2 to log the messages which come out of the correlator. Just type errormon2, and it will write a file called log (you can rename it later if you want). 在启动相关处理之前,您应该启动 errormon2 以记录相关处理输出的消息。 只需键入 errormon2 ,它将写入一个名为log的文件(如果需要,稍后可以将其重命名)。
一旦您拥有机器文件,并且errormon2正在运行,您就应该能够使用以下命令启动相关处理:
1
$ mpirun -machinefile machines.list -np X mpifxcorr example.input