计算化学公社

标题: gaussrate安装报错 [打印本页]

作者
Author:
MercuryLamp    时间: 2023-12-25 22:03
标题: gaussrate安装报错
本帖最后由 MercuryLamp 于 2023-12-25 22:37 编辑

大家好,polyrate我已经安装好了,也通过自带的测试脚本进行了测试,是可以正常使用的,但在安装gaussrate17-B时,出现了如下的报错内容,想请教一下大家应该如何解决,谢谢大家
  1. [root@localhost gaussrate17-B]# ./configure

  2. Welcome to GAUSSRATE!

  3. ... installing

  4. Is this installation for RP-VTST or VRC-VTST?
  5. [ Choose 'RP' or 'VRC' ]: RP
  6. .... creating Makefile
  7. .... done with Makefile
  8. hooks_gr.F:2084:72:

  9. 2084 | 1        if (string(j:j).eq.'#') string(j:80) = ' '
  10.       |                                                                        1
  11. Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 1 at (1)
  12. hooks_gr.F:2263:72:

  13. 2263 |  75                 bup(i) = x(i)
  14.       |                                                                        1
  15. Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 75 at (1)
  16. hooks_gr.F:23:39:

  17.    23 |       if (irest.eq.1) call grest(irout,dummy)
  18.       |                                       1
  19. Error: Rank mismatch in argument ‘fmat’ at (1) (rank-2 and scalar)
  20. hooks_gr.F:79:27:

  21.    79 |           call grest(irout,dummy)
  22.       |                           1
  23. Error: Rank mismatch in argument ‘fmat’ at (1) (rank-2 and scalar)
  24. hooks_gr.F:109:39:

  25.   109 |       if (irest.eq.1) call grest(irout,dummy)
  26.       |                                       1
  27. Error: Rank mismatch in argument ‘fmat’ at (1) (rank-2 and scalar)
  28. hooks_gr.F:161:27:

  29.   161 |           call grest(irout,dummy)
  30.       |                           1
  31. Error: Rank mismatch in argument ‘fmat’ at (1) (rank-2 and scalar)
  32. hooks_gr.F:214:39:

  33.   214 |       if (irest.eq.1) call grest(irout,dummy)
  34.       |                                       1
  35. Error: Rank mismatch in argument ‘fmat’ at (1) (rank-2 and scalar)
  36. hooks_gr.F:317:27:

  37.   317 |           call grest(irout,dummy)
  38.       |                           1
  39. Error: Rank mismatch in argument ‘fmat’ at (1) (rank-2 and scalar)
  40. gmake[1]: *** [Makefile:25: hooks_gr.o] Error 1
  41. gmake: *** [Makefile:169: GRS] Error 2

  42. ---- GAUSSRATE INSTALLATION COMPLETE ----

  43. Have a nice day! :)
复制代码


作者
Author:
adminer    时间: 2023-12-26 15:04
你安装的是VRC还是RP 的呀

作者
Author:
MercuryLamp    时间: 2023-12-26 15:26
adminer 发表于 2023-12-26 15:04
你安装的是VRC还是RP 的呀

RP,polyrate也是RP
作者
Author:
dantevinsky    时间: 2023-12-26 18:06
注意编译器版本最好与手册上的相近。
作者
Author:
MercuryLamp    时间: 2023-12-27 22:14
本帖最后由 MercuryLamp 于 2023-12-27 22:16 编辑
dantevinsky 发表于 2023-12-26 18:06
注意编译器版本最好与手册上的相近。

十分感谢您的建议,但我在gaussrate和polyrate的手册中搜索compile好像并没有看到推荐的编译器及版本,不过我看到polyrate手册中提到可以用gcc编译,我也确实使用gcc和gfortran成功编译了RP版本的polyrate,我使用的gcc和gfortran版本为11.3.1,但gaussrate却不能正常安装。
如果方便的话能否麻烦您告知一下您所用的编译器及版本呢?非常感谢

作者
Author:
dantevinsky    时间: 2023-12-28 09:13
这种编译问题只能慢慢找,私聊吧,我试试看看能不能解决
作者
Author:
MercuryLamp    时间: 2023-12-28 10:20
dantevinsky 发表于 2023-12-28 09:13
这种编译问题只能慢慢找,私聊吧,我试试看看能不能解决

好的,谢谢老师
作者
Author:
adminer    时间: 2024-1-3 16:36
dantevinsky 发表于 2023-12-28 09:13
这种编译问题只能慢慢找,私聊吧,我试试看看能不能解决

请问你能安装VRC版吗,编译器最符合的是那版呀

