xref: /petsc/config/examples/arch-mswin-icx-ifort.py (revision 72673c1577cc96f33bf6e39281f44149b9133e0b)
1#!/usr/bin/python3
2if __name__ == '__main__':
3  import sys
4  import os
5  sys.path.insert(0, os.path.abspath('config'))
6  import configure
7  configure_options = [
8    '--with-blaslapack-lib=-L/cygdrive/c/PROGRA~2/Intel/oneAPI/mkl/latest/lib mkl_intel_lp64_dll.lib mkl_sequential_dll.lib mkl_core_dll.lib',
9    '--with-cc=win32fe icl --use icx',
10    '--with-cxx=win32fe icl --use icx',
11    '--with-fc=win32fe ifort -Qdiag-disable:10448',
12    'FPPFLAGS=-I/cygdrive/c/PROGRA~2/Intel/oneAPI/mpi/latest/include/mpi',
13    '--with-mpi-include=/cygdrive/c/PROGRA~2/Intel/oneAPI/mpi/latest/include',
14    '--with-mpi-lib=/cygdrive/c/PROGRA~2/Intel/oneAPI/mpi/latest/lib/impi.lib',
15    '--with-mpiexec=/cygdrive/c/PROGRA~2/Intel/oneAPI/mpi/latest/bin/mpiexec -localonly',
16  ]
17  configure.petsc_configure(configure_options)
18