计算化学公社

 找回密码 Forget password
 注册 Register
Views: 2689|回复 Reply: 10
打印 Print 上一主题 Last thread 下一主题 Next thread

[VASP] 请教高手,编译 vasp 的时候,make std 出现这样的提示,怎样解决

[复制链接 Copy URL]

257

帖子

0

威望

1167

eV
积分
1424

Level 4 (黑子)

跳转到指定楼层 Go to specific reply
楼主
请教高手,编译  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

175

帖子

0

威望

5467

eV
积分
5642

Level 6 (一方通行)

2#
发表于 Post on 2023-8-30 10:18:17 | 只看该作者 Only view this author
文件和目录名明显有乱码

8

帖子

0

威望

18

eV
积分
26

Level 2 能力者

3#
发表于 Post on 2023-8-30 10:19:35 | 只看该作者 Only view this author
没有make.include文件呀,那个拷贝的文件用这个命令 cp arch/makefile.include.linux.intel ./make.include

257

帖子

0

威望

1167

eV
积分
1424

Level 4 (黑子)

4#
 楼主 Author| 发表于 Post on 2023-8-30 10:24:06 | 只看该作者 Only view this author
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]#

257

帖子

0

威望

1167

eV
积分
1424

Level 4 (黑子)

5#
 楼主 Author| 发表于 Post on 2023-8-30 10:25:07 | 只看该作者 Only view this author
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]#

8

帖子

0

威望

18

eV
积分
26

Level 2 能力者

6#
发表于 Post on 2023-8-30 14:52:18 | 只看该作者 Only view this author
“./” 你没打啊,直接复制命令吧

257

帖子

0

威望

1167

eV
积分
1424

Level 4 (黑子)

7#
 楼主 Author| 发表于 Post on 2023-8-31 15:56:02 | 只看该作者 Only view this author
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.

1155

帖子

0

威望

4429

eV
积分
5584

Level 6 (一方通行)

8#
发表于 Post on 2023-8-31 20:21:01 | 只看该作者 Only view this author
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
复制代码


285

帖子

2

威望

4632

eV
积分
4957

Level 6 (一方通行)

打脸只许打一次

9#
发表于 Post on 2023-9-1 15:38:22 | 只看该作者 Only view this author
请看我帖子,intel2018没啥问题,看我帖子里面复制然后修改makefile相应的东西,然后编译。

1155

帖子

0

威望

4429

eV
积分
5584

Level 6 (一方通行)

10#
发表于 Post on 2023-9-1 15:43:53 | 只看该作者 Only view this author
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 了……

36

帖子

0

威望

111

eV
积分
147

Level 2 能力者

11#
发表于 Post on 2024-9-16 16:49:52 | 只看该作者 Only view this author
我在编译6.4.2的时候也遇到了问题,有没有大哥帮我看一下是因为什么啊
make[1]: Leaving directory '/home/quanyou/vasp/vasp.6.4.2/build/std'

本版积分规则 Credits rule

手机版 Mobile version|北京科音自然科学研究中心 Beijing Kein Research Center for Natural Sciences|京公网安备 11010502035419号|计算化学公社 — 北京科音旗下高水平计算化学交流论坛 ( 京ICP备14038949号-1 )|网站地图

GMT+8, 2026-2-20 21:44 , Processed in 0.234086 second(s), 20 queries , Gzip On.

快速回复 返回顶部 返回列表 Return to list