dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #09102
Re: Buildbot and MTL4
On Mon, August 18, 2008 13:52, Anders Logg wrote:
> On Mon, Aug 18, 2008 at 01:33:25PM +0200, Johannes Ring wrote:
>> On Mon, August 18, 2008 13:25, Anders Logg wrote:
>> > On Mon, Aug 18, 2008 at 01:18:04PM +0200, Dag Lindbo wrote:
>> >>
>> >>
>> >> Ilmar Wilbers wrote:
>> >> > Hi,
>> >> >
>> >> > No, I will need to install the MTL4 backend manually on all the
>> build
>> >> > slaves. The build slaves run on different machines, setting a path
>> for
>> >> > only the fenics server wouldn't be sufficient.
>> >>
>> >> I was suggesting that the MTL4 path could be relative to the dolfin
>> >> source, i.e. ./sandbox/mtl_src/boost/numeric/mtl4. But if you could
>> >> install as usual, that would be better.
>> >>
>> >> >
>> >> > If you send me the instructions, I will be happy to do so!
>> >>
>> >> It simple:
>> >>
>> >> svn co https://svn.osl.iu.edu/tlc/trunk/mtl4/trunk mtl4
>> >>
>> >> I would put everything from mtl4/boost in a system-wide directory,
>> e.g.
>> >> next to uBLAS in /usr/local/include/boost
>> >>
>> >> Again, there is nothing to build and install. Just add -DHAS_MTL4 to
>> the
>> >> CFLAGS and add any non-standard include path
>> >>
>> >> /Dag
>> >
>> > Can we add a test for MTL4 that sets the HAS_MTL4 flag as for the
>> > other backends?
>>
>> Yes, I will create a pkg-config generator for MTL4 as well.
>>
>> Johannes
>
> Nice!
The MTL4 pkg-config generator is finished, but I have some problems with
the Python demos. All of them are failing with the error below. Any ideas?
Johannes
Traceback (most recent call last):
File "demo.py", line 21, in <module>
from dolfin import *
File
"/home/johannr/src/hg/dolfin/local/lib/python2.5/site-packages/dolfin/__init__.py",
line 13, in <module>
from assemble import *
File
"/home/johannr/src/hg/dolfin/local/lib/python2.5/site-packages/dolfin/assemble.py",
line 22, in <module>
from dolfin import *
File
"/home/johannr/src/hg/dolfin/local/lib/python2.5/site-packages/dolfin/dolfin.py",
line 7, in <module>
import _dolfin
ImportError:
/home/johannr/src/hg/dolfin/local/lib/python2.5/site-packages/dolfin/_dolfin.so:
undefined symbol: _ZNK6dolfin10MTL4Matrix18assert_no_inserterEv
Follow ups
References