| 查看: 387 | 回复: 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 ] |
» 猜你喜欢
同年申请2项不同项目,第1个项目里不写第2个项目的信息,可以吗
已经有4人回复
有时候真觉得大城市人没有县城人甚至个体户幸福
已经有10人回复
天津大学招2026.09的博士生,欢迎大家推荐交流(博导是本人)
已经有5人回复
有院领导为了换新车,用横向课题经费买了俩车
已经有5人回复
CSC & MSCA 博洛尼亚大学能源材料课题组博士/博士后招生|MSCA经费充足、排名优
已经有6人回复
面上项目申报
已经有3人回复
酰胺脱乙酰基
已经有9人回复
博士延得我,科研能力直往上蹿
已经有7人回复
面上基金申报没有其他的参与者成吗
已经有5人回复
遇见不省心的家人很难过
已经有22人回复

wgpig
木虫 (小有名气)
- 应助: 0 (幼儿园)
- 金币: 2504.6
- 帖子: 191
- 在线: 273.7小时
- 虫号: 35477
- 注册: 2004-02-03
- 性别: GG
- 专业: 生物大分子结构与功能
4楼2009-02-15 08:05:46
ustbmars
铜虫 (小有名气)
- 应助: 0 (幼儿园)
- 金币: 310.7
- 散金: 1
- 帖子: 97
- 在线: 34.4小时
- 虫号: 468964
- 注册: 2007-11-28
- 专业: 金属材料的微观结构
★ ★ ★ ★ ★ ★
wuli8(金币+1):谢谢参与
wuli8(金币+5,VIP+0):(*^__^*) 2-14 18:25
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
![]() [ Last edited by wuli8 on 2009-2-14 at 18:59 ] |
3楼2009-02-14 18:26:44













回复此楼
