Dose anyone use mpich2?

Dose anyone use mpich2?

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: cannot open shared object file: No such file or directory".

It seemed that the 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?

Shi-ming Chen

1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.