24小时热门版块排行榜    

CyRhmU.jpeg
查看: 853  |  回复: 17
当前主题已经存档。

非天之翼蓝羽

金虫 (初入文坛)

[交流] 【求助成功】abinit5.7.3安装过程中出错

【求助】abinit5.7.3安装过程中出错

I am a newcomer to LINUX and abinit. There is no  Pin yin input method on the computer, and I didn't succeed in installing one. The title was copied from other topics.Wish that some experts help me out of these troubles...

1.Installation of Pin yin input method
   Here is the instruction:
       1)`cd' to the directory containing the package's source code and type `./configure' to configure the package for your system.
       Running `configure' might take a while.  While running, it prints some messages telling which features it is checking for.
       2)Type `make' to compile the package.
       3)Optionally, type `make check' to run any self-tests that come with the package.
       4)Type `make install' to install the programs and any data files and documentation.
   BUT when I typed 'make' in step 2, here is the outcome:
   make: *** No targets specified and no makefile found.  Stop.
   What am I supposed to do?

2.Installation of abinit 5.7.3
   I've searched in the forum but it seems that no similar problem was found. Here is what I confronted:
   I've unpacked the file 'amd_ifort9_seqpar-5.7.3.tar.gz' and there came out a folder named 'abinitbin-5.7.3'. Then I did as follows:
   [admin@localhost ~]$ cd abinitbin-5.7.3
   [admin@localhost abinitbin-5.7.3]$ */*/make
   bash: */*/make: No such file or directory


   There is a file named 'Makefile' in the folder, so I tried again in this way:
   [admin@localhost abinitbin-5.7.3]$ make
   for bit in 1 2 3 4 5; \
              do  echo "Running built-in test ${bit}"; \
              cd tests ; Scripts/run-basic-tests.sh built-in ${bit}; cd .. ; \
              done
   Running built-in test 1
   /home/admin/abinitbin-5.7.3/tests/../opt/abinis: error while loading shared libraries: libtorque.so.2: cannot open shared object file: No such file or directory
   Running built-in test 2
   /home/admin/abinitbin-5.7.3/tests/../opt/abinis: error while loading shared libraries: libtorque.so.2: cannot open shared object file: No such file or directory
   Running built-in test 3
   /home/admin/abinitbin-5.7.3/tests/../opt/abinis: error while loading shared libraries: libtorque.so.2: cannot open shared object file: No such file or directory
   Running built-in test 4
   /home/admin/abinitbin-5.7.3/tests/../opt/abinis: error while loading shared libraries: libtorque.so.2: cannot open shared  object file: No such file or directory
   Running built-in test 5
   /home/admin/abinitbin-5.7.3/tests/../opt/abinis: error while loading shared libraries: libtorque.so.2: cannot open shared object file: No such file or directory


   Again, what am I supposed to do?
   I'd appreciate it very much for your precious instruction. Thanks a lot.

[ Last edited by 非天之翼蓝羽 on 2009-5-27 at 13:31 ]
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

tjpm

金虫 (正式写手)

★ ★ ★ ★ ★ ★
wuchenwf(金币+3,VIP+0):谢谢 4-30 23:36
非天之翼蓝羽(金币+3,VIP+0):thanks 5-4 09:24
你直接下载源码包
指定你使用的编译器
如果是ifort的话
export FC=ifort
export F77=ifort
./configure --prefix=/xx/xx  +很多适合你的选项
然后再make & make install
建议你好好看指南。。
2楼2009-04-30 21:44:06
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

非天之翼蓝羽

金虫 (初入文坛)

引用回帖:
Originally posted by tjpm at 2009-4-30 21:44:
你直接下载源码包
指定你使用的编译器
如果是ifort的话
export FC=ifort
export F77=ifort
./configure --prefix=/xx/xx  +很多适合你的选项
然后再make & make install
建议你好好看指南。。

I stepped into linux and abinit for one week, and I felt so lost. Anyway, thanks again and I'll try in your way. Wish you don't mind if I may bother you in the learning process.
3楼2009-05-04 09:21:40
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

tjpm

金虫 (正式写手)

★ ★
fegg7502(金币+2,VIP+0):鼓励交流! 5-25 04:35
谁都是从0起步的。。。
linux还是很好用的,前提是你习惯了
4楼2009-05-04 11:20:01
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

非天之翼蓝羽

金虫 (初入文坛)

继续求助。。

