On Sun, Jan 8, 2017 at 10:52 PM, Chang, Hyonu <[email protected]> wrote:
> > Hi, > > Recently, I installed LibMesh v.1.1 and had no problem in running examples. > > But, compile error occurs when example is moved to other directory. > What command did you execute (exactly) in order to "move" the example? Because it looks to me like you moved more than just the example directory. For example, none of the PETSc or MPI libraries were found by the linker either: /usr/bin/ld: warning: libpetsc.so.3.7, needed by > /usr/local/lib/libmesh_opt.so, not found (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libmpifort.so.12, needed by > /usr/local/lib/libmesh_opt.so, not found (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libmpicxx.so.12, needed by > /usr/local/lib/libmesh_opt.so, not found (try using -rpath or -rpath-link) We typically use -rpath to compile the library paths directly into libmesh_opt.so. If you subsequently move the support libraries (i.e. those listed above) somewhere else, you will have to reconfigure and rebuild libmesh in order to get a working installation... -- John ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
