xref: /petsc/config/examples/arch-ci-linux-gcc-pkgs-opt.py (revision ffeef943c8ee50edff320d8a3135bb0c94853e4c)
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-cgns',
26  #'--download-chaco', run with hdf5, exodus, but without chaco
27  '--download-ctetgen',
28  '--download-cmake',
29  '--download-amrex',
30  '--download-hypre',
31  '--download-ks',
32  '--download-sprng',
33  '--with-ssl=1',
34  '--with-tau-perfstubs=0',
35  '--with-strict-petscerrorcode',
36  '--with-coverage',
37]
38
39if __name__ == '__main__':
40  import sys,os
41  sys.path.insert(0,os.path.abspath('config'))
42  import configure
43  configure.petsc_configure(configure_options)
44