On 28 August 2015 at 13:25, Gideon Simpson <[email protected]> wrote:
> I have no problem if my fenics installation doesn’t have mumps support, I > just need some basic functionality. Is there a way to get it to ignore it? > > You could just change '#ifdef PETSC_HAVE_MUMPS' in MUMPSLUSolver.h and MUMPSLUSolver.cpp to '#ifdef PETSC_HAVE_MUMPS_FOO'. Garth > -gideon > > On Aug 28, 2015, at 8:24 AM, Jan Blechta <[email protected]> > wrote: > > 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
