dorsal team mailing list archive
-
dorsal team
-
Mailing list archive
-
Message #00427
Re: Installing on a mac
On Fri, Oct 15, 2010 at 5:42 PM, Peter Monk <nibj@xxxxxx> wrote:
> Hi
> I am trying to install on a mac with snow leopard 10.6.4 and gcc 4.2.1 (also ifort 11.1) and up to date macports using dorsal-0.8.1.
>
> The build went without obvious problems.
>
> So I tried
>
> python demo.py
>
> in the pde/poisson demo and I get
>
>> lindv9:python monk$ !py
>> python demo.py
>> Traceback (most recent call last):
>> File "demo.py", line 22, in <module>
>> from dolfin import *
>> File "/Users/monk/FEniCS/lib/python2.6/site-packages/dolfin/__init__.py", line 13, in <module>
>> import dolfin.cpp as cpp
>> File "/Users/monk/FEniCS/lib/python2.6/site-packages/dolfin/cpp.py", line 28, in <module>
>> _cpp = swig_import_helper()
>> File "/Users/monk/FEniCS/lib/python2.6/site-packages/dolfin/cpp.py", line 24, in swig_import_helper
>> _mod = imp.load_module('_cpp', fp, pathname, description)
>> ImportError: dlopen(/Users/monk/FEniCS/lib/python2.6/site-packages/dolfin/_cpp.so, 2): Symbol not found: _METIS_mCPartGraphRecursive2
>> Referenced from: /Users/monk/FEniCS/src/petsc-3.1-p4/darwin10.0.0-cxx-opt/lib/libpetsc.dylib
>> Expected in: flat namespace
>> in /Users/monk/FEniCS/src/petsc-3.1-p4/darwin10.0.0-cxx-opt/lib/libpetsc.dylib
Your problem seems very similar to what is described in this thread:
https://lists.launchpad.net/dorsal/msg00394.html
Try to add
CONFOPTS="-DMETIS_LIBRARY=${INSTALL_PATH}/lib/libmetis.a"
in FEniCS/packages/dolfin.package and re-run Dorsal.
Johannes
>
> (BTW a colleague here who installed yesterday using0.8.0 with a seemingly very similar setup had no problem - except for the fenicsproject edit).
>
>
> After this I have tried to read the discussion in the archives but it doesn't make a lot of sense to me.
>
> So I am at a bit of a loss what to do next. Can someone summarize in a simple way what edits I should make in order to install FEniCS on a mac with snow leopard. Thanks and my apologies for asking you about something that has been so extensively discussed already.
>
> Peter
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dorsal
> Post to : dorsal@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dorsal
> More help : https://help.launchpad.net/ListHelp
>
Follow ups
References