1#!/usr/bin/python3 2 3# Follow instructions at https://docs.alcf.anl.gov/aurora/getting-started-on-aurora/#proxy 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 cmake python autoconf 8# 9# Currently Loaded Modules: 10# 1) gcc-runtime/13.3.0-ghotoln (H) 10) yaksa/0.3-7ks5f26 (H) 19) libmd/1.0.4-q6tzwyj (H) 28) abseil-cpp/20240722.0-ck5p27o (H) 11# 2) gmp/6.3.0-mtokfaw (H) 11) mpich/opt/develop-git.6037a7a 20) libbsd/0.12.2-wxndujc (H) 29) c-ares/1.28.1-dqfje2b (H) 12# 3) mpfr/4.2.1-gkcdl5w (H) 12) libfabric/1.22.0 21) expat/2.6.4-7j6nhb6 (H) 30) protobuf/3.28.2 13# 4) mpc/1.3.1-rdrlvsl (H) 13) cray-pals/1.4.0 22) sqlite/3.46.0-w5wc5lh (H) 31) re2/2023-09-01-jnio6ml (H) 14# 5) gcc/13.3.0 14) cray-libpals/1.4.0 23) python/3.10.14 32) grpc/1.66.1-yz5gmcn (H) 15# 6) oneapi/release/2025.0.5 15) bzip2/1.0.8 24) berkeley-db/18.1.40-64t6wec (H) 33) nlohmann-json/3.11.3-hzgyvb2 (H) 16# 7) libiconv/1.17-jjpb4sl (H) 16) gdbm/1.23 25) perl/5.40.0 34) spdlog/1.10.0 17# 8) libxml2/2.13.5 17) gmake/4.4.1 26) autoconf/2.72 18# 9) hwloc/2.11.3-mpich-level-zero 18) cmake/3.30.5 27) fmt/8.1.1 19# 20# Notes: with oneapi/release/2025.0.5, you need to set env var UseKmdMigration=1, otherwise PETSc/Kokkos tests will hang. 21# Intel is working on a fix. 22 23if __name__ == '__main__': 24 import sys 25 import os 26 sys.path.insert(0, os.path.abspath('config')) 27 import configure 28 configure_options = [ 29 '--with-cc=mpicc', 30 '--with-cxx=mpicxx', 31 '--with-fc=mpifort', 32 '--with-debugging=0', 33 '--with-mpiexec-tail=gpu_tile_compact.sh', 34 '--SYCLPPFLAGS=-Wno-tautological-constant-compare', 35 '--with-sycl', 36 '--with-syclc=icpx', 37 '--with-sycl-arch=pvc', 38 '--COPTFLAGS=-O2 -g', 39 '--FOPTFLAGS=-O2 -g', 40 '--CXXOPTFLAGS=-O2 -g', 41 '--SYCLOPTFLAGS=-O2 -g', 42 '--download-kokkos', 43 '--download-kokkos-kernels', 44 '--download-hypre', 45 ] 46 configure.petsc_configure(configure_options) 47