Ask Your Question

Can FEniCS be setup on Sagemath Cloud?

asked 2014-02-06 07:15:14 -0500

Bruno_Bate gravatar image

updated 2015-01-13 15:05:42 -0500

FrédéricC gravatar image

Is it possible to have the FEniCS packages setup on Sagemath Cloud?

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



edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2014-02-06 13:06:44 -0500

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.)

edit flag offensive delete link more


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 ( 2014-02-07 02:01:58 -0500 )edit

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 ( 2014-02-07 02:07:44 -0500 )edit

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


Asked: 2014-02-06 07:15:14 -0500

Seen: 490 times

Last updated: Feb 06 '14