不好意思隔这么久又来求助,输入法是装上了,但是abinit还是有点问题,网站上下载的63Mb的源码包始终没装好,但是三十几兆的可以装,不过编译过程里出现这样的提示:
configure:18488: WARNING: could not download ETSF_IO plug-in tarball
configure:18490: WARNING: support for ETSF_IO plug-in has been disabled

configure:18684: WARNING: could not download ETSF_XC plug-in tarball
configure:18686: WARNING: support for ETSF_XC plug-in has been disabled

接着make和make install是不是就没什么意义了呀?多谢帮忙!
5楼2009-05-20 11:02:33
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

tjyl

金虫 (正式写手)

★ ★ ★ ★
qasd(金币+3,VIP+0):xiexie~ 5-20 22:54
非天之翼蓝羽(金币+1,VIP+0): 5-21 12:19
不是,建议你还是提问前自己看看提示信息啊。
aibinit configure时如果没有选择不装装插件,则会从网站上下载那些插件的tarball。

你用的什么发型版?
linux下从又源里安装软件其实比windows还简单的。

其实debian的源里有gcc编译的abinit 的
sudo aptitude install abinit就搞定了。。。

不过我自己也是用ifort手动编译的。

对于刚使用linux的同学,建议先看看自己使用发型版的包管理器的用法,别觉得磨刀是浪费时间
6楼2009-05-20 12:21:08
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

后天一

木虫 (小有名气)

我们的自由!

★ ★ ★ ★ ★ ★
wuchenwf(金币+5,VIP+0):谢谢 5-21 22:43
非天之翼蓝羽(金币+1,VIP+0):多谢! 5-22 15:33
呵呵,我来回答!
amd_ifort9_seqpar-5.7.3.tar.gz 这个包是Abinit官方编译好的版本,如果你机器的环境和它一样就可以直接用,不用编译,不过通常情况下,各个电脑的环境是不一样的,最好自己下载未编译的源代码,然后自己编译。
63MB的是编译好了的版本amd_ifort9_seqpar-5.7.3.tar.gz 指AMD平台用intel编译器编译的并行和串行版本
31MB的是未编译的版本,用这个!!!
对于ETSF_IO来说,这个是添加的一些新库,编译经常出问题,Xavier推荐使用
configure --disable-all-plugins

configure --disable-netcdf --disable-etsf-io --disable-bigdft
(choose among --disable-netcdf --disable-etsf-io --disable-etsf-xc --disable-bigdft --disable-wannier90 )
编译

好运!!
7楼2009-05-21 22:25:17
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

非天之翼蓝羽

金虫 (初入文坛)

多谢帮助!

引用回帖:
Originally posted by tjpm at 2009-5-4 11:20:
谁都是从0起步的。。。
linux还是很好用的,前提是你习惯了

一直没时间来回复帖子,虽然问题还没有完全解决,还是多谢!
8楼2009-05-22 15:06:23
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

非天之翼蓝羽

金虫 (初入文坛)

多谢帮助!

引用回帖:
Originally posted by tjyl at 2009-5-20 12:21:
不是,建议你还是提问前自己看看提示信息啊。
aibinit configure时如果没有选择不装装插件,则会从网站上下载那些插件的tarball。

你用的什么发型版?
linux下从又源里安装软件其实比windows还简单的。

其 ...

提示信息看哦,只是用windows习惯了,安装过程就是顺着来的,提示的安装都进行了,没有考虑各个机器和环境的不同,所以用不同的包,在不同的机器上出现了不同的问题,头大。用的是fedora core9吧,是问这个不?
多谢这位同学的提醒,包管理器的用法我还真是不知道呢。
9楼2009-05-22 15:12:20
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

非天之翼蓝羽

金虫 (初入文坛)

多谢帮助!

引用回帖:
Originally posted by 后天一 at 2009-5-21 22:25:
呵呵,我来回答!
amd_ifort9_seqpar-5.7.3.tar.gz 这个包是Abinit官方编译好的版本,如果你机器的环境和它一样就可以直接用,不用编译,不过通常情况下,各个电脑的环境是不一样的,最好自己下载未编译的源代码 ...

呵呵……你的回答我算是看得最懂的咯……多谢你的详细和耐心!
不过弱弱的问两哈,Xavier是……?括号里面的操作是可选滴?……再次感谢!

另外,论坛的操作还不熟,前面金币已经赠送完了,不知道怎么补赠呢?呵呵。

[ Last edited by 非天之翼蓝羽 on 2009-5-22 at 15:35 ]
10楼2009-05-22 15:32:53
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 非天之翼蓝羽 的主题更新
普通表情 高级回复(可上传附件)
信息提示
请填处理意见