Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.

Dose anyone use mpich2?

shiming_chen
Beginner
373 Views
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
0 Kudos
0 Replies
Reply