xref: /petsc/config/examples/arch-ci-linux-pkgs-dbg-ftn-interfaces.py (revision fbf9dbe564678ed6eff1806adbc4c4f01b9743f4)
1#!/usr/bin/env python3
2
3import os
4petsc_hash_pkgs=os.path.join(os.getenv('HOME'),'petsc-hash-pkgs')
5
6configure_options = [
7  '--package-prefix-hash='+petsc_hash_pkgs,
8  '--with-cc=clang',
9  '--with-cxx=clang++',
10  '--with-fc=gfortran',
11  '--with-debugging=1',
12  '--debugLevel=4',
13  'COPTFLAGS=-g -O',
14  'FOPTFLAGS=-g -O',
15  'CXXOPTFLAGS=-g -O',
16  '--download-openmpi=1',
17  '--download-fblaslapack=1',
18  '--with-openmp=1',
19  '--with-threadsafety=1',
20  '--download-hwloc=1',
21  #'--download-hypre=1', disabled as hypre produces wrong results when openmp is enabled
22  #'--download-cmake=1',
23  '--download-metis=1',
24  '--download-parmetis=1',
25  '--download-ptscotch=1',
26  '--download-suitesparse=1',
27  '--download-triangle=1',
28  '--download-superlu=1',
29  #'--download-superlu_dist=1',
30  '--download-scalapack=1',
31  '--download-strumpack=1',
32  '--download-mumps=1',
33  # '--download-elemental=1', # disabled since its maxCxxVersion is c++14, but Kokkos-4.0's minCxxVersion is c++17
34  '--download-spai=1',
35  '--download-parms=1',
36  '--download-kokkos=1',
37  '--download-kokkos-kernels=1',
38  '--with-kokkos-init-warnings=0', # we want to avoid "Kokkos::OpenMP::initialize WARNING: You are likely oversubscribing your CPU cores" in test output
39  '--download-chaco=1',
40  '--with-strict-petscerrorcode',
41  #'--with-coverage',
42  ]
43
44if __name__ == '__main__':
45  import sys,os
46  sys.path.insert(0,os.path.abspath('config'))
47  import configure
48  configure.petsc_configure(configure_options)
49