xref: /petsc/config/examples/arch-ci-linux-opt-arm.py (revision 517f4e3460cd8c7e73c19b8bf533f1efe47f30a7)
1*517f4e34SMatthew G. Knepley#!/usr/bin/env python3
2*517f4e34SMatthew G. Knepley
3*517f4e34SMatthew G. Knepleyimport os
4*517f4e34SMatthew G. Knepleypetsc_hash_pkgs=os.path.join(os.getenv('HOME'),'petsc-hash-pkgs')
5*517f4e34SMatthew G. Knepley
6*517f4e34SMatthew G. Knepleyconfigure_options = [
7*517f4e34SMatthew G. Knepley  '--package-prefix-hash='+petsc_hash_pkgs,
8*517f4e34SMatthew G. Knepley  '--with-debugging=0',
9*517f4e34SMatthew G. Knepley  '--with-fortran-kernels=1',
10*517f4e34SMatthew G. Knepley  '--prefix=petsc-install',
11*517f4e34SMatthew G. Knepley  '--with-serialize-functions=1',
12*517f4e34SMatthew G. Knepley  '--download-mpich=1',
13*517f4e34SMatthew G. Knepley  '--download-mpich-device=ch3:sock',
14*517f4e34SMatthew G. Knepley  '--download-mpich-configure-arguments=--enable-error-messages=all --enable-g', # note --enable-g=memit - used by --with-debugging=1 does not help
15*517f4e34SMatthew G. Knepley  '--download-openblas=1',
16*517f4e34SMatthew G. Knepley  '--download-openblas-make-options=TARGET=GENERIC',
17*517f4e34SMatthew G. Knepley  '--download-hypre=1',
18*517f4e34SMatthew G. Knepley  '--download-cmake=1',
19*517f4e34SMatthew G. Knepley  '--download-metis=1',
20*517f4e34SMatthew G. Knepley  '--download-parmetis=1',
21*517f4e34SMatthew G. Knepley  '--download-ptscotch=1',
22*517f4e34SMatthew G. Knepley  '--download-suitesparse=1',
23*517f4e34SMatthew G. Knepley  '--download-triangle=1',
24*517f4e34SMatthew G. Knepley  '--download-superlu=1',
25*517f4e34SMatthew G. Knepley  #'--download-superlu_dist=1', Release 7.2 has MPI leaks
26*517f4e34SMatthew G. Knepley  '--download-scalapack=1',
27*517f4e34SMatthew G. Knepley  '--download-elemental=1',
28*517f4e34SMatthew G. Knepley  #'--download-spai=1', has MPI leaks
29*517f4e34SMatthew G. Knepley  '--download-parms=1',
30*517f4e34SMatthew G. Knepley  '--download-libceed',
31*517f4e34SMatthew G. Knepley  '--download-chaco=1',
32*517f4e34SMatthew G. Knepley  '--with-strict-petscerrorcode',
33*517f4e34SMatthew G. Knepley  '--with-coverage',
34*517f4e34SMatthew G. Knepley  '--with-fortran-bindings-inplace',
35*517f4e34SMatthew G. Knepley  ]
36*517f4e34SMatthew G. Knepley
37*517f4e34SMatthew G. Knepleyif __name__ == '__main__':
38*517f4e34SMatthew G. Knepley  import sys,os
39*517f4e34SMatthew G. Knepley  sys.path.insert(0,os.path.abspath('config'))
40*517f4e34SMatthew G. Knepley  import configure
41*517f4e34SMatthew G. Knepley  configure.petsc_configure(configure_options)
42