[firedrake] Errors
Justin Chang
jychang48 at gmail.com
Fri Nov 20 18:37:39 GMT 2015
Hi all,
So fixing HDivElement and HCurlElement works.
Now, unrelated, I am getting some installation errors when installing
firedrake on my University iMac (still on Yosemite). Attached is the output
from --log.
It seems this error is PETSc/HDF5/h5py related, and I can't seem to dissect
what the error means. Can y'all understand what's going on or should I
defer this to the PETSc folks?
Thanks,
Justin
On Fri, Nov 20, 2015 at 11:44 AM, Justin Chang <jychang48 at gmail.com> wrote:
> okay just did.
>
> On Fri, Nov 20, 2015 at 11:20 AM, Lawrence Mitchell <
> lawrence.mitchell at imperial.ac.uk> wrote:
>
>>
>> On 20 Nov 2015, at 17:15, Justin Chang <jychang48 at gmail.com> wrote:
>>
>> Hi all,
>>
>> Just the latest update, and got these errors when trying to output a
>> solution that is in CG1 space:
>>
>> Traceback (most recent call last):
>>
>> File "2D_OS_point_ex1.py", line 309, in <module>
>>
>> outFile_psiA << u0_A
>>
>> File "/Users/justin/Software/firedrake/src/firedrake/firedrake/io.py",
>> line 110, in __lshift__
>>
>> self._file << data
>>
>> File "/Users/justin/Software/firedrake/src/firedrake/firedrake/io.py",
>> line 524, in __lshift__
>>
>> self._update_PVD(data)
>>
>> File "/Users/justin/Software/firedrake/src/firedrake/firedrake/io.py",
>> line 542, in _update_PVD
>>
>> new_vtk << function
>>
>> File "/Users/justin/Software/firedrake/src/firedrake/firedrake/io.py",
>> line 188, in __lshift__
>>
>> coords_p1 = is_family1(ce, 'Lagrange') or is_family1(ce, 'Q')
>>
>> File "/Users/justin/Software/firedrake/src/firedrake/firedrake/io.py",
>> line 157, in is_family1
>>
>> if isinstance(e, (hc.HDiv, hc.HCurl)):
>>
>> AttributeError: 'module' object has no attribute 'HDiv'
>>
>>
>>
>> Oops, in firedrake/io.py change references to HDiv and HCurl into
>> HDivElement and HCurlElement respectively. If you do this can you prepare a
>> pull request?
>>
>>
>> I noticed that there have been many updates/changes regarding UFL, so
>> could this have something to do with it?
>>
>> On a side note, I also got these warnings:
>>
>> *Mesh.cell() is deprecated, please use .ufl_cell() instead.*
>>
>>
>> Ah, this is harmless, I thought we'd changed all of these places but
>> clearly there are a few left.
>>
>> Cheers,
>>
>> Lawrence
>>
>> _______________________________________________
>> firedrake mailing list
>> firedrake at imperial.ac.uk
>> https://mailman.ic.ac.uk/mailman/listinfo/firedrake
>>
>>
>
-------------- next part --------------
HTML attachment scrubbed and removed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: firedrake-install.log
Type: application/octet-stream
Size: 975736 bytes
Desc: not available
URL: <http://mailman.ic.ac.uk/pipermail/firedrake/attachments/20151120/51fb6f6e/attachment.obj>
More information about the firedrake
mailing list