- 积分
- 8365
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2012-5-1
- 最后登录
- 1970-1-1
|
GrADS
系统平台: |
linux |
问题截图: |
- |
问题概况: |
本人刚刚转wrf,通过服务器,如果直接在xshell的前端输入./real.exe,可以正常输出边界与初始值,但是通过qsub提交作业后,虽然能生成作业编号,但是一直没有结果输出 |
我看过提问的智慧: |
看过 |
自己思考时长(天): |
7 |
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
本帖最后由 兰北 于 2014-7-7 20:40 编辑
本人初学wrf,通过服务器,如果直接在xshell的前端输入./real.exe,可以正常输出边界与初始值,但是通过qsub提交作业后,虽然能生成作业编号,但是一直没有结果输出,找了好久,也不知问题出在哪里,请各位大神多多指教!谢谢!
pbs文件如下:
#!/bin/sh
#################################################################
#job name
#PBS -N WRFemreal
#PBS -d /disk4/wangll/wrf/WRFV3/test/em_real
#nodes: number of nodes requested by job
#ppn : the number of processors per node requested by job
#eg : nodes=4:ppn=4
#eg : nodes=cu01:ppn=4+cu02:ppn=8
#eegg PBS -l nodes=cu03:ppn=2+cu04:ppn=2
#eegg PBS -l nodes=8:ppn=8
#PBS -l nodes=cu15:ppn=8+cu17:ppn=8+cu19:ppn=8+cu20:ppn=8
#Maximum amount of real time during which the job can be in the running state
#PBS -l walltime=48:00:00
#Maximum amount of physical memory used by the job
#PBS -l mem=8000mb
#set the queue
#PBS -q routine
#Defines the set of conditions under which the execution server will send a mail
#message about the job.
#PBS -m abe
#Declares the list of users to whom mail is sent by the execution server when it
#sends mail about the job.
#Declares that all environment variables in the qsub commands environment are
#to be exported to the batch job
#PBS -V
#executable programe
EXEC=/disk4/wangll/wrf/WRFV3/test/em_real/real.exe
#EXEC=/disk4/wangll/wrf/WRFV3/test/em_real/wrf.exe
################################################################
NP=`cat $PBS_NODEFILE | wc -l`
NN=`cat $PBS_NODEFILE | sort | uniq | tee /tmp/nodes.$$ | wc -l`
cat $PBS_NODEFILE > /tmp/nodefile.$$
#sed -i s/$/-ib/ /tmp/nodes.$$
#sed -i s/$/-ib/ /tmp/nodefile.$$
#awk '{ ++s[$1] } END {for(a in s) print a":"s[a]}' $PBS_NODEFILE > /tmp/nodefile.$$
mpdboot -n $NN -f /tmp/nodes.$$ -r ssh
mpiexec -genv I_MPI_DEVICE rdma -machinefile /tmp/nodefile.$$ -n $NP $EXEC
mpdallexit
rm -f /tmp/nodes.$$
通过qstat查询后,显示time use一直为0,如下图
|
-
|