xref: /petsc/config/examples/arch-ci-linux-pkgs-dbg-ftn-interfaces.py (revision d5b43468fb8780a8feea140ccd6fa3e6a50411cc)
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  '--download-hwloc=1',
20  #'--download-hypre=1', disabled as hypre produces wrong results when openmp is enabled
21  #'--download-cmake=1',
22  '--download-metis=1',
23  '--download-parmetis=1',
24  '--download-ptscotch=1',
25  '--download-suitesparse=1',
26  '--download-triangle=1',
27  '--download-superlu=1',
28  '--download-superlu_dist=1',
29  '--download-scalapack=1',
30  '--download-strumpack=1',
31  '--download-mumps=1',
32  '--download-elemental=1',
33  '--download-spai=1',
34  '--download-parms=1',
35  '--download-kokkos=1',
36  '--download-kokkos-kernels=1',
37  '--with-kokkos-init-warnings=0', # we want to avoid "Kokkos::OpenMP::initialize WARNING: You are likely oversubscribing your CPU cores" in test output
38  '--download-chaco=1'
39  ]
40
41if __name__ == '__main__':
42  import sys,os
43  sys.path.insert(0,os.path.abspath('config'))
44  import configure
45  configure.petsc_configure(configure_options)
46