计算化学公社

标题: 请教高手,编译 vasp 的时候,make std 出现这样的提示,怎样解决 [打印本页]

作者
Author:
wmg166    时间: 2023-8-30 10:09
标题: 请教高手,编译 vasp 的时候,make std 出现这样的提示,怎样解决
请教高手,编译  vasp 的时候,输入:make std  出现这样的提示,怎样解决。 我的是 intel 2018 ,求指点

[root@localhost ~]# cd vasp.5.4.4
[root@localhost vasp.5.4.4]# ls
arch  bin  build  makefile  README  src
[root@localhost vasp.5.4.4]# cp arch/makefile.include.linux.intel
cp: missing destination file operand after 鈇rch/makefile.include.linux.intel?
Try 'cp --help' for more information.
[root@localhost vasp.5.4.4]# cp arch/makefile.include.linux_intel
cp: missing destination file operand after 鈇rch/makefile.include.linux_intel?
Try 'cp --help' for more information.
[root@localhost vasp.5.4.4]# cp arch/makefile.include.linux.intel .
cp: cannot stat 鈇rch/makefile.include.linux.intel? No such file or directory
[root@localhost vasp.5.4.4]# cp arch/makefile.include.linux_intel .
[root@localhost vasp.5.4.4]# ls
arch  bin  build  makefile  makefile.include.linux_intel  README  src
[root@localhost vasp.5.4.4]# make std
mkdir build/std ; \
cp src/makefile src/.objects makefile.include build/std ; \
make -C build/std VERSION=std all
cp: cannot stat 鈓akefile.include? No such file or directory
make[1]: Entering directory '/root/vasp.5.4.4/build/std'
makefile:24: makefile.include: No such file or directory
make[1]: *** No rule to make target 'makefile.include'.  Stop.
make[1]: Leaving directory '/root/vasp.5.4.4/build/std'
make: *** [makefile:10: std] Error 2
[root@localhost vasp.5.4.4]# make all
mkdir build/std ; \
cp src/makefile src/.objects makefile.include build/std ; \
make -C build/std VERSION=std all
mkdir: cannot create directory 鈈uild/std? File exists
cp: cannot stat 鈓akefile.include? No such file or directory
make[1]: Entering directory '/root/vasp.5.4.4/build/std'
makefile:24: makefile.include: No such file or directory
make[1]: *** No rule to make target 'makefile.include'.  Stop.
make[1]: Leaving directory '/root/vasp.5.4.4/build/std'
make: *** [makefile:10: std] Error 2


作者
Author:
bluewhale    时间: 2023-8-30 10:18
文件和目录名明显有乱码
作者
Author:
zixuan    时间: 2023-8-30 10:19
没有make.include文件呀,那个拷贝的文件用这个命令 cp arch/makefile.include.linux.intel ./make.include
作者
Author:
wmg166    时间: 2023-8-30 10:24
zixuan 发表于 2023-8-30 10:19
没有make.include文件呀,那个拷贝的文件用这个命令 cp arch/makefile.include.linux.intel ./make.include

大神,这样吗? 好像不行
[root@localhost vasp.5.4.4]# cp arch/makefile.include.linux.intel make.include
cp: cannot stat 鈇rch/makefile.include.linux.intel? No such file or directory
[root@localhost vasp.5.4.4]#

作者
Author:
wmg166    时间: 2023-8-30 10:25
wmg166 发表于 2023-8-30 10:24
大神,这样吗? 好像不行
[root@localhost vasp.5.4.4]# cp arch/makefile.include.linux.intel make.in ...

