libmpi_f90找不到目标共享文件

问题
libmpi_f90找不到目标共享文件

BDF command:  /home/js/Documents/nwupt/bdf-pkg-master-new/bin/compass.x /tmp/test0013702/test001XX0.compass.inp
/home/js/Documents/nwupt/bdf-pkg-master-new/bin/compass.x: error while loading shared libraries: libmpi_f90.so.1: cannot open shared object file: No such file or directory

解决:
我把软件ga和openmpi安装在了/home/js/Documents/tool里面,但是这不在系统默认寻找库的位置,所以应该添加上,在.bashrc上添加

export LD_LIBRARY_PATH=/WHERE/IS/OPENMPI:/WHERE/IS/GA:$LD_LIBRARY_PATH
阅读更多
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页