On Fri, 28 Aug 2015 08:17:15 -0400
Gideon Simpson <[email protected]> wrote:

> By virtue of the way macports installed petsc, my mumps library is
> in /opt/local/lib, and not in the petsc sub directory. 

I'm afraid I can't help you here as I don't know Apple. Maybe Garth or
Johannes.

Jan

> 
> -gideon
> 
> > On Aug 28, 2015, at 4:46 AM, Jan Blechta
> > <[email protected]> wrote:
> > 
> > I'm afraid that this will not work, Garth. MUMPSLUSolver is toggled
> > by
> > 
> > #ifdef PETSC_HAVE_MUMPS
> > 
> > There is a linking problem to $PETSC_DIR/lib/libdmumps.a. Ensure
> > that the object is visible to linker.
> > 
> > Jan
> > 
> > 
> > On Fri, 28 Aug 2015 09:36:43 +0100
> > "Garth N. Wells" <[email protected]> wrote:
> > 
> >> As a work-around, try using -DDOLFIN_ENABLE_MUMPS=False when
> >> building DOLFIN.
> >> 
> >> I'm not aware of any FEniCS developers using MacPorts for
> >> dependencies (I use Homebrew), so support will be patchy.
> >> 
> >> Garth
> >> 
> >> On 28 August 2015 at 00:41, Gideon Simpson
> >> <[email protected]> wrote:
> >> 
> >>> Hi, I’m trying to get dolfin installed by source since the current
> >>> macports version is broken.  I have (from macports)  installed 1.5
> >>> versions for ffc,ufl,fiat, and instant, along with petsc and
> >>> slepc.  Following the instructions, it seems to go fine, except at
> >>> the very end, where I get the following error:
> >>> 
> >>> [100%] Building CXX object
> >>> dolfin/CMakeFiles/dolfin.dir/refinement/RegularCutRefinement.cpp.o
> >>> [100%] Building CXX object
> >>> dolfin/CMakeFiles/dolfin.dir/refinement/UniformMeshRefinement.cpp.o
> >>> [100%] *Linking CXX shared library libdolfin.dylib*
> >>> Undefined symbols for architecture x86_64:
> >>>  "_dmumps_c", referenced from:
> >>>      dolfin::MUMPSLUSolver::solve(dolfin::GenericVector&,
> >>> dolfin::GenericVector const&) in MUMPSLUSolver.cpp.o
> >>> ld: symbol(s) not found for architecture x86_64
> >>> clang: error: linker command failed with exit code 1 (use -v to
> >>> see invocation)
> >>> make[2]: *** [dolfin/libdolfin.1.5.0.dylib] Error 1
> >>> make[1]: *** [dolfin/CMakeFiles/dolfin.dir/all] Error 2
> >>> make: *** [all] Error 2
> >>> 
> >>> -gideon
> >>> 
> >>> 
> >>> _______________________________________________
> >>> fenics-support mailing list
> >>> [email protected]
> >>> http://fenicsproject.org/mailman/listinfo/fenics-support
> >>> 
> >>> 
> > 
> 

_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support

Reply via email to