gpt4 book ai didi

Python 在 Ubuntu 上安装 Global Arrays Toolkit

转载 作者:行者123 更新时间:2023-11-30 17:23:14 33 4
gpt4 key购买 nike

我正在尝试将全局数组 ( http://hpc.pnl.gov/globalarrays/index.shtml ) 安装到我的笔记本电脑上。正如安装指南中所述,我执行 ./configure 然后 make。这里我得到错误:

ma/ma.c: In function 'list_verify':
ma/ma.c:1379:17: error: format not a string literal and no format arguments [-Werror=format-security]
(void)printf(preamble);
^
ma/ma.c:1403:17: error: format not a string literal and no format arguments [-Werror=format-security]
(void)printf(preamble);
^
ma/ma.c:1428:17: error: format not a string literal and no format arguments [-Werror=format-security]
(void)printf(preamble);
^
cc1: some warnings being treated as errors
make[2]: *** [ma/ma.lo] Error 1
make[2]: Leaving directory `/home/dimka/UT/Master/Parallel computing/Project/ga-5-3'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dimka/UT/Master/Parallel computing/Project/ga-5-3'
make: *** [all] Error 2

可能是什么问题?我只需要 Python 模块。另外,我可以在不安装整个 GAT 的情况下使用 Python 模块吗?

最佳答案

cc1: some warnings being treated as errors

因果选项是-Werror;使用 -Wno-error=format-security 删除或选择性禁用它。另见 e. G。 How to compile without warnings being treated as errors?

关于Python 在 Ubuntu 上安装 Global Arrays Toolkit,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27662115/

33 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com