1#!/usr/bin/python3 2 3# Follow instructions at https://www.alcf.anl.gov/support-center/aurorasunspot/getting-started-aurora 4# to set up the proxy settings in your .bashrc and git with SSH protocol in your .ssh/config 5 6# module use /soft/modulefiles 7# module load spack-pe-oneapi cmake python 8# module load oneapi/eng-compiler/2023.10.15.002 9# 10# Currently Loaded Modules: 11# 1) gcc/11.2.0 5) spack-pe-gcc/0.5-rc1 9) mpich/52.2-256/icc-all-pmix-gpu 12# 2) libfabric/1.15.2.0 6) spack-pe-oneapi/0.5-rc1 10) intel_compute_runtime/release/agama-devel-682.22 13# 3) cray-pals/1.2.12 7) cmake/3.26.4-gcc-testing 11) oneapi/eng-compiler/2023.10.15.002 14# 4) cray-libpals/1.2.12 8) python/3.10.10-gcc-testing 15 16if __name__ == '__main__': 17 import sys 18 import os 19 sys.path.insert(0, os.path.abspath('config')) 20 import configure 21 configure_options = [ 22 '--with-cc=mpicc', 23 '--with-cxx=mpicxx', 24 '--with-fc=mpifort', 25 '--with-debugging=0', 26 '--with-mpiexec-tail=gpu_tile_compact.sh', 27 '--SYCLPPFLAGS=-Wno-tautological-constant-compare', 28 '--with-sycl', 29 '--with-syclc=icpx', 30 '--with-sycl-arch=pvc', 31 '--COPTFLAGS=-O2 -g', 32 '--FOPTFLAGS=-O2 -g', 33 '--CXXOPTFLAGS=-O2 -g', 34 '--SYCLOPTFLAGS=-O2 -g', 35 '--download-kokkos', 36 '--download-kokkos-kernels', 37 ] 38 configure.petsc_configure(configure_options) 39