24小时热门版块排行榜    

查看: 1850  |  回复: 5

byin

铜虫 (正式写手)

[交流] 【求助】MS在Linux下的并行计算问题 已有5人参与

先在win下生成计算castep所需的文件,param和cell,导入Linux系统。


在计算的时候,如果不指定cpu的个数,直接“./RunCastep.sh name”,就能计算。
生成的std_out.txt显示:
Checked out license feature: MS_castep [for Unavailable] (1 copy)


但是如果指定个数,例如,“./RunCastep.sh -np 4 name”,就会出错,算不了。
生成的std_out.txt显示:
-------------------------------------------------------------------------------------------------------------------
invalid "local" arg: -e

usage:
mpiexec [-h or -help or --help]    # get this message
mpiexec -file filename             # (or -f) filename contains XML job description
mpiexec [global args] [local args] executable [args]
   where global args may be
      -l                           # line labels by MPI rank
      -bnr                         # MPICH1 compatibility mode
      -machinefile                 # file mapping procs to machines
      -s                     # direct stdin to "all" or 1,2 or 2-4,6
      -1                           # override default of trying 1st proc locally
      -ifhn                        # network interface to use locally
      -tv                          # run procs under totalview (must be installed)
      -tvsu                        # totalview startup only
      -gdb                         # run procs under gdb
      -m                           # merge output lines (default with gdb)
      -a                           # means assign this alias to the job
      -ecfn                        # output_xml_exit_codes_filename
      -recvtimeout    # timeout for recvs to fail (e.g. from mpd daemon)
      -g           # global version of local arg (below)
    and local args may be
      -n or -np             # number of processes to start
      -wdir               # working directory to start in
      -umask                # umask for remote process
      -path               # place to look for executables
      -host              # host to start on
      -soft                  # modifier of -n value
      -arch                  # arch type to start on (not implemented)
      -envall                      # pass all env vars in current environment
      -envnone                     # pass no env vars
      -envlist # pass current values of these vars
      -env           # pass this value of this env var
mpiexec [global args] [local args] executable args : [local args] executable...
mpiexec -gdba jobid                # gdb-attach to existing jobid
mpiexec -configfile filename       # filename contains cmd line segs as lines
  (See User Guide for more details)

Examples:
   mpiexec -l -n 10 cpi 100
   mpiexec -genv QPL_LICENSE 4705 -n 3 a.out

   mpiexec -n 1 -host foo master : -n 4 -host mysmp slave
-------------------------------------------------------------------------------------------------------------------

不知道有没有朋友遇到过这种情况,多多帮忙。服务器不能并行等于没用啊~~


PS:还有不管指不指定,都会出现如下的一段提示:
/home/ybl/Accelrys/MaterialsStudio50/share/bin/runMSserver.sh: eval: line 3: syntax error near unexpected token `('
/home/ybl/Accelrys/MaterialsStudio50/share/bin/runMSserver.sh: eval: line 3: `LD_LIBRARY_PATH=/home/ybl/Accelrys/MaterialsStudio50//lib:/home/ybl/Accelrys/MaterialsStudio50//lib/32:/opt/intel/cce/10.1.018/lib:/opt/intel/fce/10.1.018/lib; export LD_LIBRARY_PATH; OMP_NUM_THREADS=1; export OMP_NUM_THREADS; F_UFMTENDIAN=big; export F_UFMTENDIAN; MPI_VER=mpiexec_saammsg.zju.edu: cannot connect to local mpd (/tmp/mpd2.console_ybl); possible causes:; export MPIVER; MPI_ROOT=/usr/local; export MPI_ROOT; MPI_COMMAND="/usr/local/bin/mpirun -e MPI_REMSH=/usr/bin/ssh -prot -f APPFILE "; export MPI_COMMAND; GATEWAY_TMP="/home/ybl/tmp"; export GATEWAY_TMP; ulimit -Ss unlimited;'


望高手指点,不胜感激!
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

jghe

金虫 (著名写手)


gavinliu7390(金币+1):谢谢交流! 2010-06-25 07:39:44
可能是你的mpi没有装好
2楼2010-06-24 20:50:39
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

