Questions in category: 编码与密码实验室 (MathHPC)
机构 >> 实验室 >> 编码与密码实验室

1. IBM 售后服务电话

Posted by haifeng on 2013-11-01 16:49:30 last update 2013-11-01 16:49:30 | Answers (0) | 收藏


400-810-1818

按 # 转人工

2. Torque PBS管理系统

Posted by haifeng on 2013-10-30 17:48:35 last update 2013-11-01 16:45:39 | Answers (0) | 收藏


http://www.360doc.com/content/10/1214/05/4480165_77907575.shtml

Torque PBS 提供对批处理作业和分散的计算节点(Compute nodes)的控制.

PBS Protable Batch System 的缩写, 是一个任务管理系统. 当多个用户使用同一个计算资源时, 每个用户用PBS脚本提交自己的任务, 由PBS 对这些任务进行管理和资源的分配.

3. 作业提交流程

Posted by haifeng on 2013-10-30 17:27:14 last update 2013-11-01 16:31:35 | Answers (0) | 收藏


  1. 在自己的工作目录下运行 genQue 命令, 可以得到 Job_que.sh 文件.
  2. 编辑 Job_que.sh
  3. 使用 qsub Job_que.sh 提交作业.

genQue 位于 /opt/HPCconfig/bin/genQue

# which genQue
/opt/HPCconfig/bin/genQue
 
# genQue
 

编辑 genQue, 其内容是

#!/bin/bash

#-----------------------------------
# Name: genQue
#-----------------------------------
# Script is used to Create PBS job submitting shell script
#-----------------------------------
#-- Created by ...
#-- Updated by ...
# 
#-----------------------------------

ShellName="genQue"
LogFile="/opt/HPCconfig/log/installlog/$ShellName.log"


HOMEDIR=/home/
BINDIR=/opt/HPCconfig/bin/
SBINDIR=/opt/HPCconfig/sbin/
ETCDIR=/opt/HPCconfig/etc/
NodeList=/opt/HPCconfig/sysconfig/nodes
QueFile=/opt/HPCconfig/etc/queue/Que.pbs

#----------------------------------------------------------

QueName=Job_que.sh

#------ Create PBS job script file 
touch $QueName
cat $QueFile > $QueName

#------ Change File owner config
chmod +x $QueName
chown $USERNAME:$USERNAME $QueName

 

 

生成的文件 Job_que.sh 实际上是 的具体内容是 /opt/HPCconfig/etc/queue/Que.pbs 中的内容, 具体如下

#!/bin/sh

#PBS -N JOB
#PBS -l nodes=1:ppn=8
#PBS -l feature=xe
#PBS -l naccesspolicy=singlejob
#PBS -o RunJob.out
#PBS -e RunJob.err
#PBS -l walltime=120:00:00  ## ( 表示如果运行时间超过 120 小时, 则作业将被自动停止. )
#PBS -q batch

echo --------- `date` ----------

echo HomeDirectory is $PWD
echo
echo Current Dir is $PBS_O_WORKDIR
echo


cd $PBS_O_WORKDIR

echo "------------This is the node file -------------"
cat $PBS_NODEFILE
echo "-----------------------------------------------"
cat $PBS_NODEFILE > host.mpd


np=$(cat $PBS_NODEFILE | wc -l)
echo The number of core is $np
echo
echo

#-----------------------------------------------------#
#    OpenMPI Job Submitting Example    #
#    
#    mpirun -np $np -machinefile host.mpd $BINPATH ...
#
#
#-__--------------------------------------------------#
#            -__-  have fun!     #



 

4. Maui

Posted by haifeng on 2013-10-30 17:19:10 last update 2013-10-30 17:19:52 | Answers (0) | 收藏


Maui Scheduler Administrator\'s Manual

This is the Administrator\'s Manual for the Maui Scheduler. The purpose of this document is to allow Administrators to install, use, and configure the Maui Scheduler.

http://anusf.anu.edu.au/~dbs900/PBS/Maui/

 

5. SNMP, MIBs and OIDs 的介绍

Posted by haifeng on 2013-10-30 17:09:11 last update 2019-04-05 19:56:15 | Answers (0) | 收藏


SNMP, MIBs and OIDs 的介绍

http://www.paessler.com/knowledgebase/en/topic/653-how-do-snmp-mibs-and-oids-work

6. 远程登录 HPC

Posted by haifeng on 2013-03-21 23:02:04 last update 2013-03-21 23:08:57 | Answers (0) | 收藏


Windows 系统

1. 下载并安装 Xshell4 (安装时选择 Free for Home/School 即可免费使用)

http://www.netsarang.com/download/down_xsh.html

2. 启动 Xshell 4

 

# ssh hostname

或者

# ssh user@hostname

 


 Linux 系统

只要安装了 openssh, 则在终端下使用上面的 ssh 命令即可.

7. 用户管理

Posted by haifeng on 2013-03-21 21:47:08 last update 2013-03-21 23:13:44 | Answers (0) | 收藏


只有 root 才有权限添加用户、删除用户.

# addclusteruser		# 直接回车, 根据提示添加用户名, 并设置密码\r

 

# delclusteruser username	# 删除用户