xref: /petsc/config/examples/arch-ci-linux-opt-arm.py (revision 98d129c30f3ee9fdddc40fdbc5a989b7be64f888)
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-debugging=0',
9  '--with-fortran-kernels=1',
10  '--prefix=petsc-install',
11  '--with-serialize-functions=1',
12  '--download-mpich=1',
13  '--download-mpich-device=ch3:sock',
14  '--download-mpich-configure-arguments=--enable-error-messages=all --enable-g', # note --enable-g=memit - used by --with-debugging=1 does not help
15  '--download-openblas=1',
16  #'--download-openblas-make-options=TARGET=GENERIC',
17  '--download-hypre=1',
18  '--download-cmake=1',
19  '--download-metis=1',
20  '--download-parmetis=1',
21  '--download-ptscotch=1',
22  '--download-suitesparse=1',
23  '--download-triangle=1',
24  '--download-superlu=1',
25  #'--download-superlu_dist=1', Release 7.2 has MPI leaks
26  '--download-scalapack=1',
27  '--download-elemental=1',
28  #'--download-spai=1', has MPI leaks
29  '--download-parms=1',
30  '--download-libceed',
31  '--download-chaco=1',
32  '--with-strict-petscerrorcode',
33  '--with-coverage',
34  '--with-fortran-bindings-inplace',
35  ]
36
37if __name__ == '__main__':
38  import sys,os
39  sys.path.insert(0,os.path.abspath('config'))
40  import configure
41  configure.petsc_configure(configure_options)
42