<div dir="ltr"><div>Hi all, <br></div><div><br></div><div>I get the following error while trying to compile PETSc version 3.20.1 on Windows</div><div><br></div><div>\petsc\include\petsc/private/cpp/unordered_map.hpp(309): error C2938: 'std::enable_if_t<false,void>' : Failed to specialize alias template</div><div><br></div><div>This is the configuration file I used to compile PETSc</div><div><br></div><div>#!/usr/bin/python<br><br>import os<br>petsc_hash_pkgs=os.path.join(os.getenv('HOME'),'petsc-hash-pkgs')<br><br>oadirf='"/cygdrive/c/Program Files (x86)/Intel/oneAPI"'<br>oadir=os.popen('cygpath -u '+os.popen('cygpath -ms '+oadirf).read()).read().strip()<br>oamkldir=oadir+'/mkl/2022.1.0/lib/intel64'<br>oampidir=oadir+'/mpi/2021.6.0'<br><br>if __name__ == '__main__':<br>  import sys<br>  import os<br>  sys.path.insert(0, os.path.abspath('config'))<br>  import configure<br>  configure_options = [<br>    '--package-prefix-hash='+petsc_hash_pkgs,<br>    '--with-debugging=0',<br>    '--with-shared-libraries=0',<br>    '--with-blaslapack-lib=-L'+oamkldir+' mkl_intel_lp64_dll.lib mkl_sequential_dll.lib mkl_core_dll.lib',<br>    '--with-cc=win32fe cl',<br>    '--with-cxx=win32fe cl',<br>    '--with-fc=win32fe ifort',<br>    'FOPTFLGS=-O3 -fp-model=precise',<br>    '--with-mpi-include='+oampidir+'/include',<br>    '--with-mpi-lib='+oampidir+'/lib/release/impi.lib',<br>    '-with-mpiexec='+oampidir+'/bin/mpiexec -localonly',<br>  ]<br>  configure.petsc_configure(configure_options)</div><div><br></div><div>Regards,</div><div>Maruthi <br></div></div>