我在https://github.com/alibaba/mpich2-yarn中使用mpich2 / yarn(这是在Hadoop YARN上运行的应用程序,它允许在Hadoop YARN群集上运行MPI程序)
我的命令:
hadoop jar mpich2-yarn-1.0-SNAPSHOT.jar -a ./sssp -M 256 -m 256 -n 3
当exec程序出现以下错误时:
17/03/08 07:53:57 INFO client.Client: [stderr]/home/ubuntu/hdfstmp/mpiexecs/appattempt_1488955404934_0003_000001/MPIExec: error while loading shared libraries: libjvm.so: cannot open shared object file: No such file or directory
但我在.bashrc
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$JAVA_HOME/jre/lib/amd64:$JAVA_HOME/jre/lib/amd64/server
所以它有什么问题。有人能告诉我吗?感谢