xref: /petsc/config/examples/arch-ci-linux-pkgs-64idx.py (revision bcd4bb4a4158aa96f212e9537e87b40407faf83e)
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  'COPTFLAGS=-g -O',
9  'FOPTFLAGS=-g -O',
10  'CXXOPTFLAGS=-g -O',
11  '--with-64-bit-indices=1',
12  '--download-mpich=1', #openmpi gives errors of type: Error: There is no specific subroutine for the generic 'mpi_send'
13  '--download-metis=1',
14  '--download-parmetis=1',
15  '--download-hwloc=1',
16  '--download-pastix=1',
17  '--download-ptscotch=1',
18  '--download-hypre=1',
19  '--download-hypre-configure-arguments=--enable-bigint=no --enable-mixedint=yes', # HYPRE with mixed integers
20  '--download-superlu_dist=1',
21  '--download-mumps=1',
22  '--download-scalapack=1',
23  '--download-suitesparse=1',
24  '--download-p4est=1',
25  '--download-revolve=1',
26  '--download-pflare=1',
27  '--with-zlib=1',
28  '--download-libceed',
29  '--with-blaslapack-dir='+os.environ['MKLROOT'],
30  '--download-slepc=1',
31  '--download-hpddm=1',
32  '--download-triangle=1',
33  '--download-triangle-build-exec=1',
34  '--download-mmg=1',
35  '--with-tau-perfstubs=0',
36  '--with-strict-petscerrorcode',
37  '--with-coverage',
38  ]
39
40if __name__ == '__main__':
41  import sys,os
42  sys.path.insert(0,os.path.abspath('config'))
43  import configure
44  configure.petsc_configure(configure_options)
45