计算化学公社

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

[Lammps] lammps中gpu加速报错 ERROR: GPU library was compiled for double...

[复制链接 Copy URL]

1

帖子

0

威望

17

eV
积分
18

Level 1 能力者

跳转到指定楼层 Go to specific reply
楼主
ERROR: GPU library was compiled for double or mixed precision floating point but GPU device supports single precision only. (src/GPU/gpu_extra.h:85)

----------------------------------------------------------
2:28:26: warning: unsupported OpenCL extension 'cl_khr_fp64' - ignoring
#pragma OPENCL EXTENSION cl_khr_fp64 : enable
                         ^
2:178:3: error: use of type 'double' requires cl_khr_fp64 support
  double x; double y; double z;
  ^
2:178:13: error: use of type 'double' requires cl_khr_fp64 support
  double x; double y; double z;
            ^
2:178:23: error: use of type 'double' requires cl_khr_fp64 support
  double x; double y; double z;
这种情况是因为什么啊?cuda版本我已经调整到了与自己显卡匹配的版本了

1

帖子

0

威望

136

eV
积分
137

Level 2 能力者

2#
发表于 Post on 2024-12-23 14:06:08 | 只看该作者 Only view this author

本版积分规则 Credits rule

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

GMT+8, 2026-2-21 23:55 , Processed in 0.248667 second(s), 26 queries , Gzip On.

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