mstation:torque
差别
这里会显示出您选择的修订版和当前版本之间的差别。
| 两侧同时换到之前的修订记录前一修订版后一修订版 | 前一修订版 | ||
| mstation:torque [2024/03/26 14:22] – pengge | mstation:torque [2024/03/27 10:23] (当前版本) – pengge | ||
|---|---|---|---|
| 行 1: | 行 1: | ||
| - | ====== 老环境 torque 调度使用 pwmat ====== | + | ====== 老环境 |
| * 作业脚本示例 <wrap tip>1 node</ | * 作业脚本示例 <wrap tip>1 node</ | ||
| 行 24: | 行 24: | ||
| #!/bin/bash | #!/bin/bash | ||
| #PBS -N pwmat_test | #PBS -N pwmat_test | ||
| - | #PBS -l nodes=node1:ppn=4+node2:ppn=4 | + | #PBS -l nodes=2:ppn=8 |
| + | #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</ | ||
| + | |||
| + | < | ||
| + | # | ||
| + | #PBS -N pwmat_test | ||
| + | #PBS -l nodes=gn1:ppn=4+gn2:ppn=4 | ||
| #PBS -l walltime=2: | #PBS -l walltime=2: | ||
| #PBS -q batch | #PBS -q batch | ||
mstation/torque.1711434170.txt.gz · 最后更改: 2024/03/26 14:22 由 pengge
