#!/usr/bin/env python

configure_options = [
    '--with-cc=/contrib/bgl/bin/mpxlc',
    '--with-cxx=/contrib/bgl/bin/mpxlC',
    '--with-fc=/contrib/bgl/bin/mpxlf',
    '--with-blas-lapack-lib=-L/contrib/bgl/lib -lessln -lscal -lcpuid',
    '--with-shared=0',
    '--with-debug=0',

    '-COPTFLAGS=-qbgl -qarch=440 -qtune=440 -O3',
    '-CXXOPTFLAGS=-qbgl -qarch=440 -qtune=440 -O3',
    '-FOPTFLAGS=-qbgl -qarch=440 -qtune=440 -O3',

    '--with-x=0',
    '--with-batch=1',
    '--with-memcmp-ok',
    '--sizeof_char=1',
    '--sizeof_void_p=4',
    '--sizeof_short=2',
    '--sizeof_int=4',
    '--sizeof_long=4',
    '--sizeof_long_long=8',
    '--sizeof_float=4',
    '--sizeof_double=8',
    '--bits_per_byte=8',
    '--sizeof_MPI_Comm=4',
    '--sizeof_MPI_Fint=4',

    '-PETSC_ARCH=bgl-ibm-essl-O3_440'
    ]

if __name__ == '__main__':
    import configure
    configure.petsc_configure(configure_options)

    # Extra options used for testing locally
    test_options = []
    
