dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #12777
[HG DOLFIN] merge
One or more new changesets pushed to the primary dolfin repository.
A short summary of the last three changesets is included below.
changeset: 5912:9366206c2615131e446a4473d9a98c9e1018a6fa
tag: tip
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.
changeset: 5910:f6a12d3661cd55e741f63f8af54782b668406e8d
user: "Garth N. Wells <gnw20@xxxxxxxxx>"
date: Mon Mar 23 12:34:57 2009 +0900
files: dolfin/la/PETScLUSolver.cpp dolfin/la/PETScLUSolver.h
description:
PETScLUSolver fixes for PETSc 3.
----------------------------------------------------------------------
For more details, visit http://www.fenics.org/hg/dolfin