24小时热门版块排行榜    

查看: 1586  |  回复: 4

liangjun44

至尊木虫 (著名写手)

[求助] gromacs安装出错求助

大家好,请教一下,安装gromacs时,进行到make阶段,出现了以下的错误,应该怎样解决呢?谢谢~

numa_malloc.c:117: error: parse error before "Processor"
numa_malloc.c:118: error: parse error before "ProcNumber"
numa_malloc.c: In function `InitNumaHeapSupport':
numa_malloc.c:222: warning: dereferencing type-punned pointer will break strict-aliasing rules
numa_malloc.c: In function `ReturnHeapHandle':
numa_malloc.c:246: error: `PROCESSOR_NUMBER' undeclared (first use in this function)
numa_malloc.c:246: error: (Each undeclared identifier is reported only once
numa_malloc.c:246: error: for each function it appears in.)
numa_malloc.c:246: error: parse error before "CurrentProcessorNumber"
numa_malloc.c:285: error: `CurrentProcessorNumber' undeclared (first use in this function)
numa_malloc.c:324: warning: implicit declaration of function `HeapSetInformation'
Makefile:332: recipe for target `numa_malloc.lo' failed
make[4]: *** [numa_malloc.lo] Error 1
make[4]: 离开目录“/home/Administrator/gromacs-4.5.5/src/gmxlib/thread_mpi”
Makefile:599: recipe for target `all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: 离开目录“/home/Administrator/gromacs-4.5.5/src/gmxlib”
Makefile:302: recipe for target `all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: 离开目录“/home/Administrator/gromacs-4.5.5/src”
Makefile:238: recipe for target `all' failed
make[1]: *** [all] Error 2
make[1]: 离开目录“/home/Administrator/gromacs-4.5.5/src”
Makefile:347: recipe for target `all-recursive' failed
make: *** [all-recursive] Error 1
回复此楼

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

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

shengxiang

木虫 (著名写手)

【答案】应助回帖


jiaoyixiong: 金币+1, 鼓励交流 2013-01-08 09:04:01
不知道你之前的fftw和lam是否已经正常安装?
2楼2013-01-07 21:51:04
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

liangjun44

至尊木虫 (著名写手)

引用回帖:
2楼: Originally posted by shengxiang at 2013-01-07 21:51:04
不知道你之前的fftw和lam是否已经正常安装?

lam装不了,提示
compiling ROMIO in directory adio/ad_ufs
make[4]: 进入目录“/home/Administrator/lam-7.1.3/romio/adio/ad_ufs”
gcc -O3 -DLAM_BUILDING=1 -O3   -DHAVE_ROMIOCONF_H -I/home/Administrator/lam-7.1.3/share/include -I/home/Administrator/lam-7.1.3/share/include -I/home/Administrator/lam-7.1.3/romio/adio/ad_ufs/../include -I../include -c ad_ufs_close.c
In file included from ad_ufs_close.c:9:
ad_ufs.h:21:17: aio.h: No such file or directory
Makefile:22: recipe for target `ad_ufs_close.o' failed
make[4]: *** [ad_ufs_close.o] Error 1
make[4]: 离开目录“/home/Administrator/lam-7.1.3/romio/adio/ad_ufs”
Make failed in directory adio/ad_ufs
Makefile:85: recipe for target `mpiolib' failed
make[3]: *** [mpiolib] Error 1
make[3]: 离开目录“/home/Administrator/lam-7.1.3/romio”
Makefile:30: recipe for target `mpio' failed
make[2]: *** [mpio] Error 2
make[2]: 离开目录“/home/Administrator/lam-7.1.3/romio”
Makefile:896: recipe for target `romio-all' failed
make[1]: *** [romio-all] Error 2
make[1]: 离开目录“/home/Administrator/lam-7.1.3”
Makefile:446: recipe for target `all-recursive' failed
make: *** [all-recursive] Error 1
之后我就没管了,在编译的时候不加--enable-mpi,装fftw是成功的~
3楼2013-01-08 08:51:45
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

doughtiness

新虫 (小有名气)

你是在什么系统下安装的GMX啊?我最近也是在安装GMX,在ubuntu系统下安装的。
你可以试试如下命令:
GMX并行安装需要3个东西,FFTW,CMAKE和GROMACS自身安装流程:
FFTW:
./configure --enable-threads --enable-float
make
make install
Cmake:
./configure
make
sudo make install
Gromacs:
./configure
make
make install
完成后再各自设置环境变量就可以了
4楼2013-01-08 20:00:13
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

liangjun44

至尊木虫 (著名写手)

引用回帖:
4楼: Originally posted by doughtiness at 2013-01-08 20:00:13
你是在什么系统下安装的GMX啊?我最近也是在安装GMX,在ubuntu系统下安装的。
你可以试试如下命令:
GMX并行安装需要3个东西,FFTW,CMAKE和GROMACS自身安装流程:
FFTW:
./configure --enable-threads --enable- ...

怎样各自设置环境变量?能不能说得具体点?谢谢~
5楼2013-01-09 13:55:43
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 liangjun44 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 中科院材料273求调剂 +3 yzydy 2026-03-15 3/150 2026-03-15 21:15 by ms629
[考研] 【0703化学调剂】-一志愿华中师范大学-六级475 +5 Becho359 2026-03-11 5/250 2026-03-14 11:35 by 哦哦123
[考研] 293求调剂 +5 上班不着吉 2026-03-09 5/250 2026-03-14 02:37 by JourneyLucky
[考研] 307求调剂 +7 超级伊昂大王 2026-03-10 7/350 2026-03-14 00:49 by JourneyLucky
[考研] 0856材料与化工309分求调剂 +6 ZyZy…… 2026-03-10 6/300 2026-03-14 00:38 by JourneyLucky
[考研] 341求调剂 +3 番茄头--- 2026-03-10 3/150 2026-03-13 23:07 by JourneyLucky
[考研] 285 求调剂 资源与环境 一志愿北京化工大学 +3 未名考生 2026-03-10 3/150 2026-03-13 23:04 by JourneyLucky
[考研] 求材料调剂 085600英一数二总分302 前三科235 精通机器学习 一志愿哈工大 +4 林yaxin 2026-03-12 4/200 2026-03-13 22:04 by 星空星月
[考研] 求材料调剂 +5 隔壁陈先生 2026-03-12 5/250 2026-03-13 22:03 by 星空星月
[考研] 材料与化工085600调剂求老师收留 +9 jiaanl 2026-03-11 9/450 2026-03-13 20:22 by JourneyLucky
[考研] 085600材料与化工 309分请求调剂 +7 dtdxzxx 2026-03-12 8/400 2026-03-13 14:43 by jxchenghu
[考研] 268求调剂 +4 好运连绵不绝 2026-03-12 4/200 2026-03-13 10:45 by hyswxzs
[考研] 070303一志愿西北大学学硕310找调剂 +3 d如愿上岸 2026-03-13 3/150 2026-03-13 10:43 by houyaoxu
[考研] 工科0856专硕化学工程269能调剂吗 +10 我想读研11 2026-03-10 10/500 2026-03-13 10:14 by Yuyi.
[考研] 333求调剂 +3 152697 2026-03-12 4/200 2026-03-13 07:08 by Iveryant
[考研] 081200-11408-276学硕求调剂 +3 崔wj 2026-03-12 4/200 2026-03-12 19:33 by 求调剂zz
[考博] 2026年博士申请 +3 QwQwQW10 2026-03-11 3/150 2026-03-12 17:58 by gxch43
[考研] 化工0817调剂 +8 灿若星晨 2026-03-10 8/400 2026-03-10 22:44 by 星空星月
[硕博家园] 木虫好像不热闹了,是不是? +4 偏振片 2026-03-10 4/200 2026-03-10 09:51 by longwave
[考研] 数二英二309分请求调剂 +3 dtdxzxx 2026-03-09 4/200 2026-03-09 19:56 by yuningshan
信息提示
请填处理意见