wydzyx2003

金虫 (正式写手)

★ ★
小木虫(金币+0.5):给个红包,谢谢回帖
mazuju028(金币+1): 谢谢交流 2011-05-29 12:51:10
你不指定多核计算,只用一核试试。如果可以就是HPMPI没装好,我也正发愁呢。
3楼2011-05-29 12:01:24
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

njuswj

银虫 (小有名气)

★ ★
小木虫(金币+0.5):给个红包,谢谢回帖
zzy870720z(金币+1): 谢谢提示 2011-05-29 23:24:33
请问你的hpmpi是不是用root用户默认安装的?
如果不是, 你需要修改hpmpi的路径, 如果是, 我就不知道是怎么回事了...
4楼2011-05-29 12:27:56
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

flywander

新虫 (初入文坛)


小木虫: 金币+0.5, 给个红包,谢谢回帖
同样的问题,求高手解答。。。。
5楼2012-10-24 23:35:57
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

愤怒的姿态

金虫 (小有名气)

★ ★
小木虫: 金币+0.5, 给个红包,谢谢回帖
sunyang1988: 金币+1, 谢谢交流 2013-10-11 15:31:43
感觉是mpi没装好,我的是root用户安装的mpi,能用!
6楼2013-10-09 09:18:01
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 byin 的主题更新
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 0703化学调剂,求各位老师收留 +7 秋有木北 2026-03-14 7/350 2026-03-15 17:30 by 小物理化学
[基金申请] 国自科面上基金字体 +4 iwuli 2026-03-12 5/250 2026-03-15 17:07 by 风云无泪
[考研] 311求调剂 +3 26研0 2026-03-15 3/150 2026-03-15 09:12 by JourneyLucky
[考研] 中科大材料专硕319求调剂 +3 孟鑫材料 2026-03-13 3/150 2026-03-14 18:10 by houyaoxu
[考研] 297一志愿上交085600求调剂 +5 指尖八千里 2026-03-14 5/250 2026-03-14 17:26 by a不易
[考研] 265求调剂 +4 威化饼07 2026-03-12 4/200 2026-03-14 17:23 by userper
[考研] 一志愿哈工大材料324分求调剂 +5 闫旭东 2026-03-14 5/250 2026-03-14 14:53 by 木瓜膏
[考研] 337一志愿华南理工材料求调剂(有希望2吗?) +3 mysdl 2026-03-09 3/150 2026-03-14 02:53 by JourneyLucky
[考研] 求调剂! +4 朔朔话 2026-03-09 4/200 2026-03-14 01:38 by JourneyLucky
[考研] 环境调剂 +6 晓看天暮看云 2026-03-09 6/300 2026-03-14 01:16 by JourneyLucky
[考研] 327求调剂 +4 Ffff03 2026-03-10 4/200 2026-03-14 00:17 by JourneyLucky
[考研] 332求调剂 +3 zjy101327 2026-03-11 6/300 2026-03-13 22:48 by JourneyLucky
[考研] 一志愿中科院,化学方向,295求调剂 +4 一氧二氮 2026-03-11 4/200 2026-03-13 22:35 by JourneyLucky
[考研] [0860]321分求调剂,ab区皆可 +4 宝贵热 2026-03-13 4/200 2026-03-13 22:01 by 星空星月
[考研] 332求调剂 +3 Zz版 2026-03-13 3/150 2026-03-13 20:36 by 18595523086
[考研] 材料与化工085600调剂求老师收留 +9 jiaanl 2026-03-11 9/450 2026-03-13 20:22 by JourneyLucky
[考研] 301求调剂 +6 Liyouyumairs 2026-03-11 6/300 2026-03-13 20:11 by JourneyLucky
[考研] 290求调剂 +3 ADT 2026-03-13 3/150 2026-03-13 10:19 by peike
[考研] 研究生招生 +3 徐海涛11 2026-03-10 7/350 2026-03-12 14:26 by 徐海涛11
[考研] 家人们 调剂不迷路 看这里 +8 likeihood 2026-03-09 13/650 2026-03-10 08:09 by likeihood
信息提示
请填处理意见