On Jan 20, 2014, at 6:34 PM, John Peterson <[email protected]> wrote:

> 
> 
> 
> On Mon, Jan 20, 2014 at 9:34 AM, Lorenzo Zanon <[email protected]> 
> wrote:
> Hello,
> 
> Our IT team developed a new procedure for installing libmesh on our iMac 
> machines, so that petsc, slepc, glpk, and eigen are called from the macports 
> that are controlled by them. The procedure - here below - works fine, I think 
> the girl called Vera wrote here to come up with it.
> 
> There's something weird though. In order to run the examples - or any other 
> code - after the installation, the assertion in the main file
> 
> libmesh_example_assert(libMesh::default_solver_package() == PETSC_SOLVERS, 
> "--enable-petsc");
> 
> has to be commented out, since it would otherwise fail. After doing that, 
> petsc works fine, despite the assertion.
> 
> If this assertion fails, I'm pretty sure it means PETSc wasn't found during 
> libmesh installation, so I'm a little confused how you know it "works fine".  
> For example, do you know it's not falling back on Laspack solvers?
> 

Yes, you are right, it's actually using Laspack. That's why the examples 
requiring only linear solver run, whereas the others don't. Then the 
installation procedure is wrong.

Thanks!
Lorenzo
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to