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
extends: | |
- name: hashstack | |
urls: ['https://github.com/hashdist/hashstack.git'] | |
key: 'git:3e5d3f3ecf6bd65de264ed83190b6fa48d110677' | |
file: debian.yaml | |
parameters: | |
fortran: true | |
packages: |
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
# | |
# render vorticity | |
# | |
from mpi4py import MPI | |
from yt.pmods import * | |
import os | |
import yt |
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
Anaconda with GCC 4.9 | |
===================== | |
On a fresh OSX 10.8.5 MacBook Pro: | |
- Install homebrew | |
- Install gcc | |
brew install gcc |
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
"""Generate an F90 module to cast various Fortran arrays to flat real | |
arrays.""" | |
from itertools import product | |
kinds = [ '8' ] | |
types = [ 'real', 'complex' ] | |
dims = range(1,7) | |
module = '''\ |
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
GCC on orga | |
=========== | |
First, download and install GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+. Also ISL. | |
export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin | |
unset LD_LIBRARY_PATH | |
unset CXXFLAGS | |