mpirun 与 PBS 问题

最近所用的大型机安装了PBSpro作业调度系统,但按照介绍写了一个script文件后,提交的作业不能正常运行,由于没有接触过PBS所以请教论坛里的各位问题出在哪里?
script文件如下(文件名就是wrf,用vi编辑的):
#!/bin/bash
#PBS -N wrfcalculation
#PBS -l walltime=1:00:00
mpirun -np 16 ./lee/wrfv2/run/wrf.exe
保存文件后,用命令qsub wrf运行,不能正常开始运算,显示并行进程不能启动,信息如下:
starting wrf task            0  of           12
starting wrf task            1  of           12
starting wrf task            2  of           12
starting wrf task            4  of           12
starting wrf task            5  of           12
starting wrf task            6  of           12
starting wrf task            7  of           12
MPI: MPI_COMM_WORLD rank 0 has terminated without calling MPI_Finalize()
MPI: aborting job

而如果直接启动并行运算,输入mpirun -np 16 wrf.exe是可以正常计算的。
感觉问题出在script文件编写里,但由于学校提供的说明太简单,不知道该怎么改。请高手帮忙。
原文地址:https://www.cnblogs.com/cy163/p/1185286.html