Dose anyone use mpich2 with ifort (l_fc_pc_8.1.025)?
I had a small question with this combination. When I compiled my test MPI program with mpif90, all were ok. Then I ran it with mpiexec -n 1 ./a.out, it showed
"./a.out: error while loading shared libraries: libcxa.so.5: cannot open shared object file: No such file or directory".
It seemed that the libcxa.so.5 could not be found. I checked my env and it showed
so the compiler initiation scripts went well.
Finally, I modified the mpiexec command to resolve the problem:
mpiexec -genv LD_LIBRARY_PATH /opt/intel_fc_80/lib -n 1 ./a.out
My question is that why LD_LIBRARY_PATH dose not pass to mpiexec automatically? Is my installation of mpich2 incomplete?