On Mon, Mar 8, 2010 at 11:37 AM, Kirk, Benjamin (JSC-EG311)
<[email protected]> wrote:
> In profiling mode libMesh builds static libraries - so we probably aren't
> doing the -Wl,-rpath magic to put the PETSc library search path into the
> executable

You're right...the link line Andrea posted only has

-L/org/groups/.../intel-10.1-mpich2-1.0.7-cxx-dbg-hypre
-lpetscsnes -lpetscksp -lpetscdm -lpetscmat -lpetscvec -lpetscsnes

no -Wl,-rpath.  So


> export LD_LIBRARY_PATH=/path/to/petsc/libs:$LD_LIBRARY_PATH

should fix it.  But I guess we should be able to link against dynamic
petsc libs even in our profiling mode?

-- 
John

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to