24小时热门版块排行榜    

Znn3bq.jpeg
查看: 404  |  回复: 3
当前主题已经存档。
【有奖交流】积极回复本帖子,参与交流,就有机会分得作者 wuli8 的 3 个金币 ,回帖就立即获得 1 个金币,每人有 1 次机会
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

wuli8

荣誉版主 (知名作家)

…………

优秀版主优秀版主

[交流] 【求助】lam-mpi 不能编译

使用命令:./configure CC=cc CXX=CC FC=f77 --prefix=/usr/local/lam-7.1.4

得到结果:

============================================================================
== Configuring LAM version 7.1.4
============================================================================

*** Initialization, setup
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
configure: builddir: /home/lam-7.1.4
configure: srcdir: /home/lam-7.1.4
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
installing to directory "/usr/local/lam-7.1.4"

*** C compiler and preprocessor
checking if want debugging output support... no
checking for gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of cc... gcc3
checking how to run the C preprocessor... cc -E
checking for egrep... grep -E
checking whether cc needs -traditional... no
checking for AIX... no
checking if need special C compiler/linker flags... none needed
checking for C optimization flags... -O3
checking whether the C compiler (cc -O3 ) accepts ANSI prototypes... yes
checking for type int2... no
checking for type uint2... no
checking for type int4... no
checking for type uint4... no
checking for type int8... no
checking for type uint8... no
checking for type float4... no
checking for type float8... no
checking size of char... 1
checking size of short... 2
checking size of wchar_t... 4
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking size of float... 4
checking size of double... 8
checking size of long double... 16
checking size of void *... 8
checking alignment of char... 1
checking alignment of short... 2
checking alignment of wchar_t... 4
checking alignment of int... 4
checking alignment of long... 8
checking alignment of long long... 8
checking alignment of float... 4
checking alignment of double... 8
checking alignment of long double... 16
checking alignment of void *... 8

*** C++ compiler and preprocessor
checking whether we are using the GNU C++ compiler... no
checking whether CC accepts -g... no
checking dependency style of CC... none
checking how to run the C++ preprocessor... /lib/cpp
checking if want C++ exception handling... no
checking whether CC has new(std::nothrow)... no
checking for C++ template repository directory... templates not supported?
not used
checking for C++ compiler template parameters... none needed
checking for C++ optimization flags... -O
checking for ANSI C header files... no
checking for sys/types.h... no
checking for sys/stat.h... no
checking for stdlib.h... no
checking for string.h... no
checking for memory.h... no
checking for strings.h... no
checking for inttypes.h... no
checking for stdint.h... no
checking for unistd.h... no
checking map usability... no
checking map presence... no
checking for map... no
configure: WARNING: *** Your C++ compiler does not seem to support the STL.
configure: WARNING: *** STL support is necessary to compile LAM/MPI
configure: error: cannot continue

请各位帮我看看问题出在什么地方应该怎样解决,谢谢!


[ Last edited by mingdong on 2009-2-14 at 13:58 ]
回复此楼

» 猜你喜欢

…………
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

wuli8

荣誉版主 (知名作家)



[ Last edited by wuli8 on 2009-2-14 at 18:59 ]
3楼2009-02-14 18:26:44
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 4 个回答

ustbmars

铜虫 (小有名气)

★ ★ ★ ★ ★ ★
wuli8(金币+1):谢谢参与
wuli8(金币+5,VIP+0):(*^__^*) 2-14 18:25
改成 “./configure CC=cc CXX=c++ FC=f77 --prefix=/usr/local/lam-7.1.4”  试试行不行。
另外,用which 命令确认你的cc,c++,f77(或g77) 编译器都能找到,找不到的话说明编译器没有安装上。
Linux自带的编译器的都是比较老的版本,建议下载最新的intel fortran及intel c++编译器。

[ Last edited by ustbmars on 2009-2-14 at 13:23 ]
2楼2009-02-14 13:21:37
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

wgpig

木虫 (小有名气)


wuli8(金币+1):谢谢参与
lam mpi is migrating to Open MPI project.
4楼2009-02-15 08:05:46
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
提示: 如果您在30分钟内回复过其他散金贴,则可能无法领取此贴金币
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 复试调剂,一志愿郑州大学材料与化工289分 +14 硕星赴 2026-04-08 14/700 2026-04-08 23:59 by GouQ
[考研] 求机械专硕297第二批调剂 +3 拾柒12。 2026-04-08 3/150 2026-04-08 22:25 by laoshidan
[考研] 一志愿西南大学生物学学硕344 求生物学相关调剂/生物与医药 +4 超人不会飞@ 2026-04-08 4/200 2026-04-08 21:18 by 学员tURuqU
[考研] 285求调剂 +18 AZMK 2026-04-02 19/950 2026-04-08 10:33 by xingguangj
[考研] 312 化工或制药调剂 +9 小小墨123 2026-04-02 10/500 2026-04-08 10:30 by screening
[考研] 生物医药调剂|SCI中科院三区一作+多项科研成果 +8 likangxing 2026-04-07 11/550 2026-04-08 00:02 by lys0704
[考研] 316求调剂 +4 15318418673 2026-04-07 4/200 2026-04-07 22:12 by hemengdong
[考研] 专硕085403,291分,有两篇专利,一国一奖 +3 哈吉咪哈吉咪 2026-04-07 3/150 2026-04-07 18:21 by 蓝云思雨
[考研] 22408 调剂材料 +7 我叫ez 2026-04-06 8/400 2026-04-07 17:12 by 蓝云思雨
[考研] 学硕化学工程与技术,一志愿中国海洋大学320+求调剂 +9 披星河 2026-04-02 9/450 2026-04-07 12:53 by 尽舜尧1
[考研] 复试调剂 +14 呼呼?~+123456 2026-04-05 14/700 2026-04-06 22:50 by chenzhimin
[硕博家园] 0856材料化工求调剂,一志愿211,初试成绩349 +4 江淮北月 2026-04-05 4/200 2026-04-06 22:44 by chenzhimin
[考研] 327求调剂 +4 拾光任染 2026-04-05 4/200 2026-04-05 20:16 by 南航~万老师
[考研] 309求调剂 +6 刘刘刘1231 2026-04-02 7/350 2026-04-04 13:41 by liucky
[考研] 26调剂 086003 +6 失活的细胞 2026-04-04 6/300 2026-04-04 09:50 by zhangdingwa
[考研] 387求调剂 +4 爱吃片豆土 2026-04-03 5/250 2026-04-04 08:10 by 岸上的一条鱼
[考研] 学硕288调剂!!! +3 小王xw123 2026-04-03 3/150 2026-04-03 21:20 by 啵啵啵0119
[考研] 0705理学294求调剂 +3 成果成果cg5 2026-04-03 3/150 2026-04-03 14:04 by simons1972
[考研] 312求调剂 +6 小小墨123 2026-04-02 7/350 2026-04-03 07:32 by jsw79
[考研] 交通运输考试264分求工科调剂 +4 jike777 2026-04-02 4/200 2026-04-02 21:53 by zllcz
信息提示
请填处理意见