xref: /petsc/config/examples/arch-ci-linux-cxx-cmplx-pkgs-64idx.py (revision 8d47944aebcd8a3a8a4a1aebd4b3f440b4d70fab)
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=gcc',
9  '--with-fc=gfortran',
10  '--with-cxx=g++',
11
12  'COPTFLAGS=-g -O0',
13  'FOPTFLAGS=-g -O0',
14  'CXXOPTFLAGS=-g -O0',
15
16  '--with-clanguage=cxx',
17  '--with-scalar-type=complex',
18  '--with-64-bit-indices=1',
19
20  '--download-hypre=1',
21  '--download-mpich=1',
22  '--download-cmake=1',
23  '--download-make=1',
24  '--download-metis=1',
25  '--download-parmetis=1',
26  '--download-pastix=1',
27  '--download-hwloc',
28  '--download-ptscotch=1',
29  '--download-superlu_dist=1',
30  '--download-elemental=1',
31  '--download-p4est=1',
32  '--download-ptscotch',
33  '--download-scalapack',
34  '--download-strumpack',
35  '--with-zlib=1',
36  '--with-coverage=1',
37  '--with-strict-petscerrorcode',
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