#!/sh3/ysuanbase/home/yeesuan14477/anaconda3/bin/python3 if __name__ == "__main__": import sys import os sys.path.insert(0, os.path.abspath("config")) import configure configure_options = [ "--CC=mpiicc", "--CFLAGS=-O3 -qopenmp -qmkl -axCORE-AVX512", "--CXX=mpiicpc", "--CXXFLAGS=-O3 -qopenmp -qmkl -axCORE-AVX512", "--FC=mpiifort", "--FFLAGS=-O3 -qopenmp -qmkl -axCORE-AVX512", "--download-hdf5=externals/hdf5-1.14.3-p1.tar.bz2", "--download-slepc=externals/slepc-v3.22.2.tar.gz", "--download-sowing=externals/petsc-pkg-sowing-8ec17636b4e9.tar.gz", "--with-blaslapack-dir=/sh3/ysuanbase/share/software/public/intel-oneapi-mkl-2021.4.0-tyzzcpsexzuimyioanwactzip7mwxlqf/mkl/2021.4.0", "--with-debugging=0", "--with-mkl_cpardiso-dir=/sh3/ysuanbase/share/software/public/intel-oneapi-mkl-2021.4.0-tyzzcpsexzuimyioanwactzip7mwxlqf/mkl/2021.4.0", "--with-openmp", "--with-openmp-kernels=1", "--with-scalar-type=complex", "PETSC_ARCH=linux-oneapi-complex-opt", ] configure.petsc_configure(configure_options)