File: arch-alcf-aurora.py

package info (click to toggle)
petsc 3.23.1%2Bdfsg1-1exp1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 515,576 kB
  • sloc: ansic: 751,607; cpp: 51,542; python: 38,598; f90: 17,352; javascript: 3,493; makefile: 3,157; sh: 1,502; xml: 619; objc: 445; java: 13; csh: 1
file content (38 lines) | stat: -rwxr-xr-x 1,365 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/usr/bin/python3

# Follow instructions at https://www.alcf.anl.gov/support-center/aurorasunspot/getting-started-aurora
# to set up the proxy settings in your .bashrc and git with SSH protocol in your .ssh/config

# module use /soft/modulefiles
# module load spack-pe-oneapi cmake python
# module load  oneapi/eng-compiler/2023.10.15.002
#
# Currently Loaded Modules:
# 1) gcc/11.2.0            5) spack-pe-gcc/0.5-rc1         9) mpich/52.2-256/icc-all-pmix-gpu
# 2) libfabric/1.15.2.0    6) spack-pe-oneapi/0.5-rc1     10) intel_compute_runtime/release/agama-devel-682.22
# 3) cray-pals/1.2.12      7) cmake/3.26.4-gcc-testing    11) oneapi/eng-compiler/2023.10.15.002
# 4) cray-libpals/1.2.12   8) python/3.10.10-gcc-testing

if __name__ == '__main__':
  import sys
  import os
  sys.path.insert(0, os.path.abspath('config'))
  import configure
  configure_options = [
    '--with-cc=mpicc',
    '--with-cxx=mpicxx',
    '--with-fc=mpifort',
    '--with-debugging=0',
    '--with-mpiexec-tail=gpu_tile_compact.sh',
    '--SYCLPPFLAGS=-Wno-tautological-constant-compare',
    '--with-sycl',
    '--with-syclc=icpx',
    '--with-sycl-arch=pvc',
    '--COPTFLAGS=-O2 -g',
    '--FOPTFLAGS=-O2 -g',
    '--CXXOPTFLAGS=-O2 -g',
    '--SYCLOPTFLAGS=-O2 -g',
    '--download-kokkos',
    '--download-kokkos-kernels',
  ]
  configure.petsc_configure(configure_options)