linux下time -v 给出-v : command not found

linux下time -v 给出-v : command not found

(base) skt1faker@SKT1Faker:~/my_procedure/homework/Parallel/finish$ time -v mpirun -np 2 ./eightt.exe
-v: command not found

real	0m0.407s
user	0m0.078s
sys	0m0.034s

这里显示出现了问题,将-v是为了指令,解决方法就是使用下面的命令

(base) skt1faker@SKT1Faker:~/my_procedure/homework/Parallel/finish$ /usr/bin/time -v mpirun -np 2 ./eightt.exe
the process_id = 1 calculate num = 1378
the process_id = 0 calculate num = 1302
ans = 2680
	Command being timed: "mpirun -np 2 ./eightt.exe"
	User time (seconds): 3.55
	System time (seconds): 0.04
	Percent of CPU this job got: 196%
	Elapsed (wall clock) time (h:mm:ss or m:ss): 0:01.83
	Average shared text size (kbytes): 0
	Average unshared data size (kbytes): 0
	Average stack size (kbytes): 0
	Average total size (kbytes): 0
	Maximum resident set size (kbytes): 8768
	Average resident set size (kbytes): 0
	Major (requiring I/O) page faults: 130
	Minor (reclaiming a frame) page faults: 3605
	Voluntary context switches: 99
	Involuntary context switches: 806
	Swaps: 0
	File system inputs: 0
	File system outputs: 0
	Socket messages sent: 0
	Socket messages received: 0
	Signals delivered: 0
	Page size (bytes): 4096
	Exit status: 0

原因未知,如果小伙伴有更好的办法或者知道这是什么原因可以评论一下!!!

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值