From CTL
Contents |
Roadmap
- Everyone in CTL should have a Launchpad account and be able to compile/install the development version of FEniCS
- Release FEniCS 1.0 at/before upcoming FEniCS conference (DOLFIN seems to be the key component that needs work)
- Update parallel implementation of DOLFIN
- Identify critical issues in HPC performance of development version of DOLFIN
- Aim for a reasonable performance goal (near-linear scaling up to 100 nodes for full ICNS solve).
- Prioritize HPC performance over Function interface.
- Update Unicorn and DOLFIN to harmonize interfaces for solvers.
- Simplify DOLFIN (likely primarily Function interface) to match expectations (both performance and interface) of Unicorn.
- Update parallel implementation of DOLFIN
Developing with Bazaar (bzr)
Getting bzr
Get the latest stable version of bzr:
wget http://launchpad.net/bzr/2.0/2.0.4/+download/bzr-2.0.4.tar.gz
Define a local installation directory:
LOCALDIR=/NOBACKUP/jjan/local
Install bzr:
tar xzvf bzr-2.0.4.tar.gz
cd bzr-2.0.4
python setup install --prefix=$LOCALDIR
Set environment variables to point to local directory (do this every time you want to use your local installation):
export PATH=$LOCALDIR/bin:$PATH
export PYTHONPATH=$LOCALDIR/lib/python2.5/site-packages
bzr is now ready for use, examples (make sure you've added a key to your Launchpad account):
bzr branch lp:unicorn
bzr branch lp:unicorn/stable
bzr push lp:unicorn
Installing development version of FEniCS
For every package in the list: ufc, ufl, instant, fiat, ffc, dolfin
Do:
bzr lp:package
cd package
Either:
scons install prefix=$LOCALDIR
or:
python setup.py install --prefix=$LOCALDIR
Setup environment (can put this in a file local.sh, and then do source local.sh):
export PATH=$LOCALDIR/bin:$PATH
export PYTHONPATH=$LOCALDIR/lib/python2.5/site-packages
export PKG_CONFIG_PATH=$LOCALDIR/lib/pkgconfig:$PKG_CONFIG_PATH
export LD_LIBRARY_PATH=$LOCALDIR/lib:$LD_LIBRARY_PATH
Resources
Textual inheritance graph of DOLFIN (automatically generated from source):
http://www.csc.kth.se/~jjan/transfer/dolfin/progr_reference/html/hierarchy.html