/
AWESOME_doku.tex~
168 lines (140 loc) · 4.88 KB
/
AWESOME_doku.tex~
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
160
161
162
163
164
165
166
\documentclass[a4paper,english,10.5pt]{scrartcl}
\linespread{1.1}
\usepackage{amsmath, amssymb, latexsym}
%\usepackage{ngerman}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{bibentry}
\usepackage{lmodern}
\usepackage{grffile}
\usepackage{pdfpages}
\usepackage[pdftex]{hyperref}
\usepackage{natbib}
\hypersetup
{%
pdftitle={AWESOME documentation},
pdfauthor={Harald Hoeller, Markus Haider},
pdfsubject={...},
pdfkeywords={AWEsome Simulations Of Metal Enrichment}
}
\usepackage{lscape}
\usepackage{multicol}
\usepackage{ae}
\usepackage{color}
\usepackage{aecompl}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\pagestyle{headings}
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
\setlength\parskip{\smallskipamount}
%\setlength\parindent{0pt}
\usepackage{amsmath}
\usepackage{graphicx}
%\usepackage{subfigure}
\usepackage{subfig}
%\usepackage[countmax]{subfloat}
\usepackage{xcolor}
\usepackage{setspace}
\usepackage{appendix}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{wrapfig}
\usepackage{bm}
\usepackage{hyperref}
\usepackage{fancybox}
\usepackage{ifthen}
\renewcommand{\theenumi}{\emph{\small{\roman{enumi}}.)}}
\renewcommand{\labelenumi}{\theenumi}
\title{AWESOME documentation \\
metal enrichment setup 2011ff}
\author{Harald H\"oller, Markus Haider \thanks{Department of Astro- and Particle Physics,
University of Innsbruck, harald.hoeller@uibk.ac.at}}
\begin{document}
\maketitle
\begin{abstract}
\textcolor{red}{\bf FOR INTERNAL AWESOME USE}
\end{abstract}
\section{Initial Conditions}
\subsection{Using Cosmics 1.04 (Standard)}
The (constrained) initial conditions generator \texttt{Cosmics 1.04}
can be downloaded from \texttt{http://web.mit.edu/edbert/cosmics-1.04.tar.gz}.
The acually used version is to be gotten as git repository
\texttt{git@github.com:harre/cosmics-initial-conditions.git}.
\begin{description}
\item[Step 1: Make]
For making, one has to specify the system and adapt the corresponding
Makefile accordingly. In the folder \texttt{Make\_files} one has to adapt
\texttt{Make.LINUX} to
\begin{verbatim}
F77 = ifort
F77FLAGS = -O2 -parallel -par-report1 -openmp
FFT_OBJ = fft3r.o
CC = icc
CFLAGS = -O2 -parallel -par-report1 -openmp
\end{verbatim}
and load the intel compiler \texttt{module load intel/64/12.1}. The intel
compiler is used since for $512^3$ particle initial conditions there is a
problem with memory allocation with \texttt{gcc} (can be dealt with flags however).
When one uses the version from the git repo, changing the
Makefile should not be necessary anyhow.
\item[Step 2: Linear Extrapolation: \texttt{linger}]
In the folder \texttt{linger\_syn} the program with the same name is to
be executed. This program generates a file called \texttt{linger.dat} which
is then used by the actual IC generator \texttt{grafic}.
When one executes the program from github, the message
\begin{verbatim}
>>>>> MAKE SURE YOU START THE PROGRAM WITH
>>>>> $./linger_syn | tee lingersynIO.out
\end{verbatim}
motivates the recording of IO in order to ensure the reproducability of simulations.
Ideally one would also indicate some physical parameters in
the IO file, such as \texttt{lingersynIO\_h70.out}.
\textbf{Note: } There are files already in the repo which can be used, namely
\texttt{linger\_h100n216.dat} and \texttt{linger\_h70n216.dat} for
Hubble constants $70.3$ and $100$. They were
generated using matter transfer functions (choice 0)
\begin{verbatim}
Enter 1 for full Boltzmann equation for CMB (lmax<=10000, linear k)
or 0 for matter transfer functions only (lmax=100, log k)
\end{verbatim}
and the parameters
\begin{verbatim}
Enter kmin (1/Mpc), kmax (1/Mpc), nk, zend
\end{verbatim}
are set to \texttt{1E-5}, \texttt{50}, \texttt{216}, \texttt{0}.
The last input is then which kind of IC one wants to generate
\begin{verbatim}
Initial conditions cases:
1 for isentropic (adiabatic) fluctuations,
2 for cdm entropy/isocurvature fluctuations, or
3 for baryon entropy/isocurvature fluctuations, or
4 for seed/isocurvature fluctuations
Enter 1, 2, 3, or 4 now
\end{verbatim}
where we chose \texttt{2}.
\textbf{Note: } If one changes the cosmological parameters for
\texttt{linger\_syn} one usually hast to delete the files \texttt{linger.dat}
and \text{lingerg.dat} first.
\end{description}
\subsection{Using NGenIC}
\section{N-body Simulation}
\section{Halo Finder + Merger Trees}
\section{SAM}
\subsection{Galacticus}
\subsubsection{Compilation}
\subsection{Galacticus v0.9.1}
Checkout latest revision:
\begin{verbatim}
bzr checkout http://bazaar.launchpad.net/~abenson/galacticus/v0.9.1/
\end{verbatim}
\section{Hydro}
\bibliography{AWESOME}
\renewcommand{\bibsection}{\section{References}}
\setlength{\bibhang}{1.24cm}
\setlength{\parindent}{3cm}
\setlength{\bibsep}{0cm}
\bibliographystyle{dcu}
\setcitestyle{authoryear,round,citesep={;},aysep={,},yysep={;}}
\gdef\harvardand{\&}
\end{document}