CKO



Installation Instructions for Bausteinen

To install the Bausteinen tools, you should perform the following steps:
  1. Check whether the netcdf, udunits, and Field libraries are installed on your system. If not, you can get the netcedf and udunits libraries from the UNIDATA website. You can obtain the Field library from the tools page of the CKO website. You also will need a working Fortran90 compiler.
  2. If you don't have the source distribution yet, download it from the tools page of the CKO website.
  3. First, create a new directory, e.g., Bausteinen, and change to this directory.
    mkdir Bausteinen
    cd Bausteinen
  4. Unpack the the source distribution, e.g., with
    gunzip -c ../bausteinen.tar.gz | tar xvf -
  5. Configure the software with
    ./configure
    This starts execution of a script that tries to retrieve all the information that is needed to correctly configure the software for compilation and installation. In the case the configuration script fails, you can provide it several options to influence the configuration process. (You can list these options with ./configure --help.) The following options are the ones that you most likely need when the configuration script fails:
    --prefix=path You can specify this option to change the directory in which the Bausteinen tools will be installed. The default location is the directory in which you unpacked the source distribution. Often it is convenient to install the Bausteinen in the bin directory in your home directory with
    ./configure --prefix=$HOME
    --with-field=path In case the configuration script could not locate the Field library, header and module files, you can pass it this option to specify their location. For example, when the udunits header files and library are located in /usr/local/include and /usr/local/lib add the following option to the command-line of the script
    --with-field=/usr/local
    --with-netcdf=path
    In case the configuration script could not locate the NetCDF library and header files, you can pass it this option to specify their location. For example, when the NetCDF header files and library are located in /ws/scratch/ms/nl/nk1/include and /ws/scratch/ms/nl/nk1/lib respectively add the following option to the command-line of the script
    --with-netcdf=/ws/scratch/ms/nl/nk1
    --with-udunits=path In case the configuration script could not locate the NetCDF library and header files, you can pass it this option to specify their location. For example, when the udunits header files and library are located in /usr/local/free/include and /usr/local/free/lib add the following option to the command-line of the script
    --with-udunits=/usr/local/free
  6. Compile the tools with
    make
  7. To install the Bausteinen in the bin subdirectory of the installation directory you specified to the configuration script at step 5, enter the command
    make install

Camiel Severijns
Last modified: Thu Mar 15 09:41:50 CET 2001