openmpiUbuntu 18.04 的存储库中缺少几个模块。我需要用fortran编译一个程序并最终出现错误:
/usr/bin/x86_64-linux-gnu-ld: cannot find -lblacs-openmpi
/usr/bin/x86_64-linux-gnu-ld: cannot find -lblacsCinit-openmpi
/usr/bin/x86_64-linux-gnu-ld: cannot find -lblacsF77init-openmpi
Run Code Online (Sandbox Code Playgroud)
我在 Ubuntu 16.04 中没有问题。如何安装缺少的模块?
我在来宾机(均为 Ubuntu)上从主机运行命令:
VBoxManage guestcontrol Ubuntu1 run --exe "script.sh" --username xx --password xx --wait-stdout
Run Code Online (Sandbox Code Playgroud)
来宾计算机上的 shell 脚本如下
#!/bin/bash
echo $1
Run Code Online (Sandbox Code Playgroud)
执行shell脚本时如何传递参数1?
我认为它应该作为
run --exe "script.sh arg1"
Run Code Online (Sandbox Code Playgroud)
但事实并非如此。
我新安装的 Ubuntu 20.04 在正常活动期间经常崩溃。这些是var/log/syslog崩溃前的最后几行:
Jul 2 01:23:16 ubuntu1 kernel: [363076.136396] RIP: 0010:kmem_cache_alloc_node+0x121/0x260
Jul 2 01:23:16 ubuntu1 kernel: [363076.136397] Code: 75 0e 4d 89 f9 41 f6 47 0b 04 0f 84 4b ff ff ff 4c 89 ff e8 51 ff 01 00 49 89 c1 e9 3b ff ff ff 41 8b 41 20 49 8b 39 4c 01 e0 <48> 8b 18 48 89 c1 49 33 99 70 01 00 00 4c 89 e0 48 …Run Code Online (Sandbox Code Playgroud)