mstation:torque
差别
这里会显示出您选择的修订版和当前版本之间的差别。
| 后一修订版 | 前一修订版 | ||
| mstation:torque [2024/03/26 14:14] – 创建 pengge | mstation:torque [2024/03/27 10:23] (当前版本) – pengge | ||
|---|---|---|---|
| 行 1: | 行 1: | ||
| - | ====== 老环境 torque 调度使用 pwmat ====== | + | ====== 老环境 |
| - | * 作业脚本示例 | + | * 作业脚本示例 |
| <code bash> | <code bash> | ||
| 行 16: | 行 16: | ||
| mpirun -np ${NPROCS} PWmat | tee output | mpirun -np ${NPROCS} PWmat | tee output | ||
| + | |||
| + | </ | ||
| + | |||
| + | * 作业脚本示例 <wrap tip>2 node</ | ||
| + | |||
| + | < | ||
| + | #!/bin/bash | ||
| + | #PBS -N pwmat_test | ||
| + | #PBS -l nodes=2: | ||
| + | #PBS -l walltime=2: | ||
| + | #PBS -q batch | ||
| + | #PBS -o PWmat.out | ||
| + | #PBS -e PWmat.err | ||
| + | |||
| + | ulimit -s unlimited | ||
| + | source / | ||
| + | |||
| + | cd $PBS_O_WORKDIR | ||
| + | NP=`cat $PBS_NODEFILE | wc -l` | ||
| + | cat $PBS_NODEFILE < ./hosts | ||
| + | |||
| + | mpirun -np $NP --machinefile $PBS_NODEFILE PWmat | tee output | ||
| + | |||
| + | </ | ||
| + | |||
| + | * 作业脚本示例 <wrap tip>2 node</ | ||
| + | |||
| + | < | ||
| + | #!/bin/bash | ||
| + | #PBS -N pwmat_test | ||
| + | #PBS -l nodes=gn1: | ||
| + | #PBS -l walltime=2: | ||
| + | #PBS -q batch | ||
| + | #PBS -o PWmat.out | ||
| + | #PBS -e PWmat.err | ||
| + | |||
| + | ulimit -s unlimited | ||
| + | source / | ||
| + | |||
| + | cd $PBS_O_WORKDIR | ||
| + | NP=`cat $PBS_NODEFILE | wc -l` | ||
| + | cat $PBS_NODEFILE < ./hosts | ||
| + | |||
| + | mpirun -np $NP --machinefile $PBS_NODEFILE PWmat | tee output | ||
| </ | </ | ||
mstation/torque.1711433651.txt.gz · 最后更改: 2024/03/26 14:14 由 pengge
