---
# this is a palmtest build configuration file

compiler:
  id: Intel
  executable: "{{Intel.executable}}"
  mpi_wrapper: "{{Intel.mpi_wrapper}}"
  definitions:
    - "MPI_REAL=MPI_DOUBLE_PRECISION"
    - "MPI_2REAL=MPI_2DOUBLE_PRECISION"
    - "__parallel"
    - "__netcdf"
    - "__netcdf4"
    - "__netcdf4_parallel"
    - "__fftw"
    - "__rrtmg"
    - "__intel_compiler"
  options:
    default:
      - "-cpp"
      - "-O3"
      - "-fp-model source"
      - "-fno-alias"
      - "-fpe0"
      - "-ftz"
      - "-no-prec-div"
      - "-no-prec-sqrt"
      - "-ip"
      - "-nbs"
      - "-diag-disable 8290,8291"
    debug:
      - "-cpp"
      - "-g"
      - "-debug"
      - "-traceback"
      - "-fpe0"
      - "-C"
      - "-check nooutput_conversion"
      - "-w"
      - "-xT"
      - "-O0"
      - "-ftz"
      - "-fno-alias"
      - "-no-prec-div"
      - "-no-prec-sqrt"
      - "-ip"
      - "-nbs"
      - "-convert little_endian"
      - "-diag-disable 8290,8291"
  includes:
    - "{{Intel.include.netcdf}}"
    - "{{Intel.include.fftw}}"
    - "{{Intel.include.rrtmg}}"

linker:
  options:
    - "{{Intel.lib.netcdf}}"
    - "{{Intel.lib.fftw}}"
    - "{{Intel.lib.rrtmg}}"
