xref: /petsc/config/examples/arch-ci-linux-gcc-pkgs-opt.py (revision e91c04dfc8a52dee1965211bb1cc8e5bf775178f)
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-clanguage=c',
9  '--with-shared-libraries=yes',
10  '--with-debugging=no',
11  '--download-mpich',
12  '--download-mpich-device=ch3:sock',
13  '--download-metis',
14  '--download-parmetis',
15  '--download-scalapack',
16  '--download-mumps',
17  '--download-zlib',
18  '--download-hdf5',
19  '--download-netcdf',
20  '--download-pnetcdf',
21  '--download-exodusii',
22  '--download-ml',
23  '--download-suitesparse',
24  '--download-triangle',
25  '--download-triangle-build-exec',
26  '--download-cgns',
27  #'--download-chaco', run with hdf5, exodus, but without chaco
28  '--download-ctetgen',
29  '--download-cmake',
30  '--download-amrex',
31  '--download-hypre',
32  '--download-ks',
33  '--download-sprng',
34  '--with-ssl=1',
35  '--with-tau-perfstubs=0',
36  '--with-strict-petscerrorcode',
37  '--with-coverage',
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