I am trying to connect multiple virutalbox linux systems with mpich2. What i allready did:
added paths on Master
export PATH=/share/mpich2/bin:$PATH export LD_LIBRARY_PATH="/mirror/mpich2/lib:$LD_LIBRARY_PATH"
i also aded this to: ./bashrc
But at the end when i want to start program (mpiexec -f hosts -n 4 ./mpi_test ), i get error:
hydra_pmi_proxy: error while loading libraries: libcr.so.0:cannot open shared object file: No souch file or directory
From http://jahanzebnotes.blogspot.com/2013/07/hydrapmiproxy-error-while-loading.html
If you encounter this error while running mpich, then install this:
$ sudo apt-get install libcr-dev
If you are still facing this problem then you might not have configured your LD_LIBRARY_PATH
and PATH
correctly, then go to ~/.bashrc
, you will see this line at the start of your bash:
[ -z "$PS1" ] && return
Put your LD_LIBRRAY_PATH
and PATH
variable exports before this line.