xref: /petsc/config/examples/arch-mswin-icx.py (revision f13dfd9ea68e0ddeee984e65c377a1819eab8a8a)
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=icx',
10    '--with-cxx=icx',
11    '--with-fc=ifx',
12    '--with-shared-libraries=0',
13    'FPPFLAGS=-I/cygdrive/c/PROGRA~2/Intel/oneAPI/mpi/latest/include/mpi',
14    '--with-mpi-include=/cygdrive/c/PROGRA~2/Intel/oneAPI/mpi/latest/include',
15    '--with-mpi-lib=/cygdrive/c/PROGRA~2/Intel/oneAPI/mpi/latest/lib/impi.lib',
16    '--with-mpiexec=/cygdrive/c/PROGRA~2/Intel/oneAPI/mpi/latest//bin/mpiexec -localonly',
17  ]
18  configure.petsc_configure(configure_options)
19