Stable Version of DOLFIN (0.9.9) for Windows

Asked by Rob

Hi there,

I have been in contact with Dr. Rognes regarding the adaptivity module of DOLFIN. In order to resolve the issue I was having, she has recommended that I obtain a stable version (0.9.9) of the windows installer of DOLFIN. My original copy of the installer is from the fenicsproject.org website and, since it is not a stable version, it may be the reason for some errors when the solver enters the adaptive phase.

Dr Rognes has referred me here, to ask if an installer for version 0.9.9 is available on the windows and Mac platform. Thank you very much. Many thanks and much appreciation go to the developer team's for their efforts.

Best regards,
Robert G. Cerff

Question information

Language:
English Edit question
Status:
Solved
For:
DOLFIN Edit question
Assignee:
No assignee Edit question
Solved by:
Rob
Solved:
Last query:
Last reply:
Revision history for this message
Johannes Ring (johannr) said :
#1

Sorry, the Windows (and Mac) installer is currently only available with the development version of DOLFIN. However, the installer is not up-to-date so your problem might have been fixed in the latest code. I don't know but I can rebuild the installer with the latest development packages and you can then check to see if your problem is resolved. I will let you know when the new installer is ready for download.

Revision history for this message
Rob (rcerff) said :
#2

Dear Johannes,

Thank you very much for the quick response and the offer to rebuild.
Dr. Rognes specified version 0.9.9 and thus I hope you are able to
rebuild with this version. Thanks!

All the best,
Robert

On 2/22/11, Johannes Ring <email address hidden> wrote:
> Your question #146389 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/146389
>
> Status: Open => Answered
>
> Johannes Ring proposed the following answer:
> Sorry, the Windows (and Mac) installer is currently only available with
> the development version of DOLFIN. However, the installer is not up-to-
> date so your problem might have been fixed in the latest code. I don't
> know but I can rebuild the installer with the latest development
> packages and you can then check to see if your problem is resolved. I
> will let you know when the new installer is ready for download.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/dolfin/+question/146389/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/dolfin/+question/146389
>
> You received this question notification because you are a direct
> subscriber of the question.
>

--
Robert G. Cerff
Tel: 206 499 6023

Revision history for this message
Johannes Ring (johannr) said :
#3

Hi Robert,

DOLFIN 0.9.9 is now available from this Windows installer:

http://www.fenicsproject.org/pub/software/fenics/fenics-10.09-mingw32.exe

Revision history for this message
Rob (rcerff) said :
#4

Dear Johannes,

Thank you so much! That'll help me get things moving again and I will begin testing it today.

I have a second question regarding Mac, although it is not as urgent as the Windows question. We will soon need to use Mac OSX Snow Leopard for development and I was hoping that you could put a Mac version of the installer up for download as well.

Many thanks again,

Robert

Revision history for this message
Johannes Ring (johannr) said :
#5

Yes, I will look at making a package for Mac with DOLFIN 0.9.9 as well.

Revision history for this message
Rob (rcerff) said :
#6

Hi Johannes,

Regarding the new v0.9.9 build of DOLFIN, I am able to successfully run the example program located in \share\dolfin\demo\pde\navier-stokes\python\demo.py

However, when attempting to run the adaptive example program located here,

 \share\dolfin\demo\undocumented\adaptive-pde\navier-stokes.py

... I receive the exception message below. What might be causing this?

***********************************************

(0.4) Marking cells for refinement←[0m
----------------------------------
Using Dorfler marking, fraction 0.5
Marking 40 cells out of 288 (13.9%) for refinement
←[1;37;34m
(0.5) Refining mesh←[0m
-------------------
Ignoring coefficient (<class 'dolfin.function.expression.CompiledExpression'>)
Updating coefficient by interpolation
Traceback (most recent call last):
  File "navier-stokes.py", line 70, in <module>
    (u_h, p_h, c_h) = pde.solve(TOL).split()
  File "C:\FEniCS99\lib\site-packages\dolfin\adaptivity\adaptive.py", line 224, in solve
    self._update(mesh, u_h.function_space())
  File "C:\FEniCS99\lib\site-packages\dolfin\adaptivity\adaptive.py", line 250, in _update
    (self.F, w) = update_form(self.F, mesh, extract=self.u)
  File "C:\FEniCS99\lib\site-packages\dolfin\adaptivity\updates.py", line 44, in update_form
    g = update_coefficient(f, mesh)
  File "C:\FEniCS99\lib\site-packages\dolfin\adaptivity\updates.py", line 64, in update_coefficient
    g = interpolate(f, V)
  File "C:\FEniCS99\lib\site-packages\dolfin\fem\interpolate.py", line 30, in interpolate
    Pv.interpolate(v)
RuntimeError: *** Error: DOLFIN has been compiled without CGAL, IntersectionOperatorImplementation is not available.

Revision history for this message
Marie Rognes (meg-simula) said :
#7

On 02/24/2011 09:38 AM, Robert Gary Cerff wrote:
> Question #146389 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/146389
>
> Robert Gary Cerff gave more information on the question:
> Hi Johannes,
>
> Regarding the new v0.9.9 build of DOLFIN, I am able to successfully run
> the example program located in \share\dolfin\demo\pde\navier-
> stokes\python\demo.py
>
> However, when attempting to run the adaptive example program located
> here,
>
> \share\dolfin\demo\undocumented\adaptive-pde\navier-stokes.py
>
> ... I receive the exception message below. What might be causing this?

The mesh is refined in the adaptive loop, and various functions on the
original mesh are transferred to the refined mesh. However in this
case, the functions end up being evaluated at points that seem (due to
rounding errors) to lie outside the mesh. This will normally give an
error, but specifying

         parameters["allow_extrapolation"] = True

allows an extrapolation to a "closest point in mesh". The finding of
the closest point makes use of the external library CGAL, which I
guess is not included in the windows installation.

--
Marie

Revision history for this message
Rob (rcerff) said :
#8

Thank you both very much for the quick responses. I am glad to see that the original error has been remedied. The new exception thrown by DOLFIN now makes much more sense now. Thank you Dr. Rognes!

What would be the best way to proceed from here and get past the issue of the missing CGAL? My simple goal is to run the adaptive example that is located in the undocumented demos.

Many thanks once more,

Robert

Revision history for this message
Johannes Ring (johannr) said :
#9

Robert,

I will look at the issue with the missing CGAL tomorrow and rebuild the installer when I find the error. I expect it will be relatively easy.

Revision history for this message
Johannes Ring (johannr) said :
#10

Robert,

A new package has been uploaded with DOLFIN 0.9.9 built with support for CGAL:

  http://www.fenicsproject.org/pub/software/fenics/fenics-10.09-mingw32.exe

Revision history for this message
Rob (rcerff) said :
#11

Johannes,

All seems to be working well now. Thank you for the Windows rebuild and will be looking forward to the Mac build sometime soon.

Sincerely,

Robert

Revision history for this message
Marie Rognes (meg-simula) said :
#12

Excellent!

--
Marie

On 25. feb. 2011, at 14:55, Robert Gary Cerff <email address hidden> wrote:

> Question #146389 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/146389
>
> Status: Open => Solved
>
> Robert Gary Cerff confirmed that the question is solved:
> Johannes,
>
> All seems to be working well now. Thank you for the Windows rebuild and
> will be looking forward to the Mac build sometime soon.
>
> Sincerely,
>
> Robert
>
> --
> You received this question notification because you are a member of
> DOLFIN Team, which is an answer contact for DOLFIN.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dolfin
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~dolfin
> More help : https://help.launchpad.net/ListHelp

Revision history for this message
Johannes Ring (johannr) said :
#13

Hi Robert,

There is now a FEniCS installer with DOLFIN 0.9.9 for OS X 10.6 available from here:

  http://www.fenicsproject.org/pub/software/fenics/fenics-10.09-osx10.6.dmg