I upgrade PGI from 8.0 to latest version(10.1) on CentOS 5.4 64bit.
8.0 works fine include Pre-compile MPICH on this machine.
10.1 also works fine except pre-compile MPICH.
I copy examples in /opt/pgi/linux86/2010/mpi/mpich and compile by makefile without any error messages.
However, when I try to mpirun, the error message shows like:
/home/danish/examples/cpi: error while loading shared libraries: libmpich.so: cannot open shared object file: No such file or directory
libmpich.so is in /opt/pgi/linux86/2010/mpi/mpich/lib and I also check path in mpirun script, the path is OK.
If I try to build with static binding by -Bstatic, mpirun goes well.
Any ideas how to fix this?