scalapack = True
compiler = 'gcc43'
libraries = [
    'gfortran', 'goto', 'acml',
    'scalapackmr3', 'scalapack', 'mpiblacsF77init', 'mpiblacs', 'scalapack',
    'mpi','mpi_f77'
    ]
library_dirs = [
    '/opt/openmpi/1.3.3-1.el5.fys.gfortran43.4.3.2/lib64',
    '/opt/goto/1.26/1.el5.fys.gfortran43.4.3.2.smp/lib64',
    '/opt/acml/4.3.0/gfortran4364/lib',
    '/opt/blacs/1.1/24.el5.fys.gfortran43.4.3.2.openmpi.1.3.3/lib64',
    '/opt/scalapack/1.8.0/1.el5.fys.gfortran43.4.3.2.openmpi.1.3.3.goto.1.26.acml.4.3.0/lib64',
    '/opt/PDSYEVRnew/1/1.el5.fys.gfortran43.4.3.2.openmpi.1.3.3.acml.4.3.0.acml.4.3.0/lib64'
    ]
include_dirs += ['/opt/openmpi/1.3.3-1.el5.fys.gfortran43.4.3.2/include']
extra_link_args = [
    '-Wl,-rpath=/opt/openmpi/1.3.3-1.el5.fys.gfortran43.4.3.2/lib64,'
    '-rpath=/opt/goto/1.26/1.el5.fys.gfortran43.4.3.2.smp/lib64,'
    '-rpath=/opt/acml/4.3.0/gfortran4364/lib,'
    '-rpath=/opt/blacs/1.1/24.el5.fys.gfortran43.4.3.2.openmpi.1.3.3/lib64,'
    '-rpath=/opt/scalapack/1.8.0/1.el5.fys.gfortran43.4.3.2.openmpi.1.3.3.goto.1.26.acml.4.3.0/lib64,'
    '-rpath=/opt/PDSYEVRnew/1/1.el5.fys.gfortran43.4.3.2.openmpi.1.3.3.acml.4.3.0.acml.4.3.0/lib64'
    ]
extra_compile_args = ['-O3', '-std=c99', '-funroll-all-loops', '-fPIC']
define_macros += [('GPAW_NO_UNDERSCORE_CBLACS', '1')]
define_macros += [('GPAW_NO_UNDERSCORE_CSCALAPACK', '1')]
define_macros += [('GPAW_MR3', '1')]
mpicompiler = '/opt/openmpi/1.3.3-1.el5.fys.gfortran43.4.3.2/bin/mpicc'
mpilinker = mpicompiler
platform_id = 'opteron'

