installing older version of firedrake
Hi, is there a recommended way of installing older versions of firedrake? For example, I have previously (some months ago) ran the firedrake-install script on a different system and have the downloaded firedrake folder backed up. Now with a newer version of ubuntu can I somehow reuse the old script/source code downloaded? To provide some context for the question, I am trying to solve Biot equations with stabilized BDM_1-DG_0 elements and observe a different behavior between the versions. However, it's not only firedrake that is different but also the underlying system so I'd like to see where the error comes from. Thanks, Miro
Hi Miro, This is probably because we recently changed the degrees of freedom for BDM1 elements from point values of normal components to edge integrals. You can select the point value version again by an optional argument to FunctionSpace I think. all the best --cjc ________________________________ From: firedrake-bounces@imperial.ac.uk <firedrake-bounces@imperial.ac.uk> on behalf of Miroslav Kuchta <miroslav.kuchta@gmail.com> Sent: 28 July 2021 10:24 To: firedrake <firedrake@imperial.ac.uk> Subject: [firedrake] installing older version of firedrake Hi, is there a recommended way of installing older versions of firedrake? For example, I have previously (some months ago) ran the firedrake-install script on a different system and have the downloaded firedrake folder backed up. Now with a newer version of ubuntu can I somehow reuse the old script/source code downloaded? To provide some context for the question, I am trying to solve Biot equations with stabilized BDM_1-DG_0 elements and observe a different behavior between the versions. However, it's not only firedrake that is different but also the underlying system so I'd like to see where the error comes from. Thanks, Miro
Hi Colin, thanks for the suggestion. I am getting the same results with both *V=FunctionSpace(mesh, elm) * where * elm = FiniteElement('Brezzi-Douglas-Marini', mesh.ufl_cell(), 1, variant=None)* or * elm = FiniteElement('Brezzi-Douglas-Marini', mesh.ufl_cell(), 1, variant='integral')* or if * V = FunctionSpace(mesh, 'Brezzi-Douglas-Marini', 1)* Best regards, Miro On Wed, Jul 28, 2021 at 11:32 AM Cotter, Colin J < colin.cotter@imperial.ac.uk> wrote:
Hi Miro, This is probably because we recently changed the degrees of freedom for BDM1 elements from point values of normal components to edge integrals. You can select the point value version again by an optional argument to FunctionSpace I think.
all the best --cjc ------------------------------ *From:* firedrake-bounces@imperial.ac.uk <firedrake-bounces@imperial.ac.uk> on behalf of Miroslav Kuchta <miroslav.kuchta@gmail.com> *Sent:* 28 July 2021 10:24 *To:* firedrake <firedrake@imperial.ac.uk> *Subject:* [firedrake] installing older version of firedrake
Hi,
is there a recommended way of installing older versions of firedrake? For example, I have previously (some months ago) ran the firedrake-install script on a different system and have the downloaded firedrake folder backed up. Now with a newer version of ubuntu can I somehow reuse the old script/source code downloaded?
To provide some context for the question, I am trying to solve Biot equations with stabilized BDM_1-DG_0 elements and observe a different behavior between the versions. However, it's not only firedrake that is different but also the underlying system so I'd like to see where the error comes from.
Thanks, Miro _______________________________________________ firedrake mailing list firedrake@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/firedrake
Hi Miro, I think all of these are doing the same thing (giving you the default, which is variant='integral'). Can you try variant='point'? Patrick On 28/07/2021 10:54, Miroslav Kuchta wrote:
Hi Colin,
thanks for the suggestion. I am getting the same results with both /V=FunctionSpace(mesh, elm) / where
/ elm = FiniteElement('Brezzi-Douglas-Marini', mesh.ufl_cell(), 1, variant=None)/
or
/ elm = FiniteElement('Brezzi-Douglas-Marini', mesh.ufl_cell(), 1, variant='integral')/
or if / V = FunctionSpace(mesh, 'Brezzi-Douglas-Marini', 1)/ / / Best regards, Miro //
On Wed, Jul 28, 2021 at 11:32 AM Cotter, Colin J <colin.cotter@imperial.ac.uk <mailto:colin.cotter@imperial.ac.uk>> wrote:
Hi Miro, This is probably because we recently changed the degrees of freedom for BDM1 elements from point values of normal components to edge integrals. You can select the point value version again by an optional argument to FunctionSpace I think.
all the best --cjc ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ *From:* firedrake-bounces@imperial.ac.uk <mailto:firedrake-bounces@imperial.ac.uk> <firedrake-bounces@imperial.ac.uk <mailto:firedrake-bounces@imperial.ac.uk>> on behalf of Miroslav Kuchta <miroslav.kuchta@gmail.com <mailto:miroslav.kuchta@gmail.com>> *Sent:* 28 July 2021 10:24 *To:* firedrake <firedrake@imperial.ac.uk <mailto:firedrake@imperial.ac.uk>> *Subject:* [firedrake] installing older version of firedrake Hi,
is there a recommended way of installing older versions of firedrake? For example, I have previously (some months ago) ran the firedrake-install script on a different system and have the downloaded firedrake folder backed up. Now with a newer version of ubuntu can I somehow reuse the old script/source code downloaded?
To provide some context for the question, I am trying to solve Biot equations with stabilized BDM_1-DG_0 elements and observe a different behavior between the versions. However, it's not only firedrake that is different but also the underlying system so I'd like to see where the error comes from.
Thanks, Miro _______________________________________________ firedrake mailing list firedrake@imperial.ac.uk <mailto:firedrake@imperial.ac.uk> https://mailman.ic.ac.uk/mailman/listinfo/firedrake <https://mailman.ic.ac.uk/mailman/listinfo/firedrake>
_______________________________________________ firedrake mailing list firedrake@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/firedrake
Hi Patrick, the result is the same with the point variant as well. I will try to get the old firedrake version up and running following the advice from Lawrence and get back to you with MWE once I narrow down the issue. Thanks for all the help, Miro'|ep0|_0': errornorm(as_expr(p0), ph, 'L2', degree_rise=2) On Wed, Jul 28, 2021 at 2:26 PM Patrick Farrell < patrick.farrell@maths.ox.ac.uk> wrote:
Hi Miro,
I think all of these are doing the same thing (giving you the default, which is variant='integral').
Can you try variant='point'?
Patrick
On 28/07/2021 10:54, Miroslav Kuchta wrote:
Hi Colin,
thanks for the suggestion. I am getting the same results with both /V=FunctionSpace(mesh, elm) / where
/ elm = FiniteElement('Brezzi-Douglas-Marini', mesh.ufl_cell(), 1, variant=None)/
or
/ elm = FiniteElement('Brezzi-Douglas-Marini', mesh.ufl_cell(), 1, variant='integral')/
or if / V = FunctionSpace(mesh, 'Brezzi-Douglas-Marini', 1)/ / / Best regards, Miro //
On Wed, Jul 28, 2021 at 11:32 AM Cotter, Colin J < colin.cotter@imperial.ac.uk <mailto:colin.cotter@imperial.ac.uk>> wrote:
Hi Miro, This is probably because we recently changed the degrees of freedom for BDM1 elements from point values of normal components to edge integrals. You can select the point value version again by an optional argument to FunctionSpace I think.
all the best --cjc
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
*From:* firedrake-bounces@imperial.ac.uk <mailto:
firedrake-bounces@imperial.ac.uk> <firedrake-bounces@imperial.ac.uk <mailto:firedrake-bounces@imperial.ac.uk>> on behalf of Miroslav Kuchta < miroslav.kuchta@gmail.com <mailto:miroslav.kuchta@gmail.com>>
*Sent:* 28 July 2021 10:24 *To:* firedrake <firedrake@imperial.ac.uk <mailto:
firedrake@imperial.ac.uk>>
*Subject:* [firedrake] installing older version of firedrake Hi,
is there a recommended way of installing older versions of firedrake? For example, I have previously (some months ago) ran the
firedrake-install
script on a different system and have the downloaded firedrake folder backed up. Now with a newer version of ubuntu can I somehow reuse the old script/source code downloaded?
To provide some context for the question, I am trying to solve Biot
equations
with stabilized BDM_1-DG_0 elements and observe a different behavior
between
the versions. However, it's not only firedrake that is different but
also the underlying
system so I'd like to see where the error comes from.
Thanks, Miro _______________________________________________ firedrake mailing list firedrake@imperial.ac.uk <mailto:firedrake@imperial.ac.uk> https://mailman.ic.ac.uk/mailman/listinfo/firedrake <
https://mailman.ic.ac.uk/mailman/listinfo/firedrake>
_______________________________________________ firedrake mailing list firedrake@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/firedrake
_______________________________________________ firedrake mailing list firedrake@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/firedrake
On 28 Jul 2021, at 10:24, Miroslav Kuchta <miroslav.kuchta@gmail.com> wrote:
is there a recommended way of installing older versions of firedrake? For example, I have previously (some months ago) ran the firedrake-install script on a different system and have the downloaded firedrake folder backed up. Now with a newer version of ubuntu can I somehow reuse the old script/source code downloaded?
You can run firedrake-status on the existing system to report commit hashes for the main components. Then you can do firedrake-install --package-branch firedrake commit --package-branch FIAT commit etc... Lawrence
To provide some context for the question, I am trying to solve Biot equations with stabilized BDM_1-DG_0 elements and observe a different behavior between the versions. However, it's not only firedrake that is different but also the underlying system so I'd like to see where the error comes from.
participants (4)
- 
                
                Cotter, Colin J
- 
                
                Lawrence Mitchell
- 
                
                Miroslav Kuchta
- 
                
                Patrick Farrell