Having trouble installing the latest stable version of tmux?
Save yourself some time and run this little fellow!
- gcc
- wget
In [1]: from astropy.io import ascii | |
In [2]: from astropy.table import Table | |
In [3]: data = {'x': [1, 2, 3], | |
...: 'y': [4, 5.2, 6.1], | |
...: 'z': [8, 9, 'hello world']} | |
In [4]: import sys |
#!/bin/sh | |
# probably need to set up some PBS directives up here... | |
N_PROCS=4 | |
# Set up a little python "shim" using mpi4py that farms | |
# out a set of command line commands to multiple nodes | |
# using MPI. This shim gets written to a little file | |
rm -f ./temp_shim.py |
import os | |
import tempfile | |
from mpi4py import MPI | |
comm = MPI.COMM_WORLD | |
size = comm.Get_size() | |
rank = comm.Get_rank() | |
mode = MPI.MODE_RDONLY |
Having trouble installing the latest stable version of tmux?
Save yourself some time and run this little fellow!
%!TEX TS-program = xelatex | |
\documentclass[12pt]{scrartcl} | |
% The declaration of the document class: | |
% The second line here, i.e. | |
% \documentclass[12pt]{scrartcl} | |
% is a standard LaTeX document class declaration: | |
% we say what kind of document we are making in curly brackets, | |
% and specify any options in square brackets. |
{%- extends 'full.tpl' -%} | |
{% block input_group -%} | |
<div class="input_hidden"> | |
{{ super() }} | |
</div> | |
{% endblock input_group %} | |
{%- block header -%} | |
{{ super() }} |
500 9.62e+09 9.23e+10 0.559079 0.542508 0.520701 35.15 431 0.77652 0.02744 0.1967 0.17821 0.16751 0.14840 0.16231 0.14734 0.13515 0.11970 | |
P000 yt : [DEBUG ] 2014-12-06 19:03:19,091 Appending object to redshift0029 (type: <class 'yt.data_objects.hierarchy.AMRSphere'>) | |
501 9.89e+09 1.02e+11 0.496570 0.610469 0.420047 36.39 446 0.79591 0.03190 0.2307 0.21303 0.17486 0.15611 0.20542 0.19120 0.14553 0.13041 | |
P001 yt : [DEBUG ] 2014-12-06 19:03:19,102 Opening MPI Barrier on 1 | |
P000 yt : [DEBUG ] 2014-12-06 19:03:19,144 Going to obtain [] | |
P000 yt : [DEBUG ] 2014-12-06 19:03:19,148 Preloading ['Density', 'Density', 'Temperature', 'Temperature', 'Density', 'Density', 'Temperature', 'Temperature', 'Density', 'Density'] | |
P000 yt : [DEBUG ] 2014-12-06 19:03:19,148 Preloading ['Density', 'Density', 'Temperature', 'Temperature', 'Density', 'Density', 'Temperature', 'Temperature', 'Density', 'Density'] from 81 grids | |
P000 yt : [DEBUG ] 2014-12-06 19:03:20,928 Appending o |
#!/bin/sh | |
# This script will install a Git pre-push hook that prevents force pushing the master branch. | |
# Install in current Git repo: | |
# curl -fL https://gist.githubusercontent.com/smoh/53e32f3bcf8dc14f8696/raw/install-pre-push.sh | sh | |
# Uninstall: | |
# rm .git/hooks/pre-push | |
# in each repository that you've added this to. | |
GITROOT=`git rev-parse --show-toplevel 2> /dev/null` |
../scons/bin/scons --no-gsl --no-nlopt \ | |
--header-path=/usr/local/fftw/gcc/3.3.3/include:/usr/peyton/common/software/cfitsio/3.30/include \ | |
--lib-path=/usr/local/fftw/gcc/3.3.3/lib64:/usr/peyton/common/software/cfitsio//3.30/lib imfit | |
scons: Reading SConscript files ... | |
extra header search paths: ['/usr/local/fftw/gcc/3.3.3/include', '/usr/peyton/common/software/cfitsio/3.30/include'] | |
extra library search paths: ['/usr/local/fftw/gcc/3.3.3/lib64', '/usr/peyton/common/software/cfitsio//3.30/lib'] | |
scons: done reading SConscript files. | |
scons: Building targets ... |
Color_Off='\e[0m' # Text Reset | |
# Regular Colors | |
Black='\e[0;30m' # Black | |
Red='\e[0;31m' # Red | |
Green='\e[0;32m' # Green | |
Yellow='\e[0;33m' # Yellow | |
Blue='\e[0;34m' # Blue | |
Purple='\e[0;35m' # Purple | |
Cyan='\e[0;36m' # Cyan |