计算化学公社

 找回密码 Forget password
 注册 Register
Views: 98|回复 Reply: 1
打印 Print 上一主题 Last thread 下一主题 Next thread

[Molcas] 服务器公共集群上的molcas能编译成功,但无法运行

[复制链接 Copy URL]

160

帖子

0

威望

619

eV
积分
779

Level 4 (黑子)

迷茫的本科生一枚

试着用在服务器上跑Openmolcas任务,报错输出有点多,不好截图,先复制发上来吧
<string>:388: SyntaxWarning: invalid escape sequence '\.'
<string>:397: SyntaxWarning: invalid escape sequence '\.'
<string>:408: SyntaxWarning: invalid escape sequence '\d'
<string>:701: SyntaxWarning: invalid escape sequence '\s'
Traceback (most recent call last):
  File "<string>", line 517, in read_input
  File "<string>", line 22, in Python_Parse
  File "<string>", line 509, in __init__
  File "opt.input", line 6
    6-31G**
       ^
SyntaxError: invalid decimal literal

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/molcas/OpenMolcas-v21.06/bin/pymolcas", line 592, in <module>
    sys.exit(main(os.path.realpath(f)))
             ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<string>", line 213, in main
  File "<string>", line 520, in read_input
  File "<string>", line 74, in EMIL_Parse
  File "/home/anaconda3/lib/python3.12/site-packages/pyparsing/util.py", line 256, in _inner
    return fn(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/anaconda3/lib/python3.12/site-packages/pyparsing/core.py", line 1965, in parse_file
    return self.parse_string(file_contents, parseAll)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/anaconda3/lib/python3.12/site-packages/pyparsing/core.py", line 1190, in parse_string
    loc, tokens = self._parse(instring, 0)
                  ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/anaconda3/lib/python3.12/site-packages/pyparsing/core.py", line 852, in _parseNoCache
    loc, tokens = self.parseImpl(instring, pre_loc, doActions)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/anaconda3/lib/python3.12/site-packages/pyparsing/core.py", line 5042, in parseImpl
    return super().parseImpl(instring, loc, doActions)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/anaconda3/lib/python3.12/site-packages/pyparsing/core.py", line 4941, in parseImpl
    loc, tokens = self_expr_parse(instring, loc, doActions)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/anaconda3/lib/python3.12/site-packages/pyparsing/core.py", line 852, in _parseNoCache
    loc, tokens = self.parseImpl(instring, pre_loc, doActions)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/anaconda3/lib/python3.12/site-packages/pyparsing/core.py", line 4248, in parseImpl
    return e._parse(instring, loc, doActions)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/anaconda3/lib/python3.12/site-packages/pyparsing/core.py", line 852, in _parseNoCache
    loc, tokens = self.parseImpl(instring, pre_loc, doActions)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/anaconda3/lib/python3.12/site-packages/pyparsing/core.py", line 4517, in parseImpl
    return self.expr._parse(instring, loc, doActions, callPreParse=False)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/anaconda3/lib/python3.12/site-packages/pyparsing/core.py", line 852, in _parseNoCache
    loc, tokens = self.parseImpl(instring, pre_loc, doActions)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/anaconda3/lib/python3.12/site-packages/pyparsing/core.py", line 4019, in parseImpl
    loc, exprtokens = e._parse(instring, loc, doActions)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/anaconda3/lib/python3.12/site-packages/pyparsing/core.py", line 852, in _parseNoCache
    loc, tokens = self.parseImpl(instring, pre_loc, doActions)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/anaconda3/lib/python3.12/site-packages/pyparsing/core.py", line 5042, in parseImpl
    return super().parseImpl(instring, loc, doActions)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/anaconda3/lib/python3.12/site-packages/pyparsing/core.py", line 4951, in parseImpl
    loc, tmptokens = self_expr_parse(instring, preloc, doActions)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/anaconda3/lib/python3.12/site-packages/pyparsing/core.py", line 852, in _parseNoCache
    loc, tokens = self.parseImpl(instring, pre_loc, doActions)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/anaconda3/lib/python3.12/site-packages/pyparsing/core.py", line 3997, in parseImpl
    loc, resultlist = self.exprs[0]._parse(
                      ^^^^^^^^^^^^^^^^^^^^^
  File "/home/anaconda3/lib/python3.12/site-packages/pyparsing/core.py", line 852, in _parseNoCache
    loc, tokens = self.parseImpl(instring, pre_loc, doActions)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/anaconda3/lib/python3.12/site-packages/pyparsing/core.py", line 4900, in parseImpl
    if self.expr.can_parse_next(instring, loc, do_actions=doActions):
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/anaconda3/lib/python3.12/site-packages/pyparsing/core.py", line 930, in can_parse_next
    self.try_parse(instring, loc, do_actions=do_actions)
  File "/home/anaconda3/lib/python3.12/site-packages/pyparsing/core.py", line 922, in try_parse
    return self._parse(instring, loc, doActions=do_actions)[0]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/anaconda3/lib/python3.12/site-packages/pyparsing/core.py", line 852, in _parseNoCache
    loc, tokens = self.parseImpl(instring, pre_loc, doActions)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/anaconda3/lib/python3.12/site-packages/pyparsing/core.py", line 4248, in parseImpl
    return e._parse(instring, loc, doActions)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/anaconda3/lib/python3.12/site-packages/pyparsing/core.py", line 852, in _parseNoCache
    loc, tokens = self.parseImpl(instring, pre_loc, doActions)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/anaconda3/lib/python3.12/site-packages/pyparsing/core.py", line 4019, in parseImpl
    loc, exprtokens = e._parse(instring, loc, doActions)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/anaconda3/lib/python3.12/site-packages/pyparsing/core.py", line 852, in _parseNoCache
    loc, tokens = self.parseImpl(instring, pre_loc, doActions)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/anaconda3/lib/python3.12/site-packages/pyparsing/core.py", line 4517, in parseImpl
    return self.expr._parse(instring, loc, doActions, callPreParse=False)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/anaconda3/lib/python3.12/site-packages/pyparsing/core.py", line 852, in _parseNoCache
    loc, tokens = self.parseImpl(instring, pre_loc, doActions)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/anaconda3/lib/python3.12/site-packages/pyparsing/core.py", line 4019, in parseImpl
    loc, exprtokens = e._parse(instring, loc, doActions)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/anaconda3/lib/python3.12/site-packages/pyparsing/core.py", line 891, in _parseNoCache
    tokens = fn(instring, tokens_start, ret_tokens)  # type: ignore [call-arg, arg-type]
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/anaconda3/lib/python3.12/site-packages/pyparsing/core.py", line 293, in wrapper
    ret = func(*args[limit:])
          ^^^^^^^^^^^^^^^^^^^
  File "<string>", line 36, in removeEMILEndAction
  File "<string>", line 36, in <lambda>
TypeError: pyparsing_unicode() takes no arguments
此外很奇怪的是,我的molcas能够编译成功,至少cmake,make install这些步骤咱没发现异常,但是使用pymolcas verify standard测试文件时,100个文件全部失败,此外我输入pymolcas时,会显示
我在自己的ubuntu上也编译了Openmolcas,一切运行正常,就到了centos7服务器上用同样的方法就出了问题,已知.bashrc里没写错,已经研究了半天,希望得到解决。

放下

188

帖子

0

威望

486

eV
积分
674

Level 4 (黑子)

2#
发表于 Post on 2024-9-23 23:25:29 | 只看该作者 Only view this author
本帖最后由 wjc404 于 2024-9-23 23:36 编辑

1. 上传错误内容,当文本较多时,可以压缩成zip放在附件里
2. 这个暂时看不出来源头,只能耐心找

本版积分规则 Credits rule

手机版 Mobile version|北京科音自然科学研究中心 Beijing Kein Research Center for Natural Sciences|京公网安备 11010502035419号|计算化学公社 — 北京科音旗下高水平计算化学交流论坛 ( 京ICP备14038949号-1 )|网站地图

GMT+8, 2024-11-23 19:49 , Processed in 0.779461 second(s), 24 queries , Gzip On.

快速回复 返回顶部 返回列表 Return to list