簡體   English   中英

Python在Ubuntu上安裝Global Arrays Toolkit

[英]Python install Global Arrays Toolkit on Ubuntu

我正在嘗試將Global Arrays( 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模塊嗎?

cc1: some warnings being treated as errors

因果選項是-Werror 使用-Wno-error=format-security刪除或有選擇地禁用它。 另請參見例如, 如何在不將警告視為錯誤的情況下進行編譯?

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM