xref: /petsc/config/examples/arch-ci-linux-pkgs-opt.py (revision c73d2cf668e6709a5c9d6d1d49ca0c86e2ced9fc)
1#!/usr/bin/env python
2
3import os
4petsc_hash_pkgs=os.path.join(os.getenv('HOME'),'petsc-hash-pkgs')
5if not os.path.isdir(petsc_hash_pkgs): os.mkdir(petsc_hash_pkgs)
6
7configure_options = [
8  '--package-prefix-hash='+petsc_hash_pkgs,
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=1',
15  '--download-fblaslapack=1',
16  '--download-hypre=1',
17  '--download-cmake=1',
18  '--download-metis=1',
19  '--download-parmetis=1',
20  '--download-ptscotch=1',
21  '--download-suitesparse=1',
22  '--download-triangle=1',
23  '--download-superlu=1',
24  '--download-superlu_dist=1',
25  '--download-scalapack=1',
26  '--download-mumps=1',
27  '--download-elemental=1',
28  '--download-spai=1',
29  '--download-parms=1',
30  '--download-moab=1',
31  '--download-chaco=1',
32  '--download-fftw=1',
33  '--download-petsc4py=1',
34  '--download-mpi4py=1',
35  '--download-saws',
36  '--download-concurrencykit=1',
37  '--download-revolve=1',
38  '--download-p4est=1',
39  '--with-zlib=1',
40  '--download-mfem=1',
41  '--download-glvis=1',
42  '--with-opengl=1',
43  '--download-libpng=1',
44  '--download-libjpeg=1',
45  '--download-slepc=1',
46  '--download-hpddm=1'
47  ]
48
49if __name__ == '__main__':
50  import sys,os
51  sys.path.insert(0,os.path.abspath('config'))
52  import configure
53  configure.petsc_configure(configure_options)
54