Rate This Document
Findability
Accuracy
Completeness
Readability

Installing Blitz

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Decompress the Blitz installation package.
    tar -xvf blitz-1.0.1.tar.gz
  3. Go to the directory generated after the decompression.
    cd blitz-1.0.1/
  4. Perform the configuration.
    autoreconf -fiv
    ./configure --prefix=/path/to/BLITZ --enable-fortran --enable-64bit
  5. Modify the genstencils.py file.
    1. Open the genstencils.py file.
      vi blitz/generate/genstencils.py
    2. Press i to enter the edit mode and modify line 9 in the genstencils.py file.
      print("Generating file %s"%sys.argv[1])

      After performing 5.a, press Esc, type :set nu, and press Enter to display the line number.

    3. Press Esc, type :wq!, and press Enter to save the file and exit.
  6. Perform the compilation and installation.
    make lib
    make install
    cp -rf ./src /path/to/BLITZ
  7. Load the environment variables.
    export BLITZ_INCLUDEDIR=/path/to/BLITZ/include
    export LD_LIBRARY_PATH=/path/to/BLITZ/lib:$LD_LIBRARY_PATH