作者
Author:
Hamilton1758    时间: 2024-2-2 11:42
MercuryLamp 发表于 2023-12-28 10:20
好的,谢谢老师

好新的帖子 昨天安装成功了 可以交流一下
作者
Author:
chenlei    时间: 2024-2-2 14:23
MercuryLamp 发表于 2023-12-27 22:14
十分感谢您的建议,但我在gaussrate和polyrate的手册中搜索compile好像并没有看到推荐的编译器及版本,不 ...

编译器版本太高了,polyrate2017的手册里面有相应的编译器版本,反正试着安装较低版本的编译器,如果polyrate2023不能安装的话,安装2017的也可以的,两个版本的差距不大,我在我们服务器上安装23版本的没成功过
作者
Author:
MercuryLamp    时间: 2024-2-4 14:16
chenlei 发表于 2024-2-2 14:23
编译器版本太高了,polyrate2017的手册里面有相应的编译器版本,反正试着安装较低版本的编译器,如果poly ...

感谢,我用2021版本的oneapi编译polyrate17和gaussrate17成功了。
作者
Author:
MercuryLamp    时间: 2024-2-4 14:17
Hamilton1758 发表于 2024-2-2 11:42
好新的帖子 昨天安装成功了 可以交流一下

感谢,我已经编译好了polyrate17+gaussrate17,请问一下您编译的版本是这个吗?
作者
Author:
hebrewsnabla    时间: 2024-2-4 14:38
1L所示的问题大概只需要编译选项 -fallow-argument-mismatch 就能解决。
作者
Author:
MercuryLamp    时间: 2024-2-4 15:27
本帖最后由 MercuryLamp 于 2024-2-4 15:33 编辑
hebrewsnabla 发表于 2024-2-4 14:38
1L所示的问题大概只需要编译选项 -fallow-argument-mismatch 就能解决。

感谢,之前搜索时看到这种说法,试了一下,出现了另一个报错,还是没成功,不过现在用2021的oneapi编译好了
作者
Author:
chenlei    时间: 2024-2-26 15:05
MercuryLamp 发表于 2024-2-4 14:17
感谢,我已经编译好了polyrate17+gaussrate17,请问一下您编译的版本是这个吗?

对的
作者
Author:
MercuryLamp    时间: 2024-3-1 21:33
chenlei 发表于 2024-2-26 15:05
对的

好的好的,非常感谢
作者
Author:
Wpolymer    时间: 2024-5-6 22:10
MercuryLamp 发表于 2024-2-4 15:27
感谢,之前搜索时看到这种说法,试了一下,出现了另一个报错,还是没成功,不过现在用2021的oneapi编译好 ...

2021版的oneapi是从哪里搞的啊,求链接
作者
Author:
sjw123    时间: 2024-12-2 15:49
各位老师,大家好,我在安装Gaussrate的时候也遇到了相似的Warning, 导致最后Gaussrate里的例子运行报错,楼主可以分享一下具体是怎么解决这个问题的吗,感谢!
[lhh3377@ln02 gaussrate17-B]$ FC=ifort ./configure

Welcome to GAUSSRATE!

... installing

Is this installation for RP-VTST or VRC-VTST?
[ Choose 'RP' or 'VRC' ]: rp
.... creating Makefile
.... done with Makefile
hooks_gr.F:23.39:

      if (irest.eq.1) call grest(irout,dummy)                           
                                       1
Warning: Rank mismatch in argument 'fmat' at (1) (rank-2 and scalar)
hooks_gr.F:79.27:

          call grest(irout,dummy)                                       
                           1
Warning: Rank mismatch in argument 'fmat' at (1) (rank-2 and scalar)
hooks_gr.F:109.39:

      if (irest.eq.1) call grest(irout,dummy)                           
                                       1
Warning: Rank mismatch in argument 'fmat' at (1) (rank-2 and scalar)
hooks_gr.F:161.27:

          call grest(irout,dummy)                                       
                           1
Warning: Rank mismatch in argument 'fmat' at (1) (rank-2 and scalar)
hooks_gr.F:214.39:

      if (irest.eq.1) call grest(irout,dummy)                           
                                       1
Warning: Rank mismatch in argument 'fmat' at (1) (rank-2 and scalar)
hooks_gr.F:317.27:

          call grest(irout,dummy)                                       
                           1
Warning: Rank mismatch in argument 'fmat' at (1) (rank-2 and scalar)

---- GAUSSRATE INSTALLATION COMPLETE ----

Have a nice day! :)





欢迎光临 计算化学公社 (http://bbs.keinsci.com/) Powered by Discuz! X3.3