On Tue, Aug 9, 2016 at 11:35 AM, Harry Pearce <[email protected]>
wrote:

> Thank you for your help so far. It looks like this problem is close to
> being finished. Your recommendation of using #include "libmesh/foo.h"
> worked for compiling the program (I used the full path for
> libmesh_nullptr.h in the include part and that fixed those errors) but now
> when I run the executable I get the following error:
>
> ERROR: This example requires libMesh to be
> compiled with SLEPc eigen solvers support!
>
> I already have SLEPc though. I would think to fix this problem I would need
> to either add a compiler flag for SLEPc or add the program I have to the
> example programs.
>
> I would think linking would work just as well as adding to my example
> programs so I added -L/opt/slepc-3.7.0/sys
> to the compiling command but this didn't fix the problem.
>

No, libmesh needs to find SLEPc during configure in order for it to be
available while running the examples.

If you check your config.log file, you should see a message from configure
about why it wasn't found (it could be something as simple as not having
SLEPC_DIR set in your environment while running configure).

-- 
John
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. http://sdm.link/zohodev2dev
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to