Skip to content

Instantly share code, notes, and snippets.

@kynan
Created January 16, 2012 19:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kynan/1622379 to your computer and use it in GitHub Desktop.
Save kynan/1622379 to your computer and use it in GitHub Desktop.
MCFC utilities
#!/bin/bash
# Run Fluidity UFL tests the same way buildbot does
(cd spatialindex-1.5; ./autogen.sh)
./configure --enable-2d-adaptivity --enable-mba3d --enable-algencan --enable-shared
make clean
make
make -C femtools clean-elements
make -C femtools get_element
# make sure MCFC_DIR is set
make flufl
make ufltest
#!/bin/bash
# Install all MCFC dependencies on Ubuntu
# Note: on natty and below, add-apt-repository doesn't understand the -y switch
sudo add-apt-repository -y ppa:fenics-packages/fenics
sudo add-apt-repository -y ppa:fenics-packages/fenics-dev
sudo apt-get update
sudo apt-get -y install python-ufl python-fiat python-ffc python-spud ipython python-pygments python-pydot
sudo apt-get -y dist-upgrade
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment