Next: 3.4 Old Setup File
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/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.
The former directory organization can be found in Tab. 2
and Fig. 1.
Table 2:
For historical reasons:
list of old source directories
with path and file name, abbreviation, and a short description.
Paths |
Abb. |
Description |
${HOME}/for/mat/str/ |
STR |
string handling |
${HOME}/for/uio/f90/ |
UIO |
I/O routines |
${HOME}/for/eos/f90/ |
EOS |
equation of state |
${HOME}/for/rad/hdrad/ |
RAD |
opacities, Matthias' radiation transport |
${HOME}/for/hd/rhd/ |
RHD |
main rhd routines |
|
Next: 3.4 Old Setup File
Up: 3 Program Files, Installation,
Previous: 3.2 Compilation Procedure for
  Contents
  Index