PHYSICS 141/241

Winter 2010

Laboratory Session V




1. The Kuijken-Dubinski Galaxy Modeling Package

We will use the code of Konrad Kuijken and John Dubinski to generate disk-bulge-halo galaxies. The method is described in this paper .

The complete source package (mostly f77) is in the tar file galactics.tar.gz .

  • Getting the source and unpacking (no pgplot in tar file)

  • Create directory tree galaxy: gunzip -d -c galaxy.tar.gz | tar xvf -

  • in csh type: setenv LD_LIBRARY_PATH /software/physics/lib
  • in csh type: setenv _POSIX2_VERSION 199209
  • in bash type: export LD_LIBRARY_PATH=/software/physics/lib
  • in bash type: export _POSIX2_VERSION=199209

    read the README file

  • Using the Makefile in /src directory you issue there:

  • make all

  • make install

  • change to MilkyWay/A directory and issue:

  • make galaxy


  •  First test of the BULGE

  • We will use the data file bulge.data to run the Aarseth code with it.

  • Visualization with DX

  •  First test of the HALO

  • We will use the data file halo.data to run the Aarseth code with it.

  • Visualization with DX

  •  First test of the DISK

  • We will use the data file disk.data to run the Aarseth code with it.

  • Visualization with DX

  •  First test of the complete GALAXY

  • We will use the data file galaxy.data to run the Aarseth code with it.

  • Visualization with DX

  • 2. Treecode User Guide (Fortran Language)

    POSTSCRIPT DOCUMENT

    .


    3. Treecode User Guide (C Language)

    PDF DOCUMENT

    .


    4. Treecode in F77 and C

    TREECODE in C LANGUAGE

    TREECODE in FORTRAN LANGUAGE

    .