Hi all, I run my code as follows:
mpiexec -np 2 ./hoac test1.cgns and I get the following error: ./hoac: error while loading shared libraries: libpetsc.so.3.11: cannot open shared object file: No such file or directory ./hoac: error while loading shared libraries: libpetsc.so.3.11: cannot open shared object file: No such file or directory but the libpetsc.so.3.11 exists. I ls my local petsc installation at: ls -l $PETSC_DIR/$PETSC_ARCH/lib and I get -rw-r--r--. 1 ** ** 8955614 Sep 4 23:15 libcmumps.a -rw-r--r--. 1 ** ** 8900950 Sep 4 23:15 libdmumps.a -rw-r--r--. 1 ** ** 1655112 Sep 4 23:03 libfblas.a -rw-r--r--. 1 ** ** 29819054 Sep 4 23:03 libflapack.a -rw-r--r--. 1 ** ** 110570758 Sep 4 23:16 libHYPRE.a -rwxr-xr-x. 1 ** ** 1996784 Sep 4 23:05 libmetis.so -rw-r--r--. 1 ** ** 3268440 Sep 4 23:15 libmumps_common.a -rwxr-xr-x. 1 ** ** 1358144 Sep 4 23:05 libparmetis.so lrwxrwxrwx. 1 ** ** 18 Sep 4 23:20 libpetsc.so -> libpetsc.so.3.11.3 lrwxrwxrwx. 1 ** ** 18 Sep 4 23:20 libpetsc.so.3.11 -> libpetsc.so.3.11.3 -rwxrwxr-x. 1 ** ** 111015280 Sep 4 23:20 libpetsc.so.3.11.3 -rw-r--r--. 1 ** ** 2026784 Sep 4 23:15 libpord.a -rw-r--r--. 1 ** ** 80737926 Sep 4 23:12 libscalapack.a -rw-r--r--. 1 ** ** 8902046 Sep 4 23:15 libsmumps.a -rw-r--r--. 1 ** ** 8973822 Sep 4 23:15 libzmumps.a drwxr-xr-x. 3 ** ** 4096 Sep 4 22:55 petsc drwxr-xr-x. 2 ** ** 4096 Sep 4 23:03 pkgconfig and I see that the libepetsc.so.3.11 exists as a link. Why do I get this error then? Regards, Kostas