xref: /petsc/config/examples/arch-ci-linux-pkgs-dbg-ftn-interfaces.py (revision 030f984af8d8bb4c203755d35bded3c05b3d83ce)
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  '--download-chaco=1'
38  ]
39
40if __name__ == '__main__':
41  import sys,os
42  sys.path.insert(0,os.path.abspath('config'))
43  import configure
44  configure.petsc_configure(configure_options)
45