24小时热门版块排行榜    

查看: 2324  |  回复: 12

miaozhang

木虫 (小有名气)

[交流] 【求助】求助:安装abinit-6.2.3出现错误 已有2人参与

第一次接触abinit,以前也没接触过,弱弱问下面这个问题是怎么回事?
/usr/bin/install -c abinetcdf abinit aim anaddb band2eps conducti cut3d fftprof lwf mrgddb mrggkk mrgscr newsp optic ujdet macroave '/usr/local/bin'
/usr/bin/install: cannot create regular file `/usr/local/bin/abinetcdf': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/abinit': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/aim': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/anaddb': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/band2eps': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/conducti': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/cut3d': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/fftprof': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/lwf': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/mrgddb': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/mrggkk': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/mrgscr': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/newsp': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/optic': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/ujdet': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/macroave': Permission denied
make[3]: *** [install-binPROGRAMS] Error 1
make[3]: Leaving directory `/home/ygzhang/abinit-6.2.3/src/98_main'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/ygzhang/abinit-6.2.3/src/98_main'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/ygzhang/abinit-6.2.3/src'
make: *** [install-recursive] Error 1
见有人出现过相同问题,但没看懂到底是什么原因,怎么解决啊?
还有在并行机上安装abinit需要设置什么东西吗?
谢谢!!!
回复此楼

» 猜你喜欢

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

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

valenhou001

至尊木虫 (职业作家)

★ ★ ★
miaozhang(金币+1):谢谢参与
miaozhang(金币+2): 2010-10-01 08:51:19
zzy870720z(金币+2):侯老师辛苦了,多谢指点 2010-10-01 21:22:01
问题出在,你在configure这一步时,没有指定安装的目录(也就是没有设置--prefix的赋值),那运行make install这一步的时候,就默认得编译得到的abinit可执行模块都要拷贝到/usr/local/bin目录下,但是,这个目录一般是只有root权限的用户可以才可读写文件。

解决的办法:重新./configure ---prefix="指定一个你当前用户帐号可以读写的目录"  .........
其他的与你以前的设置和做的步骤一样。再重新编译,安装。
2楼2010-10-01 08:19:11
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

wenjlu

木虫 (正式写手)

★ ★
miaozhang(金币+1):谢谢参与
miaozhang(金币+1): 2010-10-01 08:51:30
zzy870720z(金币+1):谢谢提示,一般软件还是不用root安装为好 2010-10-01 21:22:36
Permission denied

要切换 root 用户组
3楼2010-10-01 08:36:07
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

miaozhang

木虫 (小有名气)

引用回帖:
Originally posted by valenhou001 at 2010-10-01 08:19:11:
问题出在,你在configure这一步时,没有指定安装的目录(也就是没有设置--prefix的赋值),那运行make install这一步的时候,就默认得编译得到的abinit可执行模块都要拷贝到/usr/local/bin目录下,但是,这个目录一 ...

在并行机上这样就可以了吗?需要设置一些参数吗?
谢谢!
4楼2010-10-01 08:54:04
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

miaozhang(金币+1):谢谢参与
5楼2010-10-01 09:02:22
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

miaozhang

木虫 (小有名气)

引用回帖:
Originally posted by wenjlu at 2010-10-01 08:36:07:
Permission denied

要切换 root 用户组

老师把root收回去了,我只在自己的帐号下安装,应该可以用吧?
6楼2010-10-01 09:03:42
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

valenhou001

至尊木虫 (职业作家)

★ ★
miaozhang(金币+1):谢谢参与
zzy870720z(金币+1):谢谢提示 2010-10-01 21:22:56
安装到你自己的目录中,也是可以用。
7楼2010-10-01 14:35:11
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

zhouhua0227

新虫 (小有名气)

abinit


miaozhang(金币+1):谢谢参与
楼主啊,你有abinit软件包,能不能上传啊?我找了好久,都没有找到!先谢谢了!
8楼2010-10-01 16:41:10
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

zxzj05

荣誉版主 (著名写手)

★ ★
miaozhang(金币+1):谢谢参与
zzy870720z(金币+1):辛苦了 2010-10-01 21:23:09
引用回帖:
Originally posted by zhouhua0227 at 2010-10-01 16:41:10:
楼主啊,你有abinit软件包,能不能上传啊?我找了好久,都没有找到!先谢谢了!

