24小时热门版块排行榜    

查看: 2307  |  回复: 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 的主题更新
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考博] 东华理工大学化材专业26届硕士博士申请 +6 zlingli 2026-03-13 6/300 2026-03-15 20:00 by ryzcf
[考研] 东南大学364求调剂 +3 JasonYuiui 2026-03-15 3/150 2026-03-15 18:57 by 无际的草原
[考研] 化学工程321分求调剂 +5 大米饭! 2026-03-15 5/250 2026-03-15 18:49 by a不易
[考研] 328求调剂 +3 5201314Lsy! 2026-03-13 6/300 2026-03-14 15:31 by hyswxzs
[考研] 267一志愿南京工业大学0817化工求调剂 +5 SUICHILD 2026-03-12 5/250 2026-03-14 14:53 by jean5056
[考研] 求调剂,药学 +3 归零lbm 2026-03-09 5/250 2026-03-14 02:21 by JourneyLucky
[考研] 085600求调剂 +3 a邵星池 2026-03-09 3/150 2026-03-14 01:32 by JourneyLucky
[考研] 312求调剂 +6 陌宸希 2026-03-10 6/300 2026-03-14 00:40 by JourneyLucky
[考研] 0856材料与化工309分求调剂 +6 ZyZy…… 2026-03-10 6/300 2026-03-14 00:38 by JourneyLucky
[考研] [0860]321分求调剂,ab区皆可 +4 宝贵热 2026-03-13 4/200 2026-03-13 22:01 by 星空星月
[考研] 四川大学085601材料工程专硕 初试294求调剂 +4 祝我们好在冬天 2026-03-11 4/200 2026-03-13 21:39 by peike
[考研] 311求调剂 +3 冬十三 2026-03-13 3/150 2026-03-13 20:41 by JourneyLucky
[考研] 工科278分求调剂 +5 周慢热啊 2026-03-12 7/350 2026-03-13 15:49 by JourneyLucky
[考研] 一志愿211化学学硕310分求调剂 +8 努力奋斗112 2026-03-12 9/450 2026-03-13 15:41 by JourneyLucky
[考研] 314求调剂 +7 无懈可击的巨人 2026-03-12 7/350 2026-03-13 15:40 by JourneyLucky
[考研] 求调剂 +3 程雨杭 2026-03-12 3/150 2026-03-13 15:06 by JourneyLucky
[考研] 26考研求调剂 +5 丶宏Sir 2026-03-13 5/250 2026-03-13 13:05 by JourneyLucky
[考研] 0856化学工程280分求调剂 +4 shenzxsn 2026-03-11 4/200 2026-03-13 11:55 by ymwdoctor
[考研] 0856化工原理 +6 z2839474511 2026-03-10 6/300 2026-03-13 10:41 by houyaoxu
[考研] 化工学硕306求调剂 +9 42838695 2026-03-12 9/450 2026-03-13 10:16 by houyaoxu
信息提示
请填处理意见