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: 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
"LD_LIBRARY_PATH=/opt/intel_fc_80/lib",
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 / novo 0
Para obter mais informações sobre otimizações de compiladores, consulte Aviso sobre otimizações.