HyCodes

Home of COM3D and GASFLOW
  • Impressum
  • Home
  • COM3D
    • Documentation
    • Publications
    • Validation cases
    • Code Applications
    • Examples
  • GASFLOW
    • Documentation
    • Publications
    • Validation cases
    • Code Applications
    • Examples
  • News
  • Downloads
    • COM3D
    • GASFLOW
  • Users Group Meetings
    • UGM 2011
  • Contact

Installation HOWTO

For the latest version of GASFLOW please use the installation guide provided in the  pdf-file.

 

Installation procedure for GASFLOW versions as of 3.0:

  1. Download latest version the Gasflow tar.gz file from the hycodes web site. http://hycodes.net/downloads/gasflow/
  2. Extract content of the archive into working folder using tar command. For example:

    tar xzf gasflow-3.2.tar.gz

  3. Change directory to the gasflow-X.X subfolder

    cd gasflow-3.2

  4. Build the code using make command. The make will try to identify the compilation options. In most of the cases it is sufficient to start make without any parameters. By default Gasflow will be compiled using GNU compiler and system installed NETCDF library. Alternatively you can use one of the options listed below to specify parameters of the compilation manually. Please use the command make help for reference.

    COMPILER

    Directs build utility to use either gfortran or ifort Fortran compiler.

    COMPILER=GNU (default value)

    COMPILER=INTEL

    ARCH

    Define 32 or 64 bit architecture for the build. Default value is determined based on the operating system.

    ARCH=32

    ARCH=64

    NETCDF

    Specify path to the NETCDF library. The library has to be built with the same compiler and for the same architecture that you use for the Gasflow code. Default is to use system installed NetCDF library.

    NETCDF=/home/tester/netcdf

    BIN

    Define folder for compiled binaries. Default is subfolder bin.

    BIN=/home/tester/bin

    LIB

    Define folder for compiled libraries. Default is subfolder lib.

    LIB=/home/tester/lib

    FDEBUG

    Non-empty value of this parameter forces to build debug version of the code. The assigned value is passed to C and Fortran compilers.

    FDEBUG=std (debug version with predefined options)

    FDEBUG= -o0 -g (debug version with compiler options -o0 -g)

Here are some examples of the customized make command:

> make COMPILER=INTEL NETCDF=/home/tester/netcdf
> make ARCH=64 BIN=/home/tester/bin LIB=/home/tester/lib
> make clean – clean the distribution, also deletes bin and lib folders
> make gasflow BIN=gfbin – builds only xgf executable and places it into the folder gfbin

*A successful build has to generate the following files in the bin and lib folders:
bin
|– pps
|– pscan
`– xgf

lib
|– gdlib.dat
|– gplib.dat
|– io.mod
|– libcgs.a
|– libcgshigh.a
|– libplat.a
|– libpxx.a
|– set_kind.mod
|– sigflag.mod
`– sigma.dat

**To compile Gasflow on Ubuntu 10.04 LTS the following libraries are required:

g++
gfortran
libx11-dev
libnetcdf-dev
libhdf5-serial-dev
gv

← Back to GASFLOW/Documentation

Contents

  • Home
  • COM3D
    • Documentation
    • Publications
    • Validation cases
    • Code Applications
    • Examples
  • GASFLOW
    • Documentation
    • Publications
    • Validation cases
    • Code Applications
    • Examples
  • News
  • Downloads
    • COM3D
    • GASFLOW
  • Users Group Meetings
    • UGM 2011
  • Contact

Latest News

  • Release of Gasflow 3.2 and COM3D 4.2