计算化学公社

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

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

[复制链接 Copy URL]

7

帖子

0

威望

1626

eV
积分
1633

Level 5 (御坂)

老师们好,我按照考察分子磁感生电流的程序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/home/sob/gimic -B/home/sob/gimic/build

-- The Fortran compiler identification is GNU
-- The C compiler identification is GNU 4.8.5
-- The CXX compiler identification is GNU 4.8.5
-- Check for working Fortran compiler: /usr/bin/gfortran
-- Check for working Fortran compiler: /usr/bin/gfortran  -- works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether /usr/bin/gfortran supports Fortran 90
-- Checking whether /usr/bin/gfortran supports Fortran 90 -- yes
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found PythonInterp: /root/.conda/envs/myconda/bin/python (found version "2.6.9")
-- Configuring incomplete, errors occurred!
See also "/home/sob/gimic/build/CMakeFiles/CMakeOutput.log".

CMake Error at cmake/custom/FindNumPy.cmake:61 (message):
  NumPy import failure:

  Traceback (most recent call last):

    File "<string>", line 1, in <module>

  ImportError: No module named numpy

Call Stack (most recent call first):
  cmake/custom/python-discovery.cmake:2 (find_package)
  CMakeLists.txt:91 (include)




57

帖子

0

威望

1315

eV
积分
1372

Level 4 (黑子)

2#
发表于 Post on 2024-2-7 15:20:31 | 只看该作者 Only view this author
“ ImportError: No module named numpy”,表示没有找到numpy模块。可以pip install numpy

7

帖子

0

威望

1626

eV
积分
1633

Level 5 (御坂)

3#
 楼主 Author| 发表于 Post on 2024-2-7 18:26:37 | 只看该作者 Only view this author
Aletyx 发表于 2024-2-7 15:20
“ ImportError: No module named numpy”,表示没有找到numpy模块。可以pip install numpy

@Aletyx 出现了下面的情况,看不懂。
(myconda) [root@localhost ~]# pip install numpy
/root/.conda/envs/myconda/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/ ... ureplatformwarning.
  InsecurePlatformWarning
/root/.conda/envs/myconda/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/connection.py:251: SecurityWarning: Certificate has no `subjectAltName`, falling back to check for a `commonName` for now. This feature is being removed by major browsers and deprecated by RFC 2818. (See https://github.com/shazow/urllib3/issues/497 for details.)
  SecurityWarning
Collecting numpy
/root/.conda/envs/myconda/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/ ... ureplatformwarning.
  InsecurePlatformWarning
/root/.conda/envs/myconda/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/connection.py:251: SecurityWarning: Certificate has no `subjectAltName`, falling back to check for a `commonName` for now. This feature is being removed by major browsers and deprecated by RFC 2818. (See https://github.com/shazow/urllib3/issues/497 for details.)
  SecurityWarning
/root/.conda/envs/myconda/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/ ... ureplatformwarning.
  InsecurePlatformWarning
/root/.conda/envs/myconda/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/connection.py:251: SecurityWarning: Certificate has no `subjectAltName`, falling back to check for a `commonName` for now. This feature is being removed by major browsers and deprecated by RFC 2818. (See https://github.com/shazow/urllib3/issues/497 for details.)
  SecurityWarning
  Could not find a version that satisfies the requirement numpy (from versions: )
No matching distribution found for numpy

本版积分规则 Credits rule

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

GMT+8, 2024-11-27 07:42 , Processed in 0.174880 second(s), 21 queries , Gzip On.

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