← Back to team overview

dolfin team mailing list archive

Re: Trilinos demos don't work

 

On Fri, January 16, 2009 13:09, Kent Andre wrote:
> On fr., 2009-01-16 at 13:03 +0100, Johannes Ring wrote:
>> On Fri, January 16, 2009 09:08, Kent Andre wrote:
>> > On to., 2009-01-15 at 19:05 +0100, Martin Sandve Alnæs wrote:
>> >> I don't know, but I noticed these lines:
>> >>
>> >> A_epetra = cpp.down_cast_EpetraMatrix(A).mat()
>> >> b_epetra = cpp.down_cast_EpetraVector(b).vec()
>> >> x_epetra = cpp.down_cast_EpetraVector(U.vector()).vec()
>> >>
>> >> you should be able to do just
>> >>
>> >> A_epetra = down_cast(A).mat()
>> >> b_epetra = down_cast(b).vec()
>> >> x_epetra = down_cast(U.vector()).vec()
>> >>
>> >> the type is found in a python layer by introspection.
>> >>
>> >> Martin
>> >>
>> >>
>> >
>> > OK.
>> >
>> > Trilinos and Dolfin are compiled with different versions of SWIG.
>> Anyone
>> > have experience with this? Could this be the problem?
>>
>> The Trilinos packages at packages.simula.no are now recompiled with SWIG
>> 1.3.37. They are only available for Hardy at the moment. Let me know if
>> anyone wants me to build Trilinos packages for Intrepid as well.
>>
>> Johannes
>>
>
> Thanks Johannes!!!
>
> The demo is now working!!!

Good! :-)

Johannes



References