This file has been truncated, but you can view the full file.
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
changeset: 12483:67507b4f8da9 | |
branch: yt-3.0 | |
tag: tip | |
user: Nathan Goldbaum <goldbaum@ucolick.org> | |
date: Sun Jun 15 19:50:51 2014 -0700 | |
summary: Replacing "pf" with "ds" | |
diff -r f20d58ca2848 -r 67507b4f8da9 doc/cheatsheet.tex | |
--- a/doc/cheatsheet.tex Sun Jun 15 07:46:08 2014 -0500 | |
+++ b/doc/cheatsheet.tex Sun Jun 15 19:50:51 2014 -0700 |
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
{ | |
"metadata": { | |
"name": "", | |
"signature": "sha256:cff086128bd4f4caefa8423be0c09ae00adc6a3c5124f3383c0c82ae8b5f208a" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ |
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
(require 'package) | |
(package-initialize) | |
(setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/") | |
("marmalade" . "http://marmalade-repo.org/packages/") | |
("melpa" . "http://melpa.milkbox.net/packages/"))) | |
(add-to-list 'custom-theme-load-path "~/Documents/emacs-color-theme-solarized") | |
;; make the fringe stand out from the background | |
(setq solarized-distinct-fringe-background t) |
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
{ | |
"metadata": { | |
"kernelspec": { | |
"codemirror_mode": { | |
"name": "ipython", | |
"version": 2 | |
}, | |
"display_name": "IPython (Python 2)", | |
"language": "python", | |
"name": "python2" |
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
{ | |
"metadata": { | |
"kernelspec": { | |
"codemirror_mode": { | |
"name": "ipython", | |
"version": 2 | |
}, | |
"display_name": "IPython (Python 2)", | |
"language": "python", | |
"name": "python2" |
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
File "/Users/goldbaum/Documents/RunNotebook/notebook_sphinxext.py", line 161, in evaluate_notebook | |
nb_runner.run_notebook(skip_exceptions=skip_exceptions) | |
File "/Users/goldbaum/Documents/runipy/runipy/notebook_runner.py", line 180, in run_notebook | |
self.run_cell(cell) | |
File "/Users/goldbaum/Documents/runipy/runipy/notebook_runner.py", line 87, in run_cell | |
self.shell.execute(cell.input) | |
AttributeError: 'ZMQSocketChannel' object has no attribute 'execute' |
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
goldbaum at ubuntu-humperdinck in ~/Documents/test | |
○ mpirun -n 2 python test.py --parallel | |
yt : [DEBUG ] 2014-12-16 11:22:27,037 Set log level to 1 | |
yt : [DEBUG ] 2014-12-16 11:22:27,038 Set log level to 1 | |
yt : [DEBUG ] 2014-12-16 11:22:27,049 SIGUSR1 registered for traceback printing | |
yt : [DEBUG ] 2014-12-16 11:22:27,049 SIGUSR2 registered for IPython Insertion | |
yt : [DEBUG ] 2014-12-16 11:22:27,049 SIGUSR1 registered for traceback printing | |
yt : [DEBUG ] 2014-12-16 11:22:27,050 SIGUSR2 registered for IPython Insertion | |
yt : [INFO ] 2014-12-16 11:22:28,067 Global parallel computation enabled: 1 / 2 | |
yt : [INFO ] 2014-12-16 11:22:28,067 Global parallel computation enabled: 0 / 2 |
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
--------------------------------------------------------------------------- | |
KeyError Traceback (most recent call last) | |
<ipython-input-13-135b8e8a19a5> in <module>() | |
2 | |
3 field_dropdown = Dropdown(values=sorted(image_storage['10% Gas Fraction']['DD0000'].keys())) | |
----> 4 field_dropdown.value = ('gas', 'surface-density') | |
5 | |
6 sim_control = Dropdown(values=image_storage.keys()) | |
/home/goldbaum/miniconda/lib/python2.7/site-packages/IPython/utils/traitlets.pyc in __set__(self, obj, value) |
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
# | |
# Hi there! Welcome to the yt installation script. | |
# | |
# First things first, if you experience problems, please visit the Help | |
# section at http://yt-project.org. | |
# | |
# This script is designed to create a fully isolated Python installation | |
# with the dependencies you need to run yt. | |
# | |
# There are a few options, but you only need to set *one* of them, which is |
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
$ ipcluster start -n4 --engines=MPIEngineSetLauncher | |
2013-05-23 19:40:39,864.864 [IPClusterStart] Using existing profile dir: u'/home/goldbaum/.ipython/profile_default' | |
2013-05-23 19:40:39.871 [IPClusterStart] Starting ipcluster with [daemon=False] | |
2013-05-23 19:40:39.872 [IPClusterStart] Creating pid file: /home/goldbaum/.ipython/profile_default/pid/ipcluster.pid | |
2013-05-23 19:40:39.873 [IPClusterStart] Starting Controller with LocalControllerLauncher | |
2013-05-23 19:40:40.872 [IPClusterStart] Starting 4 Engines with MPIEngineSetLauncher | |
2013-05-23 19:40:41.116 [IPClusterStart] | |
Engines shutdown early, they probably failed to connect. | |
Check the engine log files for output. |