Ask Your Question
3

Can FEniCS be setup on Sagemath Cloud?

asked 2014-02-06 14:15:14 +0100

Bruno_Bate gravatar image

updated 2015-01-13 22:05:42 +0100

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

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2014-02-06 20:06:44 +0100

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

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 ( 2014-02-07 09:01:58 +0100 )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 09:07:44 +0100 )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

Stats

Asked: 2014-02-06 14:15:14 +0100

Seen: 824 times

Last updated: Feb 06 '14