← Back to team overview

dolfin team mailing list archive

Re: [HG DOLFIN] Initial work on getting PyDOLFIN up and running with ufl

 

On Tue, Mar 24, 2009 at 01:16:44PM +0100, DOLFIN wrote:
> One or more new changesets pushed to the primary dolfin repository.
> A short summary of the last three changesets is included below.
> 
> changeset:   5913:da0f2bcdb3d413943cb668a9a65b4b8e71f71ab1
> tag:         tip
> user:        "Johan Hake <hake@xxxxxxxxx>"
> date:        Tue Mar 24 13:16:41 2009 +0100
> files:       site-packages/dolfin/ufl/__init__.py site-packages/dolfin/ufl/assemble.py site-packages/dolfin/ufl/compile_function.py site-packages/dolfin/ufl/constant.py site-packages/dolfin/ufl/constants.py site-packages/dolfin/ufl/cpp.py site-packages/dolfin/ufl/errornorm.py site-packages/dolfin/ufl/form.py site-packages/dolfin/ufl/function.py site-packages/dolfin/ufl/functionspace.py site-packages/dolfin/ufl/interpolate.py site-packages/dolfin/ufl/jit.py site-packages/dolfin/ufl/meshconvert.py site-packages/dolfin/ufl/norm.py site-packages/dolfin/ufl/project.py site-packages/dolfin/ufl/specialfunctions.py site-packages/dolfin/ufl/ufc_functionspace.py site-packages/dolfin/ufl/variationalproblem.py
> description:
> Initial work on getting PyDOLFIN up and running with ufl
> 
> To use:
> 
>   from dolfin import *
>   from dolfin.ufl import *
> 
> ffc also need to be updated with a sent patch.
> To be able to plot viper also need some care.
> 
> Status is that poision demo should run after Marin has removed __slots__
> for ufl.function

Cool. :-)

-- 
Anders


> 
> changeset:   5912:9366206c2615131e446a4473d9a98c9e1018a6fa
> parent:      5911:647f02e6d1b1b1b48705d00b813267448f169bbd
> parent:      5910:f6a12d3661cd55e741f63f8af54782b668406e8d
> user:        "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
> date:        Mon Mar 23 10:06:22 2009 +0100
> files:       
> description:
> merge
> 
> 
> changeset:   5911:647f02e6d1b1b1b48705d00b813267448f169bbd
> parent:      5909:0c72a4d7b142f39b4a227ce03c2265e881b4b85c
> user:        "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
> date:        Fri Mar 20 18:02:57 2009 +0100
> files:       site-packages/dolfin_utils/pjobs/__init__.py site-packages/dolfin_utils/pjobs/pjobs.py
> description:
> Added script pjobs.py to dolfin_utils.
> This is a script we've been using at Simula
> for submitting jobs to the qsub system at
> our cluster from python scripts instead of
> writing bash/qsub scripts manually.
> The basic usage is simple:
> 
> 
> from dolfin_utils.pjobs import submit
> 
> # List of serial shell commands:
> serial_jobs = ["python myjob.py %d" % i for i in range(5)]
> 
> # 5 hours for each job with a single node/processor
> submit(serial_jobs, nodes=1, ppn=1, walltime=5)
> 
> # List of parallell shell commands:
> parallell_jobs = ["mpirun myapp params"]
> 
> # 24 hours for each job, 8 nodes each using 8 processors
> submit(parallell_jobs, nodes=8, ppn=8, walltime=24)
> 
> 
> In particular, note that if you define the environment variable
>   export PJOBS_SERIAL=1
> in your .bashrc or equivalent, the jobs will
> be run in sequence and not through qsub.
> 
> Take a look at the docstring for other qsub
> options available.
> 
> ----------------------------------------------------------------------
> For more details, visit http://www.fenics.org/hg/dolfin

> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev

Attachment: signature.asc
Description: Digital signature


References