Created
January 16, 2012 19:04
-
-
Save kynan/1622379 to your computer and use it in GitHub Desktop.
MCFC utilities
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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