xref: /petsc/config/examples/arch-ci-mswin-intel.py (revision 31d78bcd2b98084dc1368b20eb1129c8b9fb39fe)
1#!/usr/bin/env python3
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    '--download-fblaslapack=1',
14    '--with-cc=icl',
15    '--with-cxx=icl',
16    '--with-fc=ifort',
17    '--with-mpi-include=[/cygdrive/c/PROGRA~2/MICROS~2/MPI/Include/,/cygdrive/c/PROGRA~2/MICROS~2/MPI/Include/x64]',
18    '--with-mpi-lib=[/cygdrive/c/PROGRA~2/MICROS~2/MPI/lib/x64/msmpifec.lib,/cygdrive/c/PROGRA~2/MICROS~2/MPI/lib/x64/msmpi.lib]',
19    '--with-mpiexec=/cygdrive/c/PROGRA~1/MICROS~2/Bin/mpiexec',
20    '--with-shared-libraries=0',
21    '--with-strict-petscerrorcode',
22  ]
23  configure.petsc_configure(configure_options)
24