File: customize_odyssey.py

package info (click to toggle)
gpaw 1.5.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 14,328 kB
  • sloc: python: 111,596; ansic: 16,082; sh: 1,230; csh: 139; makefile: 56
file content (20 lines) | stat: -rw-r--r-- 802 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
scalapack = True

mklpath ='/n/sw/intel/mkl/10.3.1.107/composerxe-2011.3.174/mkl'
omppath ='/n/sw/openmpi-1.5.3_intel-12.3.174ib'

compiler = 'icc'

libraries = ['mpi', 'mpi_f77', 'mkl_scalapack_lp64', 'mkl_lapack95_lp64', 'mkl_intel_lp64', 'mkl_sequential', 'mkl_mc', 'mkl_core', 'mkl_def', 'mkl_intel_thread', 'iomp5']
library_dirs += ['%s/lib' % omppath, '%s/lib/intel64' % mklpath]
include_dirs += ['/usr/include', '%s/include' % omppath, '%s/include' % mklpath]

extra_link_args += ['%s/lib/intel64/libmkl_blacs_openmpi_lp64.a' % mklpath, '%s/lib/intel64/libmkl_blas95_lp64.a' % mklpath]

extra_compile_args += ['-O3', '-std=c99', '-w']

define_macros += [('GPAW_NO_UNDERSCORE_CBLACS', '1')]
define_macros += [('GPAW_NO_UNDERSCORE_CSCALAPACK', '1')]

mpicompiler = 'mpicc'
mpilinker = mpicompiler