[root@localhost ~]# ls
anaconda-ks.cfg             l_BaseKit_p_2023.1.0.46401_offline     l_HPCKit_p_2023.1.0.46346_offline.sh         vasp.5.4.4         wget-log
intel                       l_BaseKit_p_2023.1.0.46401_offline.sh  parallel_studio_b.lic                        vasp.5.4.4.tar.gz
intel02                     l_BaseKit_p_2023.1.0.46401.sh          parallel_studio_xe_2018_cluster_edition.tgz  vasp.6.1.2.tar.gz
l_BaseKit_p_2023.1.0.46401  l_BaseKit_p_2023.1.0.46401.sh.1        parallel_studio_x.lic                        Version7.0
[root@localhost ~]# cd vasp.5.4.4
[root@localhost vasp.5.4.4]# ls
arch  bin  build  makefile  README  src
[root@localhost vasp.5.4.4]# cp arch/makefile.include.linux.intel
cp: missing destination file operand after 鈇rch/makefile.include.linux.intel?
Try 'cp --help' for more information.
[root@localhost vasp.5.4.4]# cp arch/makefile.include.linux_intel
cp: missing destination file operand after 鈇rch/makefile.include.linux_intel?
Try 'cp --help' for more information.
[root@localhost vasp.5.4.4]# cp arch/makefile.include.linux.intel .
cp: cannot stat 鈇rch/makefile.include.linux.intel? No such file or directory
[root@localhost vasp.5.4.4]# cp arch/makefile.include.linux_intel .
[root@localhost vasp.5.4.4]# ls
arch  bin  build  makefile  makefile.include.linux_intel  README  src
[root@localhost vasp.5.4.4]# make std
mkdir build/std ; \
cp src/makefile src/.objects makefile.include build/std ; \
make -C build/std VERSION=std all
cp: cannot stat 鈓akefile.include? No such file or directory
make[1]: Entering directory '/root/vasp.5.4.4/build/std'
makefile:24: makefile.include: No such file or directory
make[1]: *** No rule to make target 'makefile.include'.  Stop.
make[1]: Leaving directory '/root/vasp.5.4.4/build/std'
make: *** [makefile:10: std] Error 2
[root@localhost vasp.5.4.4]# make all
mkdir build/std ; \
cp src/makefile src/.objects makefile.include build/std ; \
make -C build/std VERSION=std all
mkdir: cannot create directory 鈈uild/std? File exists
cp: cannot stat 鈓akefile.include? No such file or directory
make[1]: Entering directory '/root/vasp.5.4.4/build/std'
makefile:24: makefile.include: No such file or directory
make[1]: *** No rule to make target 'makefile.include'.  Stop.
make[1]: Leaving directory '/root/vasp.5.4.4/build/std'
make: *** [makefile:10: std] Error 2
[root@localhost vasp.5.4.4]# cp arch/makefile.include.linux.intel make.include
cp: cannot stat 鈇rch/makefile.include.linux.intel? No such file or directory
[root@localhost vasp.5.4.4]#

作者
Author:
zixuan    时间: 2023-8-30 14:52
“./” 你没打啊,直接复制命令吧
作者
Author:
wmg166    时间: 2023-8-31 15:56
zixuan 发表于 2023-8-30 14:52
“./” 你没打啊,直接复制命令吧

大神  还不行
[root@localhost vasp.5.4.4]# cp arch/makefile.include.linux.intel ./make.include
cp: cannot stat 鈇rch/makefile.include.linux.intel? No such file or directory
[root@localhost vasp.5.4.4]# cp ./ arch/makefile.include.linux.intel ./make.include
cp: target ?/make.include?is not a directory
[root@localhost vasp.5.4.4]# cp ./arch/makefile.include.linux.intel ./make.include
cp: cannot stat ?/arch/makefile.include.linux.intel? No such file or directory
[root@localhost vasp.5.4.4]# cp arch/makefile.include.linux.intel./make.include
cp: missing destination file operand after 鈇rch/makefile.include.linux.intel./make.include?
Try 'cp --help' for more information.

作者
Author:
乐平    时间: 2023-8-31 20:21
wmg166 发表于 2023-8-31 15:56
大神  还不行
[root@localhost vasp.5.4.4]# cp arch/makefile.include.linux.intel ./make.include
...

你的系统有问题吧…… 那么明显的乱码 “鈇” 你看不到吗?

  1. [root@localhost vasp.5.4.4]# cp arch/makefile.include.linux.intel ./make.include
  2. cp: cannot stat 鈇rch/makefile.include.linux.intel? No such file or directory
复制代码



作者
Author:
wypkdhd    时间: 2023-9-1 15:38
请看我帖子,intel2018没啥问题,看我帖子里面复制然后修改makefile相应的东西,然后编译。
作者
Author:
乐平    时间: 2023-9-1 15:43
wmg166 发表于 2023-8-31 15:56
大神  还不行
[root@localhost vasp.5.4.4]# cp arch/makefile.include.linux.intel ./make.include
...

你从 VASP 6.1.2 怎么退回到 VASP 5.4.4 了……
作者
Author:
zhaoquanyou    时间: 2024-9-16 16:49
我在编译6.4.2的时候也遇到了问题,有没有大哥帮我看一下是因为什么啊
make[1]: Leaving directory '/home/quanyou/vasp/vasp.6.4.2/build/std'




欢迎光临 计算化学公社 (http://bbs.keinsci.com/) Powered by Discuz! X3.3