xref: /petsc/config/examples/arch-ci-mswin-opt-impi.py (revision ccb4e88a40f0b86eaeca07ff64c64e4de2fae686)
1#!/usr/bin/python
2
3import os
4petsc_hash_pkgs=os.path.join(os.getenv('HOME'),'petsc-hash-pkgs')
5
6if __name__ == '__main__':
7  import sys
8  import os
9  sys.path.insert(0, os.path.abspath('config'))
10  import configure
11  configure_options = [
12    '--package-prefix-hash='+petsc_hash_pkgs,
13    '--with-debugging=0',
14    '--with-blaslapack-lib=-L/cygdrive/c/PROGRA~2/INTELS~1/COMPIL~2/windows/mkl/lib/intel64 mkl_intel_lp64_dll.lib mkl_sequential_dll.lib mkl_core_dll.lib',
15    '--with-cc=win32fe cl',
16    '--with-cxx=win32fe cl',
17    '--with-fc=win32fe ifort',
18    '--with-mpi-include=/cygdrive/c/PROGRA~2/INTELS~1/mpi/20172~1.187/intel64/include',
19    '--with-mpi-lib=/cygdrive/c/PROGRA~2/INTELS~1/mpi/20172~1.187/intel64/lib/impi.lib',
20    '--with-mpiexec=/cygdrive/c/PROGRA~2/INTELS~1/mpi/20172~1.187/intel64/bin/mpiexec -localonly',
21    '--with-shared-libraries=0',
22  ]
23  configure.petsc_configure(configure_options)
24