http://www.abinit.org
官方网站
储氢家族欢迎储氢研究者!
9楼2010-10-01 20:23:32
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

miaozhang

木虫 (小有名气)

引用回帖:
Originally posted by valenhou001 at 2010-10-01 14:35:11:
安装到你自己的目录中,也是可以用。

IFORT,  MPI,我都装上了,在.BASHRC中指认了路径:
# .bashrc
# User specific aliases and functions
export PATH=/home/ygzhang/mpich2/bin:$PATH
export PATH=/home/ygzhang/abinit/bin:$PATH
# Source global definitions
if [ -f /etc/bashrc ]; then
        . /etc/bashrc
fi

然后./configure --prefix=/home/abinit FC=mpif90   --enable-mpi=yes
出现了以下错误,
checking for mpif90... /opt/intel/impi/3.1/bin64/mpif90
checking whether we are using the GNU Fortran compiler... no
checking whether mpif90 accepts -g... no
checking which type of Fortran compiler we have... generic 0.0
checking fortran 90 modules extension...
configure: setting Fortran module extension to ".mod"
checking for Fortran flag to compile .F90 files... unknown
configure: WARNING: Fortran file extension could not be changed
configure: WARNING: some advanced Fortran tests may fail
configure: determining Fortran module case
configure: error: in `/home/ygzhang/abinit-6.2.3':
configure: error: unable to compile a simple Fortran module
不知怎么解决,是f90的编译器出问题了?
谢谢!
10楼2010-10-02 09:01:30
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 miaozhang 的主题更新
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 329求调剂 +5 想上学吖吖 2026-03-19 5/250 2026-03-19 23:56 by 23Postgrad
[考研] 招收调剂硕士 +4 lidianxing 2026-03-19 10/500 2026-03-19 16:05 by 余麟余
[考研] 085601材料工程专硕求调剂 +10 慕寒mio 2026-03-16 10/500 2026-03-19 15:26 by 丁丁*
[考研] 一志愿北京化工大学0703化学318分,有科研经历,求调剂 +3 一瓶苯甲酸 2026-03-14 3/150 2026-03-19 15:17 by 尽舜尧1
[考研] 一志愿天津大学化学工艺专业(081702)315分求调剂 +11 yangfz 2026-03-17 11/550 2026-03-19 15:06 by houyaoxu
[考研] 求调剂 +3 Mqqqqqq 2026-03-19 3/150 2026-03-19 14:11 by peike
[考研] 一志愿天大材料与化工(085600)总分338 +5 蔡大美女 2026-03-13 5/250 2026-03-19 10:44 by 是小刘呀~
[考研] 274求调剂 +6 S.H1 2026-03-18 6/300 2026-03-19 09:34 by 花店相见
[考研] 0703化学 305求调剂 +4 FY_yy 2026-03-14 4/200 2026-03-19 05:54 by anny19840123
[考研] 344求调剂 +6 knight344 2026-03-16 7/350 2026-03-18 20:13 by walc
[考研] 08工科 320总分 求调剂 +5 梨花珞晚风 2026-03-17 5/250 2026-03-18 14:49 by haxia
[考研] 298-一志愿中国农业大学-求调剂 +7 手机用户 2026-03-17 7/350 2026-03-18 14:34 by vgtyfty
[考研] 297求调剂 +8 戏精丹丹丹 2026-03-17 8/400 2026-03-18 14:30 by laoshidan
[考研] 070300化学319求调剂 +6 锦鲤0909 2026-03-17 6/300 2026-03-18 13:22 by Iveryant
[考研] 265求调剂 +3 梁梁校校 2026-03-17 3/150 2026-03-18 09:12 by zhukairuo
[考研] 有没有道铁/土木的想调剂南林,给自己招师弟中~ +3 TqlXswl 2026-03-16 7/350 2026-03-17 15:23 by TqlXswl
[考研] 326求调剂 +3 mlpqaz03 2026-03-15 3/150 2026-03-16 07:33 by Iveryant
[考研] 080500,材料学硕302分求调剂学校 +4 初识可乐 2026-03-14 5/250 2026-03-14 21:08 by peike
[考研] 289求调剂 +4 这么名字咋样 2026-03-14 6/300 2026-03-14 18:58 by userper
[考研] 复试调剂 +3 呼呼?~+123456 2026-03-14 3/150 2026-03-14 16:53 by WTUChen
信息提示
请填处理意见