Next: 3.4 Fortran Files
Up: 3 Program Files, Installation,
Previous: 3.2 Compilation Procedure for
Contents
Index
3.3 Directory Structure
The files necessary to compile CO5BOLD are distributed over a few directories.
A typical setup would be to put everything into the main directory for
.
Then the source files would be located as in Tab. 1.
Table 1:
List of source directories
with path and file name, abbreviation, and a short description.
Paths |
Abb. |
Description |
${HOME}/for/con/f90/ |
CON |
constants and units |
${HOME}/for/dust/f90/ |
DUST |
source terms due to dust or molecules |
${HOME}/for/hion/f90/ |
HION |
time-dependent hydrogen ionization |
${HOME}/for/chem/ |
CHEM |
chemical reaction network |
${HOME}/for/eos/f90/ |
EOS |
equation of state |
${HOME}/for/hd/mhd/ |
MHD |
MHD routines |
${HOME}/for/hd/rhd/ |
RHD |
main rhd routines (hydro, Bernd's radiation transport) |
${HOME}/for/hd/rhdb/ |
RHDB |
basic rhd routines |
${HOME}/for/mat/str/ |
STR |
string handling |
${HOME}/for/opa/opta/ |
OPTA |
opacities |
${HOME}/for/rad/hdrad/ |
RAD |
Matthias' radiation transport |
${HOME}/for/uio/f90/ |
UIO |
I/O routines |
${HOME}/for/time/f90/ |
TIME |
timing routines |
|
The executables (and makefiles, object files, module information files) are usually
located in subdirectories of the source code directories.
These subdirectories typically have the name of the machine, architecture, or
operating system the executable is compiled for.
Next: 3.4 Fortran Files
Up: 3 Program Files, Installation,
Previous: 3.2 Compilation Procedure for
Contents
Index