xref: /petsc/config/examples/arch-ci-linux-pkgs-opt.py (revision a336c15037c72f93cd561f5a5e11e93175f2efd9)
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-cudac=0',
9  '--with-debugging=0',
10  #'--with-cc=mpicc.openmpi',
11  #'--with-cxx=mpicxx.openmpi',
12  #'--with-fc=mpif90.openmpi',
13  #'--with-mpiexec=mpiexec.openmpi',
14  '--download-openmpi=https://download.open-mpi.org/release/open-mpi/v4.1/openmpi-4.1.6.tar.bz2', # way too many CI failures with 5.0.5
15  '--download-mpe=1',
16  '--download-fblaslapack=1',
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-triangle-build-exec=1',
25  '--download-superlu=1',
26  '--download-superlu_dist=1',
27  '--download-scalapack=1',
28  '--download-mumps=1',
29  '--download-spai=1',
30  '--download-parms=1',
31  '--download-moab=1',
32  '--download-chaco=1',
33  '--download-fftw=1',
34  '--with-petsc4py=1',
35  '--download-mpi4py=1',
36  '--download-saws',
37  '--download-concurrencykit=1',
38  '--download-revolve=1',
39  '--download-cams=1',
40  '--download-p4est=1',
41  '--with-zlib=1',
42  '--download-mfem=1',
43  '--download-glvis=1',
44  '--with-opengl=1',
45  '--download-libpng=1',
46  '--download-libjpeg=1',
47  '--download-slepc=1',
48  '--with-slepc4py=1',
49  '--download-hpddm=1',
50  '--download-bamg=1',
51  '--download-mmg=1',
52  '--download-parmmg=1',
53  '--download-htool=1',
54  '--download-egads=1',
55  '--download-opencascade=1',
56  '--with-strict-petscerrorcode',
57  '--with-coverage',
58  '--with-devicelanguage=cxx',
59  ]
60
61if __name__ == '__main__':
62  import sys,os
63  sys.path.insert(0,os.path.abspath('config'))
64  import configure
65  configure.petsc_configure(configure_options)
66