Subject: Re: [Libmesh-users] Compile error in running
Libmesh example in other directory

On Sun, Jan 8, 2017 at 10:52 PM, Chang, Hyonu <monax@xxxxxxxxxx> 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:, needed by
> /usr/local/lib/, not found (try using -rpath or -rpath-link)
> /usr/bin/ld: warning:, needed by
> /usr/local/lib/, not found (try using -rpath or -rpath-link)
> /usr/bin/ld: warning:, needed by
> /usr/local/lib/, not found (try using -rpath or -rpath-link)

We typically use -rpath to compile the library paths directly into 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...

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.
Libmesh-users mailing list

Programming list archiving by: Enterprise Git Hosting