Hi Bill, 

So far as I know there are two things you need to check(maybe limited but hope to be helpful): 1. using chrpath -l ./mpiexec to check the running path of your binary. If you have set it, please delete it. 2. check if the path of libgfortran.so is included in the environmental variable LD_LIBRARY_PATH. The path of the dynamic library link has to be included in the LD_LIBRARY_PATH so that the execution binary can find it. 

Thanks,
Shuwei


On Sun, 14 Jan 2018 at 15:24 Robert Sullivan <rjsullivan25@gmail.com> wrote:
Hi Bill - I’m no expert, but might be worth double checking that GCC and gfortran are installed on all the nodes you’re including in the machines file. 

Rob


On Sun, 14 Jan 2018 at 20:27, Bill Petrick <wpetrick@industrialimaging.com> wrote:
Hi,

I've installed mpich-v3.2.1 into my cluster but I am having problems. My MPICH installation is configured with the gfortran compiler. Although I can compile my parallel program with no errors, I can not run it.
Below is the error message I get. Would you please help me with this problem. I also added the following lines to my
/etc/environment and .bashrc file export PATH=/clusterfiles/mpich2/bin:$PATH
and LD_LIBRARY_PATH=/clusterfiles/mpich2/lib:$LD_LIBRARY_PATH


$ mpiexec -f machines -launcher rsh  -n 2 ./a.out
./a.out: error while loading shared libraries: libgfortran.so.3: cannot open shared object file: No such file or directory

libgfortran.so.3 does reside on my computer just not in my nfs'ed "/clusterfiles/mpich2/lib"

Please find attached my c.txt, m.txt and mi.txt files

I appreciate any clues you might have. Thanks and  cheers, Bill

_______________________________________________
discuss mailing list     discuss@mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss
_______________________________________________
discuss mailing list     discuss@mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss