| 查看: 1836 | 回复: 12 | |||
| 当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖 | |||
[求助]
安装fftw时bin文件不见了,求助
|
|||
|
只要提出有帮助意见我就散金了。。 我在安装fftw时,先安装了fftw3,方法如下: $ cd /usr/local/src $ sudo tar xzvf ~/Downloads/fftw-3.3.3.tar.gz $ cd fftw-3.3.3 $ sudo ./configure --prefix=/usr/local/fftw3 --enable-float $ sudo make $ sudo make install 后来发现fftw3有些问题,就有按照上述方法安装了fftw2.1.5 安装fftw2 $ cd /usr/local/src $ sudo tar xzvf ~/Downloads/fftw-2.1.5.tar.gz $ cd fftw-2.1.5 $ sudo ./configure --prefix=/usr/local/fftw2 --enable-float $ sudo make $ sudo make install 但是装完后,发现在/usr/local/fftw3/里面有bin 但是在/usr/local/fftw2/下面没有bin 然后参考网上方法,删除了fftw2、fftw3文件夹,重新安装了fftw2,还是没有bin 求助啊!怎么回事~~ 新手装lammps第一步就出问题。。。。 |
» 猜你喜欢
寻求一种能扛住强氧化性腐蚀性的容器密封件
已经有5人回复
真诚求助:手里的省社科项目结项要求主持人一篇中文核心,有什么渠道能发核心吗
已经有7人回复
论文投稿,期刊推荐
已经有6人回复
请问哪里可以有青B申请的本子可以借鉴一下。
已经有4人回复
孩子确诊有中度注意力缺陷
已经有14人回复
请问下大家为什么这个铃木偶联几乎不反应呢
已经有5人回复
请问有评职称,把科研教学业绩算分排序的高校吗
已经有5人回复
2025冷门绝学什么时候出结果
已经有3人回复
天津工业大学郑柳春团队欢迎化学化工、高分子化学或有机合成方向的博士生和硕士生加入
已经有4人回复
康复大学泰山学者周祺惠团队招收博士研究生
已经有6人回复
» 本主题相关价值贴推荐,对您同样有帮助:
|
.bashrc 最后面加入: export PATH=/usr/local/openmpi/bin:$PATH # 将新路径添加到现有的$PATH中 然后 $ mpic++ -Wall cnt_correlation_t200.cpp -L/usr/local/fftw2/lib -lfftw -llmp_gentoo -o myCode 反馈如下: cnt_correlation_t200.cpp: 在函数‘int main(int, char**)’中: cnt_correlation_t200.cpp:258:52: 警告: 格式字符串尾有可疑的‘%’ [-Wformat] cnt_correlation_t200.cpp:266:52: 警告: 格式字符串尾有可疑的‘%’ [-Wformat] cnt_correlation_t200.cpp:274:52: 警告: 格式字符串尾有可疑的‘%’ [-Wformat] cnt_correlation_t200.cpp:282:52: 警告: 格式字符串尾有可疑的‘%’ [-Wformat] cnt_correlation_t200.cpp:290:52: 警告: 格式字符串尾有可疑的‘%’ [-Wformat] cnt_correlation_t200.cpp:130:18: 警告: 未使用的变量‘n’ [-Wunused-variable] /lib/../lib/liblmp_gentoo.a(fft3d.o): In function `fft_1d_only(fftw_complex*, int, int, fft_plan_3d*)': fft3d.cpp:(.text+0x215): undefined reference to `fftw' fft3d.cpp:(.text+0x25c): undefined reference to `fftw' fft3d.cpp:(.text+0x2a5): undefined reference to `fftw' fft3d.cpp:(.text+0x4f4): undefined reference to `fftw' fft3d.cpp:(.text+0x53b): undefined reference to `fftw' /lib/../lib/liblmp_gentoo.a(fft3d.o):fft3d.cpp:(.text+0x584): more undefined references to `fftw' follow /lib/../lib/liblmp_gentoo.a(fft3d.o): In function `fft_3d_destroy_plan(fft_plan_3d*)': fft3d.cpp:(.text+0x836): undefined reference to `fftw_destroy_plan' fft3d.cpp:(.text+0x841): undefined reference to `fftw_destroy_plan' fft3d.cpp:(.text+0x853): undefined reference to `fftw_destroy_plan' fft3d.cpp:(.text+0x85e): undefined reference to `fftw_destroy_plan' fft3d.cpp:(.text+0x869): undefined reference to `fftw_destroy_plan' /lib/../lib/liblmp_gentoo.a(fft3d.o):fft3d.cpp:(.text+0x874): more undefined references to `fftw_destroy_plan' follow /lib/../lib/liblmp_gentoo.a(fft3d.o): In function `fft_3d(fftw_complex*, fftw_complex*, int, fft_plan_3d*)': fft3d.cpp:(.text+0x916): undefined reference to `fftw' fft3d.cpp:(.text+0x98b): undefined reference to `fftw' fft3d.cpp:(.text+0xa00): undefined reference to `fftw' fft3d.cpp:(.text+0xc62): undefined reference to `fftw' fft3d.cpp:(.text+0xcaa): undefined reference to `fftw' /lib/../lib/liblmp_gentoo.a(fft3d.o):fft3d.cpp:(.text+0xcf2): more undefined references to `fftw' follow /lib/../lib/liblmp_gentoo.a(fft3d.o): In function `fft_3d_create_plan(ompi_communicator_t*, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int*)': fft3d.cpp:(.text+0x1540): undefined reference to `fftw_create_plan' fft3d.cpp:(.text+0x1561): undefined reference to `fftw_create_plan' fft3d.cpp:(.text+0x15b3): undefined reference to `fftw_create_plan' fft3d.cpp:(.text+0x15d4): undefined reference to `fftw_create_plan' fft3d.cpp:(.text+0x1707): undefined reference to `fftw_create_plan' /lib/../lib/liblmp_gentoo.a(fft3d.o):fft3d.cpp:(.text+0x1728): more undefined references to `fftw_create_plan' follow collect2: ld 返回 1 这个问题是不是你谁的lmp_gentoo的问题还是fftw的问题? |
10楼2013-05-03 14:26:06
Bessel
木虫 (正式写手)
- 模拟EPI: 2
- 应助: 47 (小学生)
- 金币: 1505.5
- 散金: 4755
- 红花: 8
- 帖子: 609
- 在线: 234.1小时
- 虫号: 370174
- 注册: 2007-05-13
- 专业: 凝聚态物性I:结构、力学和
【答案】应助回帖
★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★
感谢参与,应助指数 +1
yjhqdm: 金币+10, ★有帮助, 希望在支持~帮忙一下 2013-04-29 20:09:39
zh1987hs: 金币+3, 谢谢 2013-04-30 11:05:01
感谢参与,应助指数 +1
yjhqdm: 金币+10, ★有帮助, 希望在支持~帮忙一下 2013-04-29 20:09:39
zh1987hs: 金币+3, 谢谢 2013-04-30 11:05:01
|
这个装好之后是库文件, 应该在lib文件里面, ~/usr/include/fftw3.h ~/usr/include/fftw3.f ~/usr/lib/libfftw3.a ~/usr/lib/libfftw3.la ~/usr/lib/libfftw3.so 看看这个链接吧 http://micro.stanford.edu/wiki/Install_FFTW3 |
2楼2013-04-29 00:44:11
3楼2013-04-29 20:09:03
Bessel
木虫 (正式写手)
- 模拟EPI: 2
- 应助: 47 (小学生)
- 金币: 1505.5
- 散金: 4755
- 红花: 8
- 帖子: 609
- 在线: 234.1小时
- 虫号: 370174
- 注册: 2007-05-13
- 专业: 凝聚态物性I:结构、力学和
4楼2013-04-29 21:45:17













回复此楼