forked from teuben/pitp2016
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackages.txt
160 lines (110 loc) · 4.58 KB
/
packages.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
The following packages we are likely to need at PITP 2016. Each UNIX
distro (linux and mac alike) have different ways how to install
them. Some example are given here how to do them.
You can find copies of codes on either our published URL's , or
within the directory /data/pitp on the IAS cluster where all participants
have an account. Look in /data/pitp/software.
If you want to work on one of the cluster nodes, be sure to create your
own directory within /data/pitp/ and work within that.
#--------------------------------------------------------------------------------
UNIX COMMANDS:
git
we also use this to distribute notes, scripts, software for PITP 2016.
To get a copy of the PITP notes:
git clone https://github.com/teuben/pitp2016
cd pitp2016
and to get a updated version with the latest additions:
cd pitp2016
git pull
gcc
g++
gfortran
The C/C++/Fortran(90) compiler suite. Others may be available as well that work
also, e.g. "clang", the Intel compiler and the PGI compiler.
The C compiler needs to suport OpenMP (which gcc does)
python
ipython
Although the python command may be present for you, what we really want here is
an integrated scientific python environment, e.g. via anaconda.
Within python, the following modules are recommended:
numpy
scipy
matplotlib
yt
astropy
pandas
scikit-learn
glueviz
ffmpeg
This tool creates movies from still images that simulations often create on the fly.
Great for presentations. We will use this for a few of the homeworks.
In ubuntu linux:
sudo apt install ffmpeg imagemagick vlc
gnuplot
A simple, basic but effective way to plot data.
ygraph
Another simple and basic graph plotter.
See for example http://cactuscode.org/documentation/visualization/yGraph/
visit
A more graphical based visualization environment
See
https://wci.llnl.gov/simulation/computer-codes/visit/
#--------------------------------------------------------------------------------
UNIX LIBRARIES:
openmpi
This is one of the ways to implement MPI, and probably our preferred way.
On Ubuntu/Linux: apt install openmpi-bin libopenmpi-dev libhdf5-openmpi-dev
On mac/homebrew: brew install gcc
brew install openmpi --enable-mpi-thread-multiple
brew install hdf5 --with-fortran --with-mpi
mpich
This is another MPI library:
On Ubuntu/Linux: apt install mpich
but not experimented with this yet, as openmpi seems to work.
gsl
This is the Gnu Scientific Library. Use your package manager to install it, e.g.
In Ubuntu linux:
sudo apt install libgsl-dev
yt (ZuHone)
Versatile visualization environment in python. Probably easiest to install within
your python environment via the commands
conda install yt
or
pip install yt
depending which type of python environment you have.
Lecture notes are here: http://yt-project.org/pitp2016_demo/yt_tutorial.slides.html
The new yt 3.3-dev (development) series can be installed as follows:
conda install -c http://use.yt/with_conda yt (unix)
conda install -c http://conda.anaconda.org/jzuhone yt (windows)
or if you have another python stack (or just want to use pip):
# build from source on macOS or Linux:
pip install hg+https://bitbucket.org/yt_analysis/yt#egg=yt
# binary install on macOS or Windows:
pip install --pre yt
wget -r --no-parent http://yt-project.org/pitp2016_demo/data/WindTunnel
wget -r --no-parent http://yt-project.org/pitp2016_demo/data/DD0046
wget -r --no-parent http://yt-project.org/pitp2016_demo/examples
d3js (Ericson)
This is a JavaScript based visualization toolkit. Great to present your research online
for outreach, collaborators etc.
See https://d3js.org/
athena (Stone)
http://www.astro.princeton.edu/~jstone/downloads/papers/stone_hw.pdf
Use athena4.2.tar.gz
harmpi (Tchekhovskoy)
GitHub repo: https://github.com/atchekho/harmpi.git
Tutorial: https://github.com/atchekho/harmpi/blob/master/tutorial.md
Homework: https://github.com/atchekho/harmpi/blob/master/exercises.md
The code is 3D and is parallelized using MPI, results can be obtained rather quickly.
iharm2d_v3 (Gammie)
more instructions will follow
tristan (Spitovsky)
Homework at: http://www.astro.princeton.edu/~anatoly/PICHW2016.html
Code at: https://github.com/ntoles/tristan-mp-pitp
Vis at: https://github.com/pcrumley/Iseult
<edit> Makefile
make
mpirun -n 1 ./tristan-mp2d
Iseult/iseult.py
Here it is important to have an MPI enabled compiler !!! See the "openmpi" comments
earlier in this document.