- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
Link Copied
0 Replies
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page