Ask Your Question
3

Can FEniCS be setup on Sagemath Cloud?

asked 11 years ago

Bruno_Bate gravatar image

updated 10 years ago

FrédéricC gravatar image

Is it possible to have the FEniCS packages setup on Sagemath Cloud? http://fenicsproject.org/about/

Has anyone had success with attempting this on Sagemath? I had tried initially through a terminal instance with no success.

Regards,

Bruno

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
1

answered 11 years ago

William Stein gravatar image

I've installed FEnICS into SageMathCloud systemwide, for anybody to use. It should be available from Python, IPython, Sage Worksheets, etc., via the usual "from dolfin import *", and should get updated regularly. Notes:

  • if you use Sage worksheets, you'll need to put %python at the top of the cell, or be careful to coerce floating point literals to floats, or disable the preparser.

  • There is of course no support for FEnICS's plotting of any kind, since SageMathCloud is a web app, not a local desktop app. That said, this could improve if somebody were interested, e.g., a FEnICS developer... And of course both Sage and IPython have plotting capabilities, which can be used with the raw FEnICS data.

(note -- click "Restart Project Server" in project settings if you're trying to use FEnICS through a Sage worksheet and it isn't there yet.)

Preview: (hide)
link

Comments

I'm a FEniCS developer - thanks for installing FEniCS on SageMath Cloud! What visualisation approaches are best suited to SageMath? We could try supporting Matplotlib for simple problems, e.g. 2D triangulations. We have been experimenting with X3D/X3DOM output for WebGL visualisation of 3D problem. Does SageMath Cloud support VTK?

Garth Wells gravatar imageGarth Wells ( 11 years ago )

Is it possible to install up-to-date FEniCS 1.3.0? It seems that there is FEniCS 1.0.0 only.

Jan Blechta gravatar imageJan Blechta ( 11 years ago )

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 11 years ago

Seen: 873 times

Last updated: Feb 06 '14