【问题标题】:Python install Global Arrays Toolkit on UbuntuPython 在 Ubuntu 上安装 Global Arrays Toolkit
【发布时间】:2015-02-24 01:26:34
【问题描述】:

我正在尝试将全局阵列 (http://hpc.pnl.gov/globalarrays/index.shtml) 安装到我的笔记本电脑上。如安装指南中所述,我先做 ./confgure 然后再做。在这里我得到错误:

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 模块吗?

【问题讨论】:

  • 嘿,你又遇到了安装问题:)
  • 是的,但这是一个有点不同的错误。我正在尝试安装框架,但出现错误。
  • 在你的编译器标志中可能有-Wall(例如,作为makefile中CFLAGS的一部分)。
  • 我检查了,不,我在 makefile 中没有那个标志。

标签: python c mpi


【解决方案1】:

cc1: some warnings being treated as errors

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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2012-08-05
    • 1970-01-01
    • 2011-05-02
    • 2012-07-29
    • 2013-10-02
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多