用户工具

站点工具


mstation:torque

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

后一修订版
前一修订版
mstation:torque [2024/03/26 06:14] – 创建 penggemstation:torque [2026/07/30 04:09] (当前版本) – 外部编辑 127.0.0.1
行 1: 行 1:
-====== 老环境 torque 调度使用 pwmat ======+~~DISCUSSION:off~~ 
 +====== 老环境 pbs torque 调度使用 pwmat ====== 
 + 
 +  * 作业脚本示例 <wrap tip>1 node</wrap>
  
-  * 作业脚本示例 
-  
 <code bash> <code bash>
 #PBS -N tutorial_scf #PBS -N tutorial_scf
行 16: 行 17:
  
 mpirun -np ${NPROCS} PWmat | tee output mpirun -np ${NPROCS} PWmat | tee output
 +
 +</code>
 +
 +  * 作业脚本示例 <wrap tip>2 node</wrap>
 +
 + <code bash>
 +#!/bin/bash
 +#PBS -N pwmat_test
 +#PBS -l nodes=2:ppn=8
 +#PBS -l walltime=2:00:00
 +#PBS -q batch
 +#PBS -o PWmat.out
 +#PBS -e PWmat.err
 +
 +ulimit -s unlimited
 +source /where/your/install/pwmat/pwmat.env #this line may vary according to where the PWmat installed
 +
 +cd $PBS_O_WORKDIR
 +NP=`cat $PBS_NODEFILE | wc -l`
 +cat $PBS_NODEFILE < ./hosts
 +
 +mpirun -np $NP --machinefile $PBS_NODEFILE PWmat | tee output
 +
 +</code>
 +
 +  * 作业脚本示例 <wrap tip>2 node</wrap><wrap safety>指定 gn1, gn2 节点</wrap>
 +
 + <code bash>
 +#!/bin/bash
 +#PBS -N pwmat_test
 +#PBS -l nodes=gn1:ppn=4+gn2:ppn=4
 +#PBS -l walltime=2:00:00
 +#PBS -q batch
 +#PBS -o PWmat.out
 +#PBS -e PWmat.err
 +
 +ulimit -s unlimited
 +source /where/your/install/pwmat/pwmat.env #this line may vary according to where the PWmat installed
 +
 +cd $PBS_O_WORKDIR
 +NP=`cat $PBS_NODEFILE | wc -l`
 +cat $PBS_NODEFILE < ./hosts
 +
 +mpirun -np $NP --machinefile $PBS_NODEFILE PWmat | tee output
  
 </code> </code>
mstation/torque.1711433651.txt.gz · 最后更改: 2024/03/26 06:14 由 pengge