# configure.sh.1

         NAME
              configure.sh - Configure LPJmL

         SYNOPSIS
              configure.sh [-h] [-prefix dir] [-debug] [-nompi]

         DESCRIPTION
              Script configures LPJmL for specific OS and compiler. File
              Makefile.inc and scripts lpj_paths.sh, lpj_paths.csh are
              created. After configuration LPJmL program and utilities can
              be created by invoking

              make all

         OPTIONS
              -h   display a short help text.

              -prefix dir
                   Set installation directory for LPJmL. Default is
                   current working directory.

              -debug
                   Set debug flags and disable optimization of compiler.
                   LPJmL has to be rebuilt by invoking make clean and make
                   all.

              -nompi
                   Do not build the MPI version of the code.

         EXAMPLE
         3.5.002:
              Configure LPJmL with installation directory /data/biosx/lpjml-
                   ./configure.sh -prefix /data/biosx/lpjml-3.5.002

              Then make install will install LPJmL in the target directory
              specified by '-prefix'.

         EXIT STATUS
              configure.sh returns a zero exit status if LPJmL has been
              configured successfully.  Non zero is returned in case of
              failure.

         AUTHOR
              Werner von Bloh (Werner.von.Bloh@pik-potsdam.de)

         SEE ALSO
              lpj_paths.sh(1), lpj_paths.csh(1), lpjml(1)