计算化学公社

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

[波函数分析求助] 安装gimic解压后执行setup --omp出现下面这个错误,该怎么办?

[复制链接 Copy URL]

87

帖子

0

威望

539

eV
积分
626

Level 4 (黑子)

老师们好,我按照考察分子磁感生电流的程序GIMIC 2.0的使用》帖子里面的操作安装gimic,执行setup --omp后出现这个错误?请问这是什么原因?该怎么修改?

cmake -DCMAKE_Fortran_COMPILER=gfortran -DEXTRA_FCFLAGS="''" -DCMAKE_C_COMPILER=gcc -DEXTRA_CFLAGS="''" -DCMAKE_CXX_COMPILER=g++ -DEXTRA_CXXFLAGS="''" -DENABLE_OPENMP=True -DENABLE_MPI=False -DENABLE_CODE_COVERAGE=False -DENABLE_BLAS=False -DENABLE_LAPACK=False -DCMAKE_BUILD_TYPE=release -G"Unix Makefiles" -H/root/Documents/gimic-master -B/root/Documents/gimic-master/build


-- The Fortran compiler identification is GNU
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working Fortran compiler: /root/.conda/envs/myconda/bin/gfortran
-- Check for working Fortran compiler: /root/.conda/envs/myconda/bin/gfortran  -- broken
-- Configuring incomplete, errors occurred!
See also "/root/Documents/gimic-master/build/CMakeFiles/CMakeOutput.log".
See also "/root/Documents/gimic-master/build/CMakeFiles/CMakeError.log".


CMake Error at /usr/share/cmake/Modules/CMakeTestFortranCompiler.cmake:54 (message):
  The Fortran compiler "/root/.conda/envs/myconda/bin/gfortran" is not able
  to compile a simple test program.


  It fails with the following output:


   Change Dir: /root/Documents/gimic-master/build/CMakeFiles/CMakeTmp


  


  Run Build Command:/usr/bin/gmake "cmTryCompileExec2061391302/fast"


  /usr/bin/gmake -f CMakeFiles/cmTryCompileExec2061391302.dir/build.make
  CMakeFiles/cmTryCompileExec2061391302.dir/build


  gmake[1]: Entering directory
  `/root/Documents/gimic-master/build/CMakeFiles/CMakeTmp'


  /usr/bin/cmake -E cmake_progress_report
  /root/Documents/gimic-master/build/CMakeFiles/CMakeTmp/CMakeFiles 1


  Building Fortran object
  CMakeFiles/cmTryCompileExec2061391302.dir/testFortranCompiler.f.o


  /root/.conda/envs/myconda/bin/gfortran -c
  /root/Documents/gimic-master/build/CMakeFiles/CMakeTmp/testFortranCompiler.f
  -o CMakeFiles/cmTryCompileExec2061391302.dir/testFortranCompiler.f.o


  Linking Fortran executable cmTryCompileExec2061391302


  /usr/bin/cmake -E cmake_link_script
  CMakeFiles/cmTryCompileExec2061391302.dir/link.txt --verbose=1


  /root/.conda/envs/myconda/bin/gfortran
  CMakeFiles/cmTryCompileExec2061391302.dir/testFortranCompiler.f.o -o
  cmTryCompileExec2061391302 -rdynamic


  /usr/bin/ld: cannot find crt1.o: No such file or directory


  /usr/bin/ld: cannot find crti.o: No such file or directory


  /usr/bin/ld: cannot find -lm


  /usr/bin/ld: cannot find -lm


  /usr/bin/ld: cannot find -lc


  /usr/bin/ld: cannot find crtn.o: No such file or directory


  collect2: error: ld returned 1 exit status


  gmake[1]: Leaving directory
  `/root/Documents/gimic-master/build/CMakeFiles/CMakeTmp'


  gmake[1]: *** [cmTryCompileExec2061391302] Error 1


  gmake: *** [cmTryCompileExec2061391302/fast] Error 2


  


  


  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:8 (project)


5万

帖子

99

威望

5万

eV
积分
112356

管理员

公社社长

2#
发表于 Post on 2023-6-8 07:21:20 | 只看该作者 Only view this author
没装gfortran,装上就完了
北京科音自然科学研究中心http://www.keinsci.com)致力于计算化学的发展和传播,长期开办高质量的各种计算化学类培训:初级量子化学培训班中级量子化学培训班高级量子化学培训班量子化学波函数分析与Multiwfn程序培训班分子动力学与GROMACS培训班CP2K第一性原理计算培训班,内容介绍以及往届资料购买请点击相应链接查看。这些培训是计算化学从零快速入门以及进一步全面系统性提升研究水平的高速路!培训各种常见问题见《北京科音办的培训班FAQ》
欢迎加入“北京科音”微信公众号获取北京科音培训的最新消息、避免错过网上有价值的计算化学文章!
欢迎加入人气非常高、专业性特别强的综合性理论与计算化学交流QQ群“思想家公社QQ群”:1号:18616395,2号:466017436,3号:764390338,搜索群号能搜到哪个说明目前哪个能加,合计9000人。北京科音培训班的学员在群中可申请VIP头衔,提问将得到群主Sobereva的最优先解答。
思想家公社的门口Blog:http://sobereva.com(发布大量原创计算化学相关博文)
Multiwfn主页:http://sobereva.com/multiwfn(十分强大的量子化学波函数分析程序)
ResearchGate:https://www.researchgate.net/profile/Tian_Lu
Money and papers are rubbish, get a real life!

147

帖子

2

威望

1226

eV
积分
1413

Level 4 (黑子)

计算化学公社外门弟子

3#
发表于 Post on 2023-6-8 13:12:10 | 只看该作者 Only view this author
本帖最后由 kimariyb 于 2023-6-8 13:13 编辑

如果还没解决问题,可以参考帖子 http://bbs.keinsci.com/thread-37403-1-1.html,和我自己的博文 https://ikuns.icu/005/
KimariYB, Postgraduate, XiaMen University
School of Electronic Science and Engineering (National Model Microelectronics College)
Research interests: theoretical and computational chemistry and machine learning

本版积分规则 Credits rule

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

GMT+8, 2024-11-24 16:39 , Processed in 0.151867 second(s), 21 queries , Gzip On.

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