stata在linux下效率更好吗,求问Linux系统下如何用StataMP并行计算?

各路大神好,本人linux小白,最近刚接触Linux操作系统,现在想利用服务器集群提高Stata15(MP)的运算速度,尝试了下面的PBS脚本,但是发现计算机无法读取命令(问题如下),请大家指教!非常感谢!

【test2.pbs文件内容】

#PBS -N test2

#PBS -l nodes=10:ppn=10

#PBS -j oe

#PBS -l walltime=0:10:00

#PBS -q high

source /public/software/profile.d/mpi_openmpi-2.0.0-intel.sh

cd $PBS_O_WORKDIR

echo my job id is $PBS_JOBID

echo run nodes is following:

cat $PBS_NODEFILE

echo begin time is `date`

id=`echo $PBS_JOBID|awk -F. '{print $1}' `

NP=`cat $PBS_NODEFILE|wc -l`

mpirun -np $NP -machinefile $PBS_NODEFILE ./mydo.sh

echo end time is `date`

【mydo.sh】文件内容

stata-mp -b do run.do

最后输出的test2.o文件出错的部分如下:

begin time is 2018年 06月 26日 星期二 17:08:36 CST

--------------------------------------------------------------------------

mpirun was unable to launch the specified application as it could not access

or execute an executable:

Executable: ./mydo.sh

Node: comput4

while attempting to start process rank 0.

--------------------------------------------------------------------------

10 total processes failed to start

end time is 2018年 06月 26日 星期二 17:08:40 